Rename feature pack artifacts. Fix empty content directory.

This commit is contained in:
Stan Silvert 2015-04-27 10:16:41 -04:00 committed by Marko Strukelj
parent f0dab97b80
commit a8f3756bbc
125 changed files with 33 additions and 48 deletions

View file

@ -32,7 +32,7 @@
<includeBaseDirectory>false</includeBaseDirectory> <includeBaseDirectory>false</includeBaseDirectory>
<fileSets> <fileSets>
<fileSet> <fileSet>
<directory>target/keycloak-feature-pack-adapter-${project.version}</directory> <directory>target/${project.build.finalName}</directory>
<outputDirectory/> <outputDirectory/>
</fileSet> </fileSet>
</fileSets> </fileSets>

View file

@ -26,7 +26,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<artifactId>feature-pack-adapter</artifactId> <artifactId>keycloak-adapter-feature-pack</artifactId>
<name>Keycloak Feature Pack: Adapter</name> <name>Keycloak Feature Pack: Adapter</name>
<packaging>pom</packaging> <packaging>pom</packaging>
@ -124,7 +124,6 @@
</dependencies> </dependencies>
<build> <build>
<finalName>keycloak-feature-pack-adapter-${project.version}</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
@ -162,7 +161,7 @@
<descriptor>assembly.xml</descriptor> <descriptor>assembly.xml</descriptor>
</descriptors> </descriptors>
<recompressZippedFiles>true</recompressZippedFiles> <recompressZippedFiles>true</recompressZippedFiles>
<finalName>keycloak-feature-pack-adapter-${project.version}</finalName> <finalName>${project.build.finalName}</finalName>
<appendAssemblyId>false</appendAssemblyId> <appendAssemblyId>false</appendAssemblyId>
<outputDirectory>target/</outputDirectory> <outputDirectory>target/</outputDirectory>
<workDirectory>target/assembly/work</workDirectory> <workDirectory>target/assembly/work</workDirectory>

View file

@ -0,0 +1,2 @@
This directory intentionally left empty. The Feature Pack plugin barfs if there is no content
directory. But Git won't save an empty directory. Thus, we need this readme file.

View file

@ -29,7 +29,7 @@
<directory>target</directory> <directory>target</directory>
<outputDirectory/> <outputDirectory/>
<includes> <includes>
<include>${project.artifactId}-${project.version}/**</include> <include>${project.build.finalName}/**</include>
</includes> </includes>
</fileSet> </fileSet>
</fileSets> </fileSets>

View file

@ -26,7 +26,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<artifactId>adapter-only-build</artifactId> <artifactId>keycloak-adapter-only-build</artifactId>
<name>Keycloak WildFly Build: Adapter Only</name> <name>Keycloak WildFly Build: Adapter Only</name>
<packaging>pom</packaging> <packaging>pom</packaging>
@ -34,14 +34,13 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<artifactId>feature-pack-adapter</artifactId> <artifactId>keycloak-adapter-feature-pack</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<type>zip</type> <type>zip</type>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.wildfly.build</groupId> <groupId>org.wildfly.build</groupId>
@ -74,7 +73,7 @@
<descriptor>assembly.xml</descriptor> <descriptor>assembly.xml</descriptor>
</descriptors> </descriptors>
<recompressZippedFiles>true</recompressZippedFiles> <recompressZippedFiles>true</recompressZippedFiles>
<finalName>${project.artifactId}-${project.version}</finalName> <finalName>${project.build.finalName}</finalName>
<appendAssemblyId>false</appendAssemblyId> <appendAssemblyId>false</appendAssemblyId>
<outputDirectory>${project.build.directory}</outputDirectory> <outputDirectory>${project.build.directory}</outputDirectory>
<workDirectory>${project.build.directory}/assembly/work</workDirectory> <workDirectory>${project.build.directory}/assembly/work</workDirectory>

View file

@ -20,6 +20,6 @@
<!-- uncomment wildfly-feature-pack to build against wildfly full instead of wildfly web --> <!-- uncomment wildfly-feature-pack to build against wildfly full instead of wildfly web -->
<!--<feature-pack groupId="org.wildfly" artifactId="wildfly-feature-pack" version="${wildfly9.version}"/>--> <!--<feature-pack groupId="org.wildfly" artifactId="wildfly-feature-pack" version="${wildfly9.version}"/>-->
<feature-pack groupId="org.keycloak" artifactId="feature-pack-adapter" version="${project.version}"/> <feature-pack groupId="org.keycloak" artifactId="keycloak-adapter-feature-pack" version="${project.version}"/>
</feature-packs> </feature-packs>
</server-provisioning> </server-provisioning>

View file

@ -26,7 +26,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<artifactId>adapter-only-dist</artifactId> <artifactId>keycloak-adapter-only-dist</artifactId>
<name>Keycloak WildFly Dist: Adapter Only</name> <name>Keycloak WildFly Dist: Adapter Only</name>
<packaging>pom</packaging> <packaging>pom</packaging>
@ -34,16 +34,12 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<artifactId>feature-pack-adapter</artifactId> <artifactId>keycloak-adapter-feature-pack</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<type>zip</type> <type>zip</type>
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
</build>
<profiles> <profiles>
<profile> <profile>
<id>jboss-release</id> <id>jboss-release</id>

View file

@ -20,6 +20,6 @@
<!-- uncomment wildfly-feature-pack to build against wildfly full instead of wildfly web --> <!-- uncomment wildfly-feature-pack to build against wildfly full instead of wildfly web -->
<!--<feature-pack groupId="org.wildfly" artifactId="wildfly-feature-pack" version="${wildfly9.version}"/>--> <!--<feature-pack groupId="org.wildfly" artifactId="wildfly-feature-pack" version="${wildfly9.version}"/>-->
<feature-pack groupId="org.keycloak" artifactId="feature-pack-adapter" version="${project.version}"/> <feature-pack groupId="org.keycloak" artifactId="keycloak-adapter-feature" version="${project.version}"/>
</feature-packs> </feature-packs>
</server-provisioning> </server-provisioning>

View file

@ -14,7 +14,7 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
<module>feature-pack-adapter</module> <module>adapter-feature-pack</module>
<module>adapter-only-build</module> <module>adapter-only-build</module>
<module>adapter-only-dist</module> <module>adapter-only-dist</module>
</modules> </modules>

View file

@ -26,7 +26,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<artifactId>server-and-adapter-build</artifactId> <artifactId>keycloak-server-and-adapter-build</artifactId>
<name>Keycloak WildFly Build: Server and Adapter</name> <name>Keycloak WildFly Build: Server and Adapter</name>
<packaging>pom</packaging> <packaging>pom</packaging>
@ -34,20 +34,19 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<artifactId>feature-pack-server</artifactId> <artifactId>keycloak-server-feature-pack</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<type>zip</type> <type>zip</type>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<artifactId>feature-pack-adapter</artifactId> <artifactId>keycloak-adapter-feature-pack</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<type>zip</type> <type>zip</type>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.wildfly.build</groupId> <groupId>org.wildfly.build</groupId>

View file

@ -17,7 +17,7 @@
--> -->
<server-provisioning xmlns="urn:wildfly:server-provisioning:1.0"> <server-provisioning xmlns="urn:wildfly:server-provisioning:1.0">
<feature-packs> <feature-packs>
<feature-pack groupId="org.keycloak" artifactId="feature-pack-server" version="${project.version}"/> <feature-pack groupId="org.keycloak" artifactId="keycloak-server-feature-pack" version="${project.version}"/>
<feature-pack groupId="org.keycloak" artifactId="feature-pack-adapter" version="${project.version}"/> <feature-pack groupId="org.keycloak" artifactId="keycloak-adapter-feature-pack" version="${project.version}"/>
</feature-packs> </feature-packs>
</server-provisioning> </server-provisioning>

View file

@ -26,7 +26,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<artifactId>server-and-adapter-dist</artifactId> <artifactId>keycloak-server-and-adapter-dist</artifactId>
<name>Keycloak WildFly Dist: Server and Adapter</name> <name>Keycloak WildFly Dist: Server and Adapter</name>
<packaging>pom</packaging> <packaging>pom</packaging>
@ -34,22 +34,18 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<artifactId>feature-pack-server</artifactId> <artifactId>keycloak-server-feature-pack</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<type>zip</type> <type>zip</type>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<artifactId>feature-pack-adapter</artifactId> <artifactId>keycloak-adapter-feature-pack</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<type>zip</type> <type>zip</type>
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
</build>
<profiles> <profiles>
<profile> <profile>
<id>jboss-release</id> <id>jboss-release</id>

View file

@ -17,7 +17,7 @@
--> -->
<server-provisioning xmlns="urn:wildfly:server-provisioning:1.0" extract-schemas="true" copy-module-artifacts="true"> <server-provisioning xmlns="urn:wildfly:server-provisioning:1.0" extract-schemas="true" copy-module-artifacts="true">
<feature-packs> <feature-packs>
<feature-pack groupId="org.keycloak" artifactId="feature-pack-server" version="${project.version}"/> <feature-pack groupId="org.keycloak" artifactId="keycloak-server-feature-pack" version="${project.version}"/>
<feature-pack groupId="org.keycloak" artifactId="feature-pack-adapter" version="${project.version}"/> <feature-pack groupId="org.keycloak" artifactId="keycloak-adapter-feature-pack" version="${project.version}"/>
</feature-packs> </feature-packs>
</server-provisioning> </server-provisioning>

View file

@ -14,7 +14,7 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
<module>feature-pack-server</module> <module>server-feature-pack</module>
<module>server-only-build</module> <module>server-only-build</module>
<module>server-only-dist</module> <module>server-only-dist</module>
</modules> </modules>

View file

@ -25,7 +25,7 @@
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>feature-pack-server</artifactId> <artifactId>keycloak-server-feature-pack</artifactId>
<name>Keycloak Feature Pack: Server</name> <name>Keycloak Feature Pack: Server</name>
<packaging>pom</packaging> <packaging>pom</packaging>
@ -72,7 +72,6 @@
</dependencies> </dependencies>
<build> <build>
<finalName>keycloak-feature-pack-server-${project.version}</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>

Some files were not shown because too many files have changed in this diff Show more