rave-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1135663 - in /incubator/rave/trunk: pom.xml rave-portal/pom.xml
Date Tue, 14 Jun 2011 15:59:24 GMT
Author: ate
Date: Tue Jun 14 15:59:24 2011
New Revision: 1135663

URL: http://svn.apache.org/viewvc?rev=1135663&view=rev
Log:
RAVE-59: Create automation for building of demo package
See: http://issues.apache.org/jira/browse/RAVE-59
- Intermediate commit:
  - adding a "dist" profile to automate the building (run with mvn -P dist from rave-project)
    - enforce maven-clean-plugin to execute to ensure cleanly build artifacts and demo packages

    - ensure default goal maven install to get rave-shindig and rave-portal properly build
and (locally) installed first
    - execute cargo:configure and cargo:package during/after rave-portal install 
- Still to do:
  - add an maven assembly configuration to add additional needed configuration files (overrides)
and docs in the demo package
  - execute maven assembly plugin to build the final package

Modified:
    incubator/rave/trunk/pom.xml
    incubator/rave/trunk/rave-portal/pom.xml

Modified: incubator/rave/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/pom.xml?rev=1135663&r1=1135662&r2=1135663&view=diff
==============================================================================
--- incubator/rave/trunk/pom.xml (original)
+++ incubator/rave/trunk/pom.xml Tue Jun 14 15:59:24 2011
@@ -335,4 +335,26 @@
         <module>rave-portal</module>
     </modules>
 
+    <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>
+    
 </project>

Modified: incubator/rave/trunk/rave-portal/pom.xml
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal/pom.xml?rev=1135663&r1=1135662&r2=1135663&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal/pom.xml (original)
+++ incubator/rave/trunk/rave-portal/pom.xml Tue Jun 14 15:59:24 2011
@@ -286,5 +286,30 @@ if needed you can specify it on the comm
             </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</id>
+                    <phase>install</phase>
+                    <goals> 
+                      <goal>configure</goal>
+                      <goal>package</goal>
+                    </goals>
+                  </execution>
+                </executions>
+              </plugin>
+          </plugins>
+        </build>
+      </profile>
+    </profiles>
 
 </project>



Mime
View raw message