]> source.dussan.org Git - sonarqube.git/commit
Replace enum Environment by class EnvironmentInformation
authorEvgeny Mandrikov <mandrikov@gmail.com>
Fri, 4 Feb 2011 14:54:57 +0000 (17:54 +0300)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Fri, 4 Feb 2011 16:48:41 +0000 (19:48 +0300)
commit547e8323146ec2f0f602ce6f4c325c9ed0ecbb18
tree55e330b2b9959bdcf46ebde624f96766d6bb4d76
parentea8d694355aac5dc93de2650e11d802c6bb3e3d5
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
13 files changed:
plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/batch/MavenDependenciesSensor.java
sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchPluginRepository.java
sonar-batch/src/main/java/org/sonar/batch/bootstrapper/EnvironmentInformation.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/bootstrapper/ProjectDefinition.java
sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Reactor.java
sonar-batch/src/main/java/org/sonar/batch/bootstrapper/package-info.java [new file with mode: 0644]
sonar-core-maven-plugin/src/main/java/org/sonar/maven2/BatchMojo.java
sonar-maven-plugin/src/main/java/org/sonar/maven/SonarMojo.java
sonar-maven3-plugin/pom.xml
sonar-maven3-plugin/src/main/java/org/sonar/maven3/SonarMojo.java
sonar-plugin-api/src/main/java/org/sonar/api/platform/Environment.java [deleted file]
sonar-plugin-api/src/test/java/org/sonar/api/platform/EnvironmentTest.java [deleted file]
sonar-server/src/main/java/org/sonar/server/platform/Platform.java