aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-dbcleaner-plugin
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-10-31 18:50:40 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-10-31 18:52:54 +0100
commit8bccd3cd3d8ae636a070fc325e38a45d7fdd8438 (patch)
treeabce7d3789e19ff59ac64d9d89740d3794572573 /plugins/sonar-dbcleaner-plugin
parentd23c3e0fea299af829cf81066e97574e2276facd (diff)
downloadsonarqube-8bccd3cd3d8ae636a070fc325e38a45d7fdd8438.tar.gz
sonarqube-8bccd3cd3d8ae636a070fc325e38a45d7fdd8438.zip
SONAR-3895 fix compatibility of dry-run mode with ProjectBuilder extensions
Diffstat (limited to 'plugins/sonar-dbcleaner-plugin')
-rw-r--r--plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/ProjectPurgePostJob.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/ProjectPurgePostJob.java b/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/ProjectPurgePostJob.java
index b844c588f6c..c092927f4bc 100644
--- a/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/ProjectPurgePostJob.java
+++ b/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/ProjectPurgePostJob.java
@@ -19,13 +19,13 @@
*/
package org.sonar.plugins.dbcleaner;
+import org.sonar.api.batch.DryRunIncompatible;
import org.sonar.api.batch.PostJob;
import org.sonar.api.batch.SensorContext;
import org.sonar.api.resources.Project;
-import org.sonar.core.NotDryRun;
import org.sonar.plugins.dbcleaner.api.PurgeTask;
-@NotDryRun
+@DryRunIncompatible
public class ProjectPurgePostJob implements PostJob {
private PurgeTask purgeTask;