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