diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-02 14:05:25 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-02 14:05:25 +0000 |
commit | 625da3dc6bc5099e7b9c22a31b005adb5318b6dc (patch) | |
tree | f3dfb9a18f1a44d5b9b40d2f58596a306f0efff8 /plugins/sonar-core-gwt/pom.xml | |
parent | 1a51c6bf53bf1f526c3c39aa86569b042f8be810 (diff) | |
download | sonarqube-625da3dc6bc5099e7b9c22a31b005adb5318b6dc.tar.gz sonarqube-625da3dc6bc5099e7b9c22a31b005adb5318b6dc.zip |
extract GWT components from sonar-core-plugin
Diffstat (limited to 'plugins/sonar-core-gwt/pom.xml')
-rw-r--r-- | plugins/sonar-core-gwt/pom.xml | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/plugins/sonar-core-gwt/pom.xml b/plugins/sonar-core-gwt/pom.xml new file mode 100644 index 00000000000..308512c7f21 --- /dev/null +++ b/plugins/sonar-core-gwt/pom.xml @@ -0,0 +1,94 @@ +<?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/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.codehaus.sonar</groupId> + <artifactId>sonar</artifactId> + <version>2.5-SNAPSHOT</version> + <relativePath>../..</relativePath> + </parent> + <artifactId>sonar-core-gwt</artifactId> + <packaging>jar</packaging> + <name>Sonar :: Plugins :: Core GWT</name> + + <dependencies> + <dependency> + <groupId>org.codehaus.sonar</groupId> + <artifactId>sonar-plugin-api</artifactId> + </dependency> + <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> + + <!-- unit tests --> + <dependency> + <groupId>org.codehaus.sonar</groupId> + <artifactId>sonar-testing-harness</artifactId> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <testResources> + <testResource> + <directory>${basedir}/src/main/resources</directory> + </testResource> + <testResource> + <directory>${basedir}/src/test/resources</directory> + </testResource> + </testResources> + + <plugins> + <plugin> + <groupId>com.atlassian.maven.plugins</groupId> + <artifactId>maven-clover2-plugin</artifactId> + <configuration> + <excludes> + <!-- GWT classes --> + <exclude>**/client/**/*.java</exclude> + </excludes> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>gwt-maven-plugin</artifactId> + <executions> + <execution> + <configuration> + <modules> + <module>org.sonar.plugins.core.ui.pageselector.PageSelector</module> + <module>org.sonar.plugins.core.clouds.GwtClouds</module> + <module>org.sonar.plugins.core.violationsviewer.ViolationsViewer</module> + <module>org.sonar.plugins.core.coverageviewer.CoverageViewer</module> + <module>org.sonar.plugins.core.defaultsourceviewer.GwtDefaultSourceViewer</module> + <module>org.sonar.plugins.core.duplicationsviewer.DuplicationsViewer</module> + <module>org.sonar.plugins.core.testdetailsviewer.TestsViewer</module> + <module>org.sonar.plugins.core.hotspots.GwtHotspots</module> + </modules> + <skip>${skipGwt}</skip> + <webappDirectory>${project.build.directory}/classes</webappDirectory> + + <!-- do not break on two lines --> + <extraJvmArgs>-Xmx512m -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory</extraJvmArgs> + </configuration> + <goals> + <goal>compile</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file |