Explicitly define the dependency for unpacking in js-adapter-zip.

This makes it visible to append-product-licenses.groovy and other plugins.
This commit is contained in:
Alex Szczuczko 2017-09-20 16:39:08 -06:00 committed by Stian Thorgersen
parent f88b3cddb6
commit e360aadcd4

View file

@ -31,6 +31,10 @@
<description/>
<dependencies>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-js-adapter</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
@ -42,17 +46,14 @@
<id>unpack</id>
<phase>prepare-package</phase>
<goals>
<goal>unpack</goal>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-js-adapter</artifactId>
<outputDirectory>${project.build.directory}/unpacked/js-adapter</outputDirectory>
<includes>*.js,*.map,*.d.ts</includes>
</artifactItem>
</artifactItems>
<excludeTransitive>true</excludeTransitive>
<includeGroupIds>org.keycloak</includeGroupIds>
<includeArtifactIds>keycloak-js-adapter</includeArtifactIds>
<outputDirectory>${project.build.directory}/unpacked/js-adapter</outputDirectory>
<includes>*.js,*.map,*.d.ts</includes>
<excludes>**/welcome-content/*</excludes>
</configuration>
</execution>