aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-09-14 10:53:50 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2011-09-14 10:53:50 +0200
commit413956912612804c89076b9f73f8aa35d9954ad8 (patch)
treefb7c9b6b0db5a382519de7e2a40ec3bfcf2d3a0e /pom.xml
parent49407df9377b4ec3e9ab887ffb748bb5ba6ca637 (diff)
downloadsonarqube-413956912612804c89076b9f73f8aa35d9954ad8.tar.gz
sonarqube-413956912612804c89076b9f73f8aa35d9954ad8.zip
Add predefined configuration for the license-maven-plugin
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml38
1 files changed, 30 insertions, 8 deletions
diff --git a/pom.xml b/pom.xml
index 6d385f9eb55..46aa71530ca 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.codehaus.sonar</groupId>
@@ -105,7 +106,7 @@
<jdk.min.version>1.5</jdk.min.version>
<!-- default GWT configuration. It's overridden by the profile 'dev' to speed up compilation in dev environments-->
- <gwt.permutationSuffix />
+ <gwt.permutationSuffix/>
<gwt.extraJvmArgs>-Xmx512m -Xss1024k</gwt.extraJvmArgs>
<sonar.snapshotRepository.url>dav:https://dav.codehaus.org/snapshots.repository/sonar</sonar.snapshotRepository.url>
</properties>
@@ -272,6 +273,7 @@
<version>1.1</version>
<extensions>true</extensions>
</plugin>
+
</plugins>
</pluginManagement>
@@ -393,7 +395,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<excludePackageNames>
-net.*:org.sonar.application:org.sonar.server:org.sonar.graph:org.sonar.batch:org.sonar.channel:org.sonar.java:org.sonar.maven*:org.sonar.plugins.*:org.sonar.colorizer:org.sonar.squid:org.sonar.core:org.sonar.jpa:org.sonar.duplications:org.sonar.markdown:com.*
+ net.*:org.sonar.application:org.sonar.server:org.sonar.graph:org.sonar.batch:org.sonar.channel:org.sonar.java:org.sonar.maven*:org.sonar.plugins.*:org.sonar.colorizer:org.sonar.squid:org.sonar.core:org.sonar.jpa:org.sonar.duplications:org.sonar.markdown:com.*
</excludePackageNames>
<author>false</author>
<linksource>true</linksource>
@@ -470,6 +472,26 @@ net.*:org.sonar.application:org.sonar.server:org.sonar.graph:org.sonar.batch:org
<runOrder>random</runOrder>
</configuration>
</plugin>
+ <plugin>
+ <!-- this plugin is used to list the licenses of all the dependencies :
+ mvn org.codehaus.mojo:license-maven-plugin:aggregate-add-third-party
+ -->
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>license-maven-plugin</artifactId>
+ <version>1.0-beta-3</version>
+ <configuration>
+ <groupByLicense>true</groupByLicense>
+ <licenseMerges>
+ <licenseMerge>The Apache Software License, Version 2.0|Apache License 2.0|Apache 2|Apache License Version 2|Apache License Version 2.0|Apache Public License 2.0|Apache Software License - Version 2.0|Apache Software Licenses</licenseMerge>
+ <licenseMerge>GNU Lesser General Public License, Version 2.1|GNU Lesser General Public License Version 2.1|GNU Lesser General Public License (LGPL), Version 2.1</licenseMerge>
+ <licenseMerge>BSD|BSD License|The BSD License</licenseMerge>
+ <licenseMerge>Common Public License, Version 1.0|Common Public License - v 1.0|Common Public License Version 1.0</licenseMerge>
+ <licenseMerge>Eclipse Public License, Version 1.0|Eclipse Public License - Version 1.0</licenseMerge>
+ <licenseMerge>Common Development and Distribution License, Version 1.0|COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0|Common Development and Distribution License (CDDL) v1.0</licenseMerge>
+ <licenseMerge>MIT License|The MIT License</licenseMerge>
+ </licenseMerges>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -1142,7 +1164,7 @@ net.*:org.sonar.application:org.sonar.server:org.sonar.graph:org.sonar.batch:org
</goals>
</pluginExecutionFilter>
<action>
- <ignore />
+ <ignore/>
</action>
</pluginExecution>
<pluginExecution>
@@ -1155,7 +1177,7 @@ net.*:org.sonar.application:org.sonar.server:org.sonar.graph:org.sonar.batch:org
</goals>
</pluginExecutionFilter>
<action>
- <ignore />
+ <ignore/>
</action>
</pluginExecution>
<pluginExecution>
@@ -1168,7 +1190,7 @@ net.*:org.sonar.application:org.sonar.server:org.sonar.graph:org.sonar.batch:org
</goals>
</pluginExecutionFilter>
<action>
- <ignore />
+ <ignore/>
</action>
</pluginExecution>
<pluginExecution>
@@ -1182,7 +1204,7 @@ net.*:org.sonar.application:org.sonar.server:org.sonar.graph:org.sonar.batch:org
</goals>
</pluginExecutionFilter>
<action>
- <ignore />
+ <ignore/>
</action>
</pluginExecution>
<pluginExecution>
@@ -1195,7 +1217,7 @@ net.*:org.sonar.application:org.sonar.server:org.sonar.graph:org.sonar.batch:org
</goals>
</pluginExecutionFilter>
<action>
- <ignore />
+ <ignore/>
</action>
</pluginExecution>
</pluginExecutions>