diff options
author | Olivier Lamy <olamy@apache.org> | 2012-03-01 17:08:31 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-03-01 17:08:31 +0000 |
commit | 4077ae6df2bc4f785840bc1d7eba6f1f06da46d8 (patch) | |
tree | 4b9a23a2b4182216f1cc513b636e0a37cd68488f | |
parent | 9fbd8d9b405d680b52cd03727825f6c6963fd400 (diff) | |
download | archiva-4077ae6df2bc4f785840bc1d7eba6f1f06da46d8.tar.gz archiva-4077ae6df2bc4f785840bc1d7eba6f1f06da46d8.zip |
cleanup profiles move declaration to top pom: I can use vi pom.xml to see configured profiles :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295676 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | archiva-modules/archiva-web/pom.xml | 21 | ||||
-rw-r--r-- | archiva-modules/pom.xml | 68 | ||||
-rw-r--r-- | pom.xml | 23 |
3 files changed, 24 insertions, 88 deletions
diff --git a/archiva-modules/archiva-web/pom.xml b/archiva-modules/archiva-web/pom.xml index 4b2cbeb7a..a9b6f9706 100644 --- a/archiva-modules/archiva-web/pom.xml +++ b/archiva-modules/archiva-web/pom.xml @@ -112,26 +112,5 @@ </pluginManagement> </build> - <profiles> - <profile> - <id>it</id> - <modules> - <module>archiva-webapp-test</module> - </modules> - </profile> - <profile> - <id>js</id> - <modules> - <module>archiva-webapp-js</module> - </modules> - </profile> - <profile> - <id>it-js</id> - <modules> - <module>archiva-webapp-js</module> - <module>archiva-webapp-test-js</module> - </modules> - </profile> - </profiles> </project> diff --git a/archiva-modules/pom.xml b/archiva-modules/pom.xml index 06423e954..201e2c846 100644 --- a/archiva-modules/pom.xml +++ b/archiva-modules/pom.xml @@ -163,73 +163,7 @@ --> </plugins> </reporting> - <profiles> - <profile> - <id>ci</id> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-pmd-plugin</artifactId> - <executions> - <execution> - <goals> - <!-- TODO: after rules are set - <goal>check</goal> - --> - <goal>cpd-check</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <executions> - <execution> - <goals> - <!-- TODO: reformat first, and correct the checks (some are not consistent with the Maven style) - <goal>check</goal> - --> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <version>2.2</version> - <configuration> - <check> - <!-- TODO: raise to 85/100 --> - <totalLineRate>77</totalLineRate> - <totalBranchRate>95</totalBranchRate> - </check> - <instrumentation> - <excludes> - <exclude>**/*$*</exclude> - </excludes> - </instrumentation> - </configuration> - <executions> - <execution> - <id>clean</id> - <goals> - <goal>clean</goal> - </goals> - </execution> - <execution> - <id>check</id> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> + <distributionManagement> <site> <id>apache.website</id> @@ -1813,6 +1813,29 @@ </profile> <profile> + <!-- profile to run struts webapp it test --> + <id>it</id> + <modules> + <module>archiva-modules/archiva-web/archiva-webapp-test</module> + </modules> + </profile> + <profile> + <!-- profile to run javascript webapp --> + <id>js</id> + <modules> + <module>archiva-modules/archiva-web/archiva-webapp-js</module> + </modules> + </profile> + <profile> + <!-- profile to run javascript webapp and it tests --> + <id>it-js</id> + <modules> + <module>archiva-modules/archiva-web/archiva-webapp-js</module> + <module>archiva-modules/archiva-web/archiva-webapp-test-js</module> + </modules> + </profile> + + <profile> <!-- olamy profile to test tomcat plugin dev --> <id>tdev</id> <modules> |