Author: ilgrosso Date: Mon Mar 18 08:08:01 2013 New Revision: 1457668 URL: http://svn.apache.org/r1457668 Log: skipTests profile backported to 1_0_X
Modified: syncope/branches/1_0_X/console/pom.xml syncope/branches/1_0_X/core/pom.xml syncope/branches/1_0_X/parent/pom.xml syncope/branches/1_0_X/pom.xml Modified: syncope/branches/1_0_X/console/pom.xml URL: http://svn.apache.org/viewvc/syncope/branches/1_0_X/console/pom.xml?rev=1457668&r1=1457667&r2=1457668&view=diff ============================================================================== --- syncope/branches/1_0_X/console/pom.xml (original) +++ syncope/branches/1_0_X/console/pom.xml Mon Mar 18 08:08:01 2013 @@ -358,6 +358,78 @@ under the License. <profiles> + <profile> + <id>skipTests</id> + <properties> + <javaagent/> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <inherited>true</inherited> + <executions> + <execution> + <id>set-bundles</id> + <phase>none</phase> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <inherited>true</inherited> + <executions> + <execution> + <id>explodeSyncopeWAR</id> + <phase>none</phase> + </execution> + <execution> + <id>setupCSV</id> + <phase>none</phase> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <inherited>true</inherited> + <configuration> + <skipTests>${skipTests}</skipTests> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-failsafe-plugin</artifactId> + <inherited>true</inherited> + <configuration> + <skipTests>${skipTests}</skipTests> + </configuration> + </plugin> + + <plugin> + <groupId>org.codehaus.cargo</groupId> + <artifactId>cargo-maven2-plugin</artifactId> + <inherited>true</inherited> + <executions> + <execution> + <id>start-container</id> + <phase>none</phase> + </execution> + <execution> + <id>stop-container</id> + <phase>none</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> <id>dev</id> <properties> Modified: syncope/branches/1_0_X/core/pom.xml URL: http://svn.apache.org/viewvc/syncope/branches/1_0_X/core/pom.xml?rev=1457668&r1=1457667&r2=1457668&view=diff ============================================================================== --- syncope/branches/1_0_X/core/pom.xml (original) +++ syncope/branches/1_0_X/core/pom.xml Mon Mar 18 08:08:01 2013 @@ -626,6 +626,72 @@ under the License. <profiles> <profile> + <id>skipTests</id> + + <properties> + <javaagent/> + </properties> + + <dependencies> + <dependency> + <groupId>com.h2database</groupId> + <artifactId>h2</artifactId> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <inherited>true</inherited> + <configuration> + <skipTests>${skipTests}</skipTests> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-failsafe-plugin</artifactId> + <inherited>true</inherited> + <configuration> + <skipTests>${skipTests}</skipTests> + </configuration> + </plugin> + + <plugin> + <groupId>org.codehaus.cargo</groupId> + <artifactId>cargo-maven2-plugin</artifactId> + <inherited>true</inherited> + <configuration> + <deployables> + <deployable> + <location>${project.build.directory}/${project.build.finalName}.war</location> + </deployable> + </deployables> + </configuration> + <executions> + <execution> + <id>install-container</id> + <phase>package</phase> + <goals> + <goal>install</goal> + </goals> + </execution> + <execution> + <id>start-container</id> + <phase>none</phase> + </execution> + <execution> + <id>stop-container</id> + <phase>none</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + + <profile> <id>dev</id> <properties> <waitForCheck>true</waitForCheck> Modified: syncope/branches/1_0_X/parent/pom.xml URL: http://svn.apache.org/viewvc/syncope/branches/1_0_X/parent/pom.xml?rev=1457668&r1=1457667&r2=1457668&view=diff ============================================================================== --- syncope/branches/1_0_X/parent/pom.xml (original) +++ syncope/branches/1_0_X/parent/pom.xml Mon Mar 18 08:08:01 2013 @@ -1102,6 +1102,20 @@ under the License. <module>../hibernate-enhancer</module> </modules> </profile> + + <profile> + <id>skipTests</id> + + <properties> + <skipTests>true</skipTests> + </properties> + + <modules> + <module>../quality</module> + <module>../archetype</module> + <module>../hibernate-enhancer</module> + </modules> + </profile> <profile> <id>site</id> Modified: syncope/branches/1_0_X/pom.xml URL: http://svn.apache.org/viewvc/syncope/branches/1_0_X/pom.xml?rev=1457668&r1=1457667&r2=1457668&view=diff ============================================================================== --- syncope/branches/1_0_X/pom.xml (original) +++ syncope/branches/1_0_X/pom.xml Mon Mar 18 08:08:01 2013 @@ -146,5 +146,14 @@ under the License. <module>hibernate-enhancer</module> </modules> </profile> + + <profile> + <id>skipTests</id> + + <build> + <defaultGoal>clean install</defaultGoal> + </build> + </profile> + </profiles> </project>