Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
RAVE-59: Create automation for building of demo package
Browse files Browse the repository at this point in the history
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

git-svn-id: https://svn.apache.org/repos/asf/incubator/rave/trunk@1135663 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
ate committed Jun 14, 2011
1 parent 3835513 commit b6d1509
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pom.xml
Expand Up @@ -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>
25 changes: 25 additions & 0 deletions rave-portal/pom.xml
Expand Up @@ -286,5 +286,30 @@ if needed you can specify it on the command line with -Djavaagent="..." -->
</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>

0 comments on commit b6d1509

Please sign in to comment.