aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-09-30 00:07:03 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-09-30 00:07:03 +0200
commitc6dab978b4e06918c7b96684a06c50c8aca74315 (patch)
treed16b803b094b8984ad722d87ae23d709da37f9df /plugins
parent73e2ceadeb3d0f44d3a96a07947e26531c409053 (diff)
downloadsonarqube-c6dab978b4e06918c7b96684a06c50c8aca74315.tar.gz
sonarqube-c6dab978b4e06918c7b96684a06c50c8aca74315.zip
Maven profiles for each technical stack
and remove sonar-channel helpers from sonar-testing-harness
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/pom.xml7
-rw-r--r--plugins/sonar-cpd-plugin/pom.xml14
-rw-r--r--plugins/sonar-dbcleaner-plugin/pom.xml8
-rw-r--r--plugins/sonar-l10n-en-plugin/pom.xml7
4 files changed, 36 insertions, 0 deletions
diff --git a/plugins/sonar-core-plugin/pom.xml b/plugins/sonar-core-plugin/pom.xml
index d7a5edda624..d2b40030663 100644
--- a/plugins/sonar-core-plugin/pom.xml
+++ b/plugins/sonar-core-plugin/pom.xml
@@ -89,6 +89,13 @@
<artifactId>sonar-testing-harness</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.codehaus.sonar</groupId>
+ <artifactId>sonar-plugin-api</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ <version>${project.version}</version>
+ </dependency>
</dependencies>
<build>
diff --git a/plugins/sonar-cpd-plugin/pom.xml b/plugins/sonar-cpd-plugin/pom.xml
index 6755e7ccd4f..468405d744f 100644
--- a/plugins/sonar-cpd-plugin/pom.xml
+++ b/plugins/sonar-cpd-plugin/pom.xml
@@ -59,6 +59,13 @@
<artifactId>sonar-xoo-plugin</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.codehaus.sonar</groupId>
+ <artifactId>sonar-plugin-api</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ <version>${project.version}</version>
+ </dependency>
</dependencies>
<build>
@@ -80,6 +87,13 @@
<pluginClass>org.sonar.plugins.cpd.CpdPlugin</pluginClass>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>${skipBatchTests}</skipTests>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/plugins/sonar-dbcleaner-plugin/pom.xml b/plugins/sonar-dbcleaner-plugin/pom.xml
index fa2302a61ac..d4d5b3d5544 100644
--- a/plugins/sonar-dbcleaner-plugin/pom.xml
+++ b/plugins/sonar-dbcleaner-plugin/pom.xml
@@ -81,6 +81,14 @@
<pluginClass>org.sonar.plugins.dbcleaner.DbCleanerPlugin</pluginClass>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>${skipBatchTests}</skipTests>
+ </configuration>
+ </plugin>
+
</plugins>
</build>
</project>
diff --git a/plugins/sonar-l10n-en-plugin/pom.xml b/plugins/sonar-l10n-en-plugin/pom.xml
index 35bbff6ab1f..95b855352af 100644
--- a/plugins/sonar-l10n-en-plugin/pom.xml
+++ b/plugins/sonar-l10n-en-plugin/pom.xml
@@ -69,6 +69,13 @@
<pluginDescription><![CDATA[Language pack for English]]></pluginDescription>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>${skipServerTests}</skipTests>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>