]> source.dussan.org Git - sonarqube.git/commit
SONAR-2126: Change api to work with project file system
authorEvgeny Mandrikov <mandrikov@gmail.com>
Fri, 21 Jan 2011 12:21:15 +0000 (15:21 +0300)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Sun, 23 Jan 2011 15:06:25 +0000 (18:06 +0300)
commit65dc85cf661879f9289b93e1410a93a1a113a1a8
treeef7b1c0efca074c4ff86c7ca879d7698d6d2a8d7
parentef418b4fd683ffdc20c043d450d2e0feefc6c695
SONAR-2126: Change api to work with project file system

* Introduce InputFile (file and reference to base directory),
  which can be retrieved from ProjectFileSystem

* Reduce dependencies on MavenProject - don't use project.getPom()
  in DefaultProjectFileSystem and MavenUtils in ProjectUtils
sonar-batch/src/main/java/org/sonar/batch/MavenProjectBuilder.java
sonar-plugin-api/src/main/java/org/sonar/api/resources/DefaultProjectFileSystem.java
sonar-plugin-api/src/main/java/org/sonar/api/resources/InputFile.java [new file with mode: 0644]
sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java
sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectFileSystem.java
sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectUtils.java
sonar-plugin-api/src/test/java/org/sonar/api/resources/DefaultProjectFileSystemTest.java
sonar-plugin-api/src/test/java/org/sonar/api/test/MavenTestUtils.java
sonar-plugin-api/src/test/java/org/sonar/api/test/SimpleProjectFileSystem.java