Permalink
Browse files

Fix technical reports generation

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1204922 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 7ec2555 commit d7241dca18fc689abde7897e22309d31acb3cadf Felix Knecht committed Nov 22, 2011
Showing with 27 additions and 0 deletions.
  1. +27 −0 assemble/pom.xml
View
@@ -78,4 +78,31 @@
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>site-reports</id>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <!--
+ Disable generation of technical reports for 'pom' project, because
+ of following problems:
+ - site-plugin configuration can't be overwritten yet
+ (https://jira.codehaus.org/browse/MSITE-484)
+ - cobertura-plugin fails with NPE
+ (http://jira.codehaus.org/browse/MCOBERTURA-148)
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <configuration>
+ <generateReports>false</generateReports>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
+ </profiles>
</project>

0 comments on commit d7241dc

Please sign in to comment.