Adding profiles cobertura and maven-3.
* cobertura profile add cobetura to site reporting. * maven-3 activates when maven 3.x is being used, and will adjust the maven-site-plugin versioning to use one compatible with maven 3.x git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2764 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
d4ba09cd97
commit
5a148a4447
45
pom.xml
45
pom.xml
|
@ -367,6 +367,51 @@
|
|||
> mvn -N site:sshdeploy (for ssh users w/passphrase and ssh-agent)
|
||||
-->
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>cobertura</id>
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>cobertura-maven-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>maven-3</id>
|
||||
<activation>
|
||||
<file>
|
||||
<!-- This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) -->
|
||||
<exists>${basedir}</exists>
|
||||
</file>
|
||||
</activation>
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>3.0-beta-3</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-descriptor</id>
|
||||
<goals>
|
||||
<goal>attach-descriptor</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>aggregate-site</id>
|
||||
<build>
|
||||
|
|
Loading…
Reference in New Issue