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 | |
parent | 8c6b57e711d091fdbcd8aaaa9816651490a18629 (diff) | |
download | sonarqube-a8391cfc44991b0e8c0e1794daa41880d4bf0701.tar.gz sonarqube-a8391cfc44991b0e8c0e1794daa41880d4bf0701.zip |
fix animal-sniffer in sonar-core-plugin
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/sonar-core-plugin/GWT-Clouds.sh | 1 | ||||
-rwxr-xr-x | plugins/sonar-core-plugin/GWT-CoverageViewer.sh | 1 | ||||
-rwxr-xr-x | plugins/sonar-core-plugin/GWT-DefaultSourceViewer.sh | 1 | ||||
-rwxr-xr-x | plugins/sonar-core-plugin/GWT-DuplicationsViewer.sh | 1 | ||||
-rwxr-xr-x | plugins/sonar-core-plugin/GWT-Hotspots.sh | 1 | ||||
-rwxr-xr-x | plugins/sonar-core-plugin/GWT-TestsViewer.sh | 1 | ||||
-rw-r--r-- | plugins/sonar-core-plugin/pom.xml | 70 |
7 files changed, 44 insertions, 32 deletions
diff --git a/plugins/sonar-core-plugin/GWT-Clouds.sh b/plugins/sonar-core-plugin/GWT-Clouds.sh deleted file mode 100755 index a6746040a6f..00000000000 --- a/plugins/sonar-core-plugin/GWT-Clouds.sh +++ /dev/null @@ -1 +0,0 @@ -mvn gwt:run -DrunTarget=org.sonar.plugins.core.clouds.GwtClouds/test.html
\ No newline at end of file diff --git a/plugins/sonar-core-plugin/GWT-CoverageViewer.sh b/plugins/sonar-core-plugin/GWT-CoverageViewer.sh deleted file mode 100755 index fccc7aa3f4a..00000000000 --- a/plugins/sonar-core-plugin/GWT-CoverageViewer.sh +++ /dev/null @@ -1 +0,0 @@ -mvn gwt:run -DrunTarget=org.sonar.plugins.core.coverageviewer.CoverageViewer/test.html
\ No newline at end of file diff --git a/plugins/sonar-core-plugin/GWT-DefaultSourceViewer.sh b/plugins/sonar-core-plugin/GWT-DefaultSourceViewer.sh deleted file mode 100755 index a8f956909e1..00000000000 --- a/plugins/sonar-core-plugin/GWT-DefaultSourceViewer.sh +++ /dev/null @@ -1 +0,0 @@ -mvn gwt:run -DrunTarget=org.sonar.plugins.core.defaultsourceviewer.GwtDefaultSourceViewer/test.html
\ No newline at end of file diff --git a/plugins/sonar-core-plugin/GWT-DuplicationsViewer.sh b/plugins/sonar-core-plugin/GWT-DuplicationsViewer.sh deleted file mode 100755 index 28d6abee29d..00000000000 --- a/plugins/sonar-core-plugin/GWT-DuplicationsViewer.sh +++ /dev/null @@ -1 +0,0 @@ -mvn gwt:run -DrunTarget=org.sonar.plugins.core.duplicationsviewer.DuplicationsViewer/test.html
\ No newline at end of file diff --git a/plugins/sonar-core-plugin/GWT-Hotspots.sh b/plugins/sonar-core-plugin/GWT-Hotspots.sh deleted file mode 100755 index a659c47d15e..00000000000 --- a/plugins/sonar-core-plugin/GWT-Hotspots.sh +++ /dev/null @@ -1 +0,0 @@ -mvn gwt:run -DrunTarget=org.sonar.plugins.core.hotspots.GwtHotspots/test.html
\ No newline at end of file diff --git a/plugins/sonar-core-plugin/GWT-TestsViewer.sh b/plugins/sonar-core-plugin/GWT-TestsViewer.sh deleted file mode 100755 index 2ee40ce95a0..00000000000 --- a/plugins/sonar-core-plugin/GWT-TestsViewer.sh +++ /dev/null @@ -1 +0,0 @@ -mvn gwt:run -DrunTarget=org.sonar.plugins.core.testdetailsviewer.TestsViewer/test.html
\ No newline at end of file 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> |