Author: jasha
Date: Sat Dec 29 14:11:29 2012
New Revision: 1426766
URL: http://svn.apache.org/viewvc?rev=1426766&view=rev
Log:
Cleaning up the poms. Exclude LDAP dependencies because they're not being used
in the vanilla configuration
Modified:
rave/sandbox/rave-extensions/rave-vanilla-extension/pom.xml
rave/sandbox/rave-extensions/rave-vanilla-extension/rave-vanilla-extension-portal/pom.xml
Modified: rave/sandbox/rave-extensions/rave-vanilla-extension/pom.xml
URL:
http://svn.apache.org/viewvc/rave/sandbox/rave-extensions/rave-vanilla-extension/pom.xml?rev=1426766&r1=1426765&r2=1426766&view=diff
==============================================================================
--- rave/sandbox/rave-extensions/rave-vanilla-extension/pom.xml (original)
+++ rave/sandbox/rave-extensions/rave-vanilla-extension/pom.xml Sat Dec 29
14:11:29 2012
@@ -70,28 +70,6 @@
</repository>
</repositories>
- <profiles>
- <profile>
- <id>dist</id>
- <build>
- <defaultGoal>install</defaultGoal>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <executions>
- <execution>
- <phase>validate</phase>
- <goals>
- <goal>clean</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
<build>
<defaultGoal>install</defaultGoal>
<pluginManagement>
@@ -108,7 +86,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
- <version>2.1.1</version>
+ <version>2.3</version>
</plugin>
<plugin>
<groupId>com.googlecode.mavenfilesync</groupId>
Modified:
rave/sandbox/rave-extensions/rave-vanilla-extension/rave-vanilla-extension-portal/pom.xml
URL:
http://svn.apache.org/viewvc/rave/sandbox/rave-extensions/rave-vanilla-extension/rave-vanilla-extension-portal/pom.xml?rev=1426766&r1=1426765&r2=1426766&view=diff
==============================================================================
---
rave/sandbox/rave-extensions/rave-vanilla-extension/rave-vanilla-extension-portal/pom.xml
(original)
+++
rave/sandbox/rave-extensions/rave-vanilla-extension/rave-vanilla-extension-portal/pom.xml
Sat Dec 29 14:11:29 2012
@@ -20,37 +20,37 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>rave-vanilla-extension</artifactId>
- <groupId>org.apache.rave</groupId>
- <version>0.19-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>rave-vanilla-extension-portal</artifactId>
- <name>Apache Rave :: rave-vanilla-extension-portal</name>
- <description>Apache Rave Project Custom Portal</description>
-
- <packaging>war</packaging>
-
- <properties>
- <cargo.version>1.3.1</cargo.version>
- <!-- if you want a remote debugging on a different a address
-override on command line with -Dcargo.debug.addres=xxxx -->
- <cargo.debug.address>8000</cargo.debug.address>
- <!-- if you want to start remote debugging session suspended
-override on command line with -Dcargo.debug.suspend=y -->
- <cargo.debug.suspend>n</cargo.debug.suspend>
- <cargo.args />
- </properties>
+ <parent>
+ <artifactId>rave-vanilla-extension</artifactId>
+ <groupId>org.apache.rave</groupId>
+ <version>0.19-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>rave-vanilla-extension-portal</artifactId>
+ <name>Apache Rave :: rave-vanilla-extension-portal</name>
+ <description>Apache Rave Project Custom Portal</description>
+
+ <packaging>war</packaging>
+
+ <properties>
+ <cargo.version>1.3.1</cargo.version>
+ <!-- if you want a remote debugging on a different a address
+ override on command line with -Dcargo.debug.addres=xxxx -->
+ <cargo.debug.address>8000</cargo.debug.address>
+ <!-- if you want to start remote debugging session suspended
+ override on command line with -Dcargo.debug.suspend=y -->
+ <cargo.debug.suspend>n</cargo.debug.suspend>
+ <cargo.args/>
+ </properties>
<dependencyManagement>
<dependencies>
<!--
- spring-security-web 3.1.0.RELEASE has dependencies on some
spring 3.0.6.RELEASE jars,
+ spring-security-web has dependencies on older spring
3.0.x.RELEASE jars,
one of which is spring-aop. This causes some initialization
issues so ensure that the spring-aop
- version used is 3.1.0.RELEASE
+ version used is the desired version
-->
<dependency>
<groupId>org.springframework</groupId>
@@ -60,318 +60,332 @@ override on command line with -Dcargo.de
</dependencies>
</dependencyManagement>
- <dependencies>
+ <dependencies>
- <!-- servlet-api, jsp-api and el-api api must be scope provided -->
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>${javax.servlet.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <version>${jsp-api.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- <version>${el-api.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <!-- Exclude commons-logging by adding it as a provided dependency -->
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1.1</version>
- <scope>provided</scope>
- </dependency>
-
- <!-- fore junit dependency on scope test -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.easymock</groupId>
- <artifactId>easymock</artifactId>
- <version>${easymock.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <version>${org.springframework.version}</version>
- <scope>test</scope>
- </dependency>
-
-
- <!-- Ensure/enforce proper version for commons-lang, not relying on
transitive dependencies -->
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>${commons-lang.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.rave</groupId>
- <artifactId>rave-portal-dependencies</artifactId>
- <type>pom</type>
- <version>${apache.rave.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.rave</groupId>
- <artifactId>rave-portal-resources</artifactId>
- <type>war</type>
- <version>${apache.rave.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.rave</groupId>
- <artifactId>rave-vanilla-extension-shindig</artifactId>
- <type>war</type>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.wookie</groupId>
- <artifactId>wookie</artifactId>
- <type>war</type>
- <version>${apache.wookie.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.rave</groupId>
- <artifactId>rave-demo-gadgets</artifactId>
- <type>war</type>
- <version>${apache.rave.version}</version>
- <scope>provided</scope>
- </dependency>
-
-
- <!-- Default database -->
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>${com.h2database.version}</version>
- </dependency>
-
- <!-- log4j logging -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>${org.slf4j.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>${log4j.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <!-- mail -->
- <dependency>
- <groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
- <version>${javax.mail.version}</version>
- </dependency>
- </dependencies>
-
-
- <build>
- <defaultGoal>install</defaultGoal>
- <finalName>rave-vanilla-extension-portal</finalName>
- <plugins>
- <plugin>
- <groupId>com.googlecode.mavenfilesync</groupId>
- <artifactId>maven-filesync-plugin</artifactId>
- <configuration>
- <mappings>
- <mapping>
- <sourceFolder>src/main/webapp</sourceFolder>
-
<destinationFolder>@target/tomcat6x/webapps/portal</destinationFolder>
- </mapping>
- <mapping>
- <sourceFolder>src/main/resources</sourceFolder>
-
<destinationFolder>@target/tomcat6x/webapps/portal/WEB-INF/classes</destinationFolder>
- </mapping>
- </mappings>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <configuration>
- <overlays>
- <overlay>
- <groupId>org.apache.rave</groupId>
- <artifactId>rave-portal-resources</artifactId>
- <!-- Example exclusions for files we overrides
- This isn't technically required (as we overlay) but made
explicit this way
- -->
- <excludes>
- <exclude>WEB-INF/applicationContext-security.xml</exclude>
- <exclude>WEB-INF/xml</exclude>
- </excludes>
- </overlay>
- </overlays>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.cargo</groupId>
- <artifactId>cargo-maven2-plugin</artifactId>
- <version>${cargo.version}</version>
- <configuration>
- <deployables>
- <deployable>
- <groupId>org.apache.rave</groupId>
- <artifactId>rave-vanilla-extension-shindig</artifactId>
- <type>war</type>
- <properties>
- <context>/ROOT</context>
- </properties>
- </deployable>
- <deployable>
- <groupId>org.apache.rave</groupId>
- <artifactId>rave-demo-gadgets</artifactId>
- <type>war</type>
- <!-- I tried giving this name gagdets and it did not
work. -->
- <properties>
- <context>/demogadgets</context>
- </properties>
- </deployable>
- <deployable>
- <groupId>org.apache.rave</groupId>
- <artifactId>rave-vanilla-extension-portal</artifactId>
- <type>war</type>
- <properties>
- <context>/portal</context>
- </properties>
- </deployable>
- <deployable>
- <groupId>org.apache.wookie</groupId>
- <artifactId>wookie</artifactId>
- <type>war</type>
- <properties>
- <context>/wookie</context>
- </properties>
- </deployable>
- </deployables>
- <configuration>
- <properties>
- <cargo.jvmargs>
- <![CDATA[-Dh2.bindAddress="localhost" -Xdebug
-Xrunjdwp:transport=dt_socket,address=${cargo.debug.address},server=y,suspend=${cargo.debug.suspend}
-noverify ${javaagent} ${cargo.args}]]>
- </cargo.jvmargs>
-
<cargo.tomcat.context.reloadable>true</cargo.tomcat.context.reloadable>
- </properties>
- <home>${project.build.directory}/tomcat6x</home>
- <configfiles>
- <configfile>
-
<file>${project.basedir}/../rave-vanilla-extension-portal/src/main/dist/conf/tomcat-users.xml</file>
- <todir>conf/</todir>
- <tofile>tomcat-users.xml</tofile>
- </configfile>
- </configfiles>
- </configuration>
- <container>
- <containerId>tomcat6x</containerId>
- <timeout>180000</timeout>
- <zipUrlInstaller>
-
<downloadDir>${settings.localRepository}/org/codehaus/cargo/cargo-container-archives</downloadDir>
- <url>
-
http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.35/bin/apache-tomcat-6.0.35.tar.gz
- </url>
- </zipUrlInstaller>
- <systemProperties>
-
<net.sf.ehcache.skipUpdateCheck>true</net.sf.ehcache.skipUpdateCheck>
- <!-- un-comment following property for: Loading the
SizeOfAgent will probably fail,
- as you are running on Apple OS X and have a value
set for java.io.tmpdir -->
- <!--
<net.sf.ehcache.pool.sizeof.AgentSizeOf.bypass>true</net.sf.ehcache.pool.sizeof.AgentSizeOf.bypass>
-->
-
- <!-- Documentation:
http://incubator.apache.org/rave/documentation/host-configuration.html -->
- <!--
-
<portal.override.properties>/path/to/custom.portal.properties</portal.override.properties>
-
<rave-shindig.override.properties>/path/to/custom.shindig.properties</rave-shindig.override.properties>
- <shindig.host>localhost</shindig.host>
- <shindig.port>8080</shindig.port>
- <shindig.contextroot />
- -->
- </systemProperties>
- </container>
- </configuration>
- </plugin>
-
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>dist</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.cargo</groupId>
- <artifactId>cargo-maven2-plugin</artifactId>
- <version>${cargo.version}</version>
- <executions>
- <execution>
- <id>dist-cargo-package</id>
- <phase>install</phase>
- <goals>
- <goal>configure</goal>
- <goal>package</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2.1</version>
- <configuration>
- <!-- Do not attach the resulting artifact(s) to the
project (e.g. do not deploy) -->
- <attach>false</attach>
- <!-- Override finalName -->
- <finalName>rave-${project.version}</finalName>
- <!-- Workaround for
http://jira.codehaus.org/browse/MASSEMBLY-449 -->
- <archiverConfig>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- <defaultDirectoryMode>0755</defaultDirectoryMode>
- </archiverConfig>
- </configuration>
- <executions>
- <execution>
- <id>dist-assembly</id>
- <phase>install</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
-
<finalName>apache-rave-vanilla-extension-${project.version}</finalName>
- <descriptors>
-
<descriptor>${project.basedir}/src/main/assembly/distbin.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
+ <!-- servlet-api, jsp-api and el-api api must be scope provided -->
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>${jsp-api.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <version>${el-api.version}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- Exclude commons-logging by adding it as a provided dependency -->
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.1.1</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- fore junit dependency on scope test -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${junit.version}</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.easymock</groupId>
+ <artifactId>easymock</artifactId>
+ <version>${easymock.version}</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-test</artifactId>
+ <version>${org.springframework.version}</version>
+ <scope>test</scope>
+ </dependency>
+
+
+ <!-- Ensure/enforce proper version for commons-lang, not relying on
transitive dependencies -->
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>${commons-lang.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.rave</groupId>
+ <artifactId>rave-portal-dependencies</artifactId>
+ <type>pom</type>
+ <version>${apache.rave.version}</version>
+ <!-- exclude the LDAP integration (not used in the extension) -->
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.directory.server</groupId>
+ <artifactId>apacheds-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-ldap</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.rave</groupId>
+ <artifactId>rave-portal-resources</artifactId>
+ <type>war</type>
+ <version>${apache.rave.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.rave</groupId>
+ <artifactId>rave-vanilla-extension-shindig</artifactId>
+ <type>war</type>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.wookie</groupId>
+ <artifactId>wookie</artifactId>
+ <type>war</type>
+ <version>${apache.wookie.version}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.rave</groupId>
+ <artifactId>rave-demo-gadgets</artifactId>
+ <type>war</type>
+ <version>${apache.rave.version}</version>
+ <scope>provided</scope>
+ </dependency>
+
+
+ <!-- Default database -->
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>${com.h2database.version}</version>
+ </dependency>
+
+ <!-- log4j logging -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>${org.slf4j.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>${log4j.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <!-- mail -->
+ <dependency>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ <version>${javax.mail.version}</version>
+ </dependency>
+ </dependencies>
+
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <finalName>rave-vanilla-extension-portal</finalName>
+ <plugins>
+ <plugin>
+ <groupId>com.googlecode.mavenfilesync</groupId>
+ <artifactId>maven-filesync-plugin</artifactId>
+ <configuration>
+ <mappings>
+ <mapping>
+ <sourceFolder>src/main/webapp</sourceFolder>
+
<destinationFolder>@target/tomcat6x/webapps/portal</destinationFolder>
+ </mapping>
+ <mapping>
+ <sourceFolder>src/main/resources</sourceFolder>
+
<destinationFolder>@target/tomcat6x/webapps/portal/WEB-INF/classes</destinationFolder>
+ </mapping>
+ </mappings>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <overlays>
+ <overlay>
+ <groupId>org.apache.rave</groupId>
+ <artifactId>rave-portal-resources</artifactId>
+ <!-- Example exclusions for files we overrides
+ This isn't technically required (as we
overlay) but made explicit this way
+ -->
+ <excludes>
+
<exclude>WEB-INF/applicationContext-security.xml</exclude>
+ <exclude>WEB-INF/xml</exclude>
+ </excludes>
+ </overlay>
+ </overlays>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <version>${cargo.version}</version>
+ <configuration>
+ <deployables>
+ <deployable>
+ <groupId>org.apache.rave</groupId>
+
<artifactId>rave-vanilla-extension-shindig</artifactId>
+ <type>war</type>
+ <properties>
+ <context>/ROOT</context>
+ </properties>
+ </deployable>
+ <deployable>
+ <groupId>org.apache.rave</groupId>
+ <artifactId>rave-demo-gadgets</artifactId>
+ <type>war</type>
+ <!-- I tried giving this name gagdets and it did
not work. -->
+ <properties>
+ <context>/demogadgets</context>
+ </properties>
+ </deployable>
+ <deployable>
+ <groupId>org.apache.rave</groupId>
+
<artifactId>rave-vanilla-extension-portal</artifactId>
+ <type>war</type>
+ <properties>
+ <context>/portal</context>
+ </properties>
+ </deployable>
+ <deployable>
+ <groupId>org.apache.wookie</groupId>
+ <artifactId>wookie</artifactId>
+ <type>war</type>
+ <properties>
+ <context>/wookie</context>
+ </properties>
+ </deployable>
+ </deployables>
+ <configuration>
+ <properties>
+ <cargo.jvmargs>
+ <![CDATA[-Dh2.bindAddress="localhost" -Xdebug
-Xrunjdwp:transport=dt_socket,address=${cargo.debug.address},server=y,suspend=${cargo.debug.suspend}
-noverify ${javaagent} ${cargo.args}]]>
+ </cargo.jvmargs>
+
<cargo.tomcat.context.reloadable>true</cargo.tomcat.context.reloadable>
+ </properties>
+ <home>${project.build.directory}/tomcat6x</home>
+ <configfiles>
+ <configfile>
+ <file>
+
${project.basedir}/../rave-vanilla-extension-portal/src/main/dist/conf/tomcat-users.xml
+ </file>
+ <todir>conf/</todir>
+ <tofile>tomcat-users.xml</tofile>
+ </configfile>
+ </configfiles>
+ </configuration>
+ <container>
+ <containerId>tomcat6x</containerId>
+ <timeout>180000</timeout>
+ <zipUrlInstaller>
+
<downloadDir>${settings.localRepository}/org/codehaus/cargo/cargo-container-archives
+ </downloadDir>
+ <url>
+
http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.35/bin/apache-tomcat-6.0.35.tar.gz
+ </url>
+ </zipUrlInstaller>
+ <systemProperties>
+
<net.sf.ehcache.skipUpdateCheck>true</net.sf.ehcache.skipUpdateCheck>
+ <!-- un-comment following property for: Loading
the SizeOfAgent will probably fail,
+ as you are running on Apple OS X and have a
value set for java.io.tmpdir -->
+ <!--
<net.sf.ehcache.pool.sizeof.AgentSizeOf.bypass>true</net.sf.ehcache.pool.sizeof.AgentSizeOf.bypass>
-->
+
+ <!-- Documentation:
http://incubator.apache.org/rave/documentation/host-configuration.html -->
+ <!--
+
<portal.override.properties>/path/to/custom.portal.properties</portal.override.properties>
+
<rave-shindig.override.properties>/path/to/custom.shindig.properties</rave-shindig.override.properties>
+ <shindig.host>localhost</shindig.host>
+ <shindig.port>8080</shindig.port>
+ <shindig.contextroot />
+ -->
+ </systemProperties>
+ </container>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>dist</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <version>${cargo.version}</version>
+ <executions>
+ <execution>
+ <id>dist-cargo-package</id>
+ <phase>install</phase>
+ <goals>
+ <goal>configure</goal>
+ <goal>package</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2.1</version>
+ <configuration>
+ <!-- Do not attach the resulting artifact(s) to
the project (e.g. do not deploy) -->
+ <attach>false</attach>
+ <!-- Override finalName -->
+ <finalName>rave-${project.version}</finalName>
+ <!-- Workaround for
http://jira.codehaus.org/browse/MASSEMBLY-449 -->
+ <archiverConfig>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+
<defaultDirectoryMode>0755</defaultDirectoryMode>
+ </archiverConfig>
+ </configuration>
+ <executions>
+ <execution>
+ <id>dist-assembly</id>
+ <phase>install</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+
<finalName>apache-rave-vanilla-extension-${project.version}</finalName>
+ <descriptors>
+
<descriptor>${project.basedir}/src/main/assembly/distbin.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>