diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-02 17:35:04 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-02 17:35:04 +0000 |
commit | a8391cfc44991b0e8c0e1794daa41880d4bf0701 (patch) | |
tree | 670d8abb67d8f526041132a7c54cf01e5aefe9e5 /plugins/sonar-core-plugin/pom.xml | |
parent | 8c6b57e711d091fdbcd8aaaa9816651490a18629 (diff) | |
download | sonarqube-a8391cfc44991b0e8c0e1794daa41880d4bf0701.tar.gz sonarqube-a8391cfc44991b0e8c0e1794daa41880d4bf0701.zip |
fix animal-sniffer in sonar-core-plugin
Diffstat (limited to 'plugins/sonar-core-plugin/pom.xml')
-rw-r--r-- | plugins/sonar-core-plugin/pom.xml | 70 |
1 files changed, 44 insertions, 26 deletions
diff --git a/plugins/sonar-core-plugin/pom.xml b/plugins/sonar-core-plugin/pom.xml index 6bca3f0fc51..e35b4c27726 100644 --- a/plugins/sonar-core-plugin/pom.xml +++ b/plugins/sonar-core-plugin/pom.xml @@ -55,6 +55,24 @@ <artifactId>sonar-testing-harness</artifactId> <scope>test</scope> </dependency> + + <!-- only for animal-sniffer (see profile check-java-api --> + <dependency> + <groupId>org.codehaus.sonar</groupId> + <artifactId>sonar-gwt-api</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>com.google.gwt</groupId> + <artifactId>gwt-user</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>com.google.gwt</groupId> + <artifactId>gwt-incubator</artifactId> + <scope>provided</scope> + </dependency> + </dependencies> <build> @@ -69,32 +87,32 @@ <plugins> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <id>unpack</id> - <phase>prepare-package</phase> - <goals> - <goal>unpack</goal> - </goals> - <configuration> - <artifactItems> - <artifactItem> - <groupId>org.codehaus.sonar</groupId> - <artifactId>sonar-core-gwt</artifactId> - <version>${project.version}</version> - <type>jar</type> - <overWrite>false</overWrite> - <outputDirectory>${project.build.outputDirectory}</outputDirectory> - <includes>**/*</includes> - <excludes>META-INF/*</excludes> - </artifactItem> - </artifactItems> - </configuration> - </execution> - </executions> - </plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>unpack</id> + <phase>prepare-package</phase> + <goals> + <goal>unpack</goal> + </goals> + <configuration> + <artifactItems> + <artifactItem> + <groupId>org.codehaus.sonar</groupId> + <artifactId>sonar-core-gwt</artifactId> + <version>${project.version}</version> + <type>jar</type> + <overWrite>false</overWrite> + <outputDirectory>${project.build.outputDirectory}</outputDirectory> + <includes>**/*</includes> + <excludes>META-INF/*</excludes> + </artifactItem> + </artifactItems> + </configuration> + </execution> + </executions> + </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> |