diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-02-04 17:54:57 +0300 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-02-04 19:48:41 +0300 |
commit | 547e8323146ec2f0f602ce6f4c325c9ed0ecbb18 (patch) | |
tree | 55e330b2b9959bdcf46ebde624f96766d6bb4d76 /plugins | |
parent | ea8d694355aac5dc93de2650e11d802c6bb3e3d5 (diff) | |
download | sonarqube-547e8323146ec2f0f602ce6f4c325c9ed0ecbb18.tar.gz sonarqube-547e8323146ec2f0f602ce6f4c325c9ed0ecbb18.zip |
Replace enum Environment by class EnvironmentInformation
* Each environment should provide key and version
* Plugins for Maven 2.x and Maven 3.x have same key "Maven"
and provide a real version of Maven
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/batch/MavenDependenciesSensor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/batch/MavenDependenciesSensor.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/batch/MavenDependenciesSensor.java index eb00b801d4c..198340252c4 100644 --- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/batch/MavenDependenciesSensor.java +++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/batch/MavenDependenciesSensor.java @@ -44,7 +44,7 @@ import org.sonar.api.resources.Project; import org.sonar.api.resources.Resource; import org.sonar.api.utils.SonarException; -@SupportedEnvironment({ "maven2", "maven3" }) +@SupportedEnvironment("maven") public class MavenDependenciesSensor implements Sensor { private ArtifactRepository localRepository; |