Author: ivol
Date: Tue Oct 12 15:35:14 2010
New Revision: 159
Log:
AMDATU-34 Added amdatu-release to reactor and associated building the release
with the 'build-release' profile
Modified:
trunk/amdatu-release/pom.xml
trunk/pom.xml
Modified: trunk/amdatu-release/pom.xml
==============================================================================
--- trunk/amdatu-release/pom.xml (original)
+++ trunk/amdatu-release/pom.xml Tue Oct 12 15:35:14 2010
@@ -16,12 +16,14 @@
<artifactId>dashboard</artifactId>
<version>${platform.version}</version>
<scope>compile</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.application</groupId>
<artifactId>gadgetmanagement</artifactId>
<version>${platform.version}</version>
<scope>compile</scope>
+ <type>bundle</type>
</dependency>
<!-- Example bundles -->
@@ -30,18 +32,21 @@
<artifactId>course-gadget</artifactId>
<version>${platform.version}</version>
<scope>compile</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.example</groupId>
<artifactId>course-service</artifactId>
<version>${platform.version}</version>
<scope>compile</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.example</groupId>
<artifactId>friends-gadget</artifactId>
<version>${platform.version}</version>
<scope>compile</scope>
+ <type>bundle</type>
</dependency>
<!-- Gadget bundles -->
@@ -50,12 +55,14 @@
<artifactId>login</artifactId>
<version>${platform.version}</version>
<scope>compile</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.gadget</groupId>
<artifactId>sparqlendpoint</artifactId>
<version>${platform.version}</version>
<scope>compile</scope>
+ <type>bundle</type>
</dependency>
<!-- Platform bundles -->
@@ -64,78 +71,91 @@
<artifactId>authorization</artifactId>
<version>${platform.version}</version>
<scope>compile</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.platform</groupId>
<artifactId>cassandra-application</artifactId>
<version>${platform.version}</version>
<scope>runtime</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.platform</groupId>
<artifactId>cassandra-listener</artifactId>
<version>${platform.version}</version>
<scope>runtime</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.platform</groupId>
<artifactId>cassandra-persistencemanager</artifactId>
<version>${platform.version}</version>
<scope>runtime</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.platform</groupId>
<artifactId>config-template-manager</artifactId>
<version>${platform.version}</version>
<scope>runtime</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.platform</groupId>
<artifactId>httpcontext</artifactId>
<version>${platform.version}</version>
<scope>runtime</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.platform</groupId>
<artifactId>loghandler</artifactId>
<version>${platform.version}</version>
<scope>runtime</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.platform</groupId>
<artifactId>profile-service</artifactId>
<version>${platform.version}</version>
<scope>runtime</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.platform</groupId>
<artifactId>sesame-application</artifactId>
<version>${platform.version}</version>
<scope>runtime</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.platform</groupId>
<artifactId>shindig-application</artifactId>
<version>${platform.version}</version>
<scope>runtime</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.platform</groupId>
<artifactId>tenant-service</artifactId>
<version>${platform.version}</version>
<scope>runtime</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.platform</groupId>
<artifactId>useradmin-cassandra-store</artifactId>
<version>${platform.version}</version>
<scope>runtime</scope>
+ <type>bundle</type>
</dependency>
<dependency>
<groupId>org.amdatu.platform</groupId>
<artifactId>wink-application</artifactId>
<version>${platform.version}</version>
<scope>runtime</scope>
+ <type>bundle</type>
</dependency>
<!-- System bundles -->
@@ -249,28 +269,36 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-5</version>
- <executions>
- <execution>
- <id>create-release</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <descriptors>
- <descriptor>src/main/assembly/bin-release.xml</descriptor>
- <descriptor>src/main/assembly/src-release.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>build-release</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-5</version>
+ <executions>
+ <execution>
+ <id>create-release</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/bin-release.xml</descriptor>
+ <descriptor>src/main/assembly/src-release.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
Modified: trunk/pom.xml
==============================================================================
--- trunk/pom.xml (original)
+++ trunk/pom.xml Tue Oct 12 15:35:14 2010
@@ -178,6 +178,7 @@
<!-- Modules are configured in different modules (see below) -->
<modules>
+ <module>amdatu-release</module>
<module>platform-bundles</module>
<module>application-bundles</module>
<module>gadget-bundles</module>