diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-05-25 22:08:59 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-05-28 09:28:55 +0200 |
commit | 419bb7fc18e6e8f427f54792fd63f10754d683ce (patch) | |
tree | 1f5f3c5695d624ca3e6d2e135955431aacc86279 | |
parent | ab50f4f37d637e09de2a47872dfe9ea07ea07e64 (diff) | |
download | sonarqube-419bb7fc18e6e8f427f54792fd63f10754d683ce.tar.gz sonarqube-419bb7fc18e6e8f427f54792fd63f10754d683ce.zip |
SONAR-6370 Shade sonar-* libraries into sonar-plugin-api
-rw-r--r-- | plugins/sonar-xoo-plugin/pom.xml | 12 | ||||
-rw-r--r-- | sonar-plugin-api/pom.xml | 20 |
2 files changed, 16 insertions, 16 deletions
diff --git a/plugins/sonar-xoo-plugin/pom.xml b/plugins/sonar-xoo-plugin/pom.xml index b46b87db148..f447c845372 100644 --- a/plugins/sonar-xoo-plugin/pom.xml +++ b/plugins/sonar-xoo-plugin/pom.xml @@ -17,26 +17,24 @@ <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> - <version>10.0.1</version> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.codehaus.sonar</groupId> - <artifactId>sonar-plugin-api</artifactId> + <version>3.0.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> - <scope>provided</scope> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> + </dependency> + <dependency> + <groupId>org.codehaus.sonar</groupId> + <artifactId>sonar-plugin-api</artifactId> <scope>provided</scope> </dependency> diff --git a/sonar-plugin-api/pom.xml b/sonar-plugin-api/pom.xml index f3e2d0bd2a7..2c911baec34 100644 --- a/sonar-plugin-api/pom.xml +++ b/sonar-plugin-api/pom.xml @@ -106,14 +106,18 @@ <artifactId>commons-codec</artifactId> </dependency> <dependency> - <groupId>commons-lang</groupId> - <artifactId>commons-lang</artifactId> - </dependency> - <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> </dependency> <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + </dependency> + <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <optional>true</optional> @@ -198,14 +202,12 @@ <goal>shade</goal> </goals> <configuration> - <minimizeJar>true</minimizeJar> + <!-- can't minimize dependencies because of some classes of sonar-duplications + that required by sonar-batch --> + <minimizeJar>false</minimizeJar> <createDependencyReducedPom>true</createDependencyReducedPom> <artifactSet> <excludes> - <exclude>org.codehaus.sonar:sonar-duplications</exclude> - <exclude>org.codehaus.sonar:sonar-channel</exclude> - <exclude>org.codehaus.sonar:sonar-colorizer</exclude> - <exclude>org.codehaus.sonar:sonar-check-api</exclude> <exclude>org.codehaus.sonar.plugins:sonar-email-notifications-plugin</exclude> <exclude>org.codehaus.woodstox:woodstox-core-lgpl</exclude> <exclude>org.codehaus.woodstox:stax2-api</exclude> |