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
This commit is contained in:
Olivier Lamy 2012-03-01 17:08:31 +00:00
parent 9fbd8d9b40
commit 4077ae6df2
3 changed files with 24 additions and 88 deletions

View File

@ -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>

View File

@ -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>

23
pom.xml
View File

@ -1812,6 +1812,29 @@
</pluginRepositories>
</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>