aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
Commit message (Collapse)AuthorAgeFilesLines
* SONAR-2172: New extension point - InitializerEvgeny Mandrikov2011-02-074-29/+85
| | | | | | * Rename AbstractInitializer to Initializer * Execute Initializers before Sensors
* SONAR-2172: New extension point - AbstractInitializerEvgeny Mandrikov2011-02-053-3/+52
| | | | | | | | | * Mark interface DependsUponMavenPlugin by annotation SupportedEnvironment with value "maven" * Extract CoberturaMavenInitializer from CoberturaSensor * Extract CloverMavenInitializer from CloverSensor
* Replace enum Environment by class EnvironmentInformationEvgeny Mandrikov2011-02-042-102/+0
| | | | | | | * 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
* SONAR-2169: Add CoverageExtension to APIEvgeny Mandrikov2011-02-042-2/+38
|
* Fix bug on deprecated profilessimonbrandhof2011-02-041-1/+1
|
* Upgrade copyright headerssimonbrandhof2011-02-04332-2239/+2239
|
* SONAR-2094 Do not delete ACTIVE_RULES rows when rules are disabledsimonbrandhof2011-02-032-26/+72
|
* SONAR-2094 Support backups without the field <enabled>simonbrandhof2011-02-021-3/+7
|
* Merge branch 'SONAR-2094'simonbrandhof2011-02-021-2/+13
|\
| * SONAR-2094 Add the column RULES_PROFILES.ENABLEDsimonbrandhof2011-02-011-2/+13
| |
* | Fix org.sonar.api.utils.AnnotationUtils: search for annotations in ↵simonbrandhof2011-02-022-12/+34
| | | | | | | | interfaces too
* | SONAR-2137: Fix updating of past violationsEvgeny Mandrikov2011-02-021-1/+1
|/ | | | | | * Database field rule_failures.failure_level should be updatable * Change corresponding unit test
* Add missing deprecated annotationsEvgeny Mandrikov2011-02-014-12/+17
|
* Add profile to check copyright headers + fix some badly formatted headerssimonbrandhof2011-01-315-61/+75
|
* Add properties "sonar.projectName" and "sonar.projectDescription"Evgeny Mandrikov2011-01-311-0/+10
|
* [maven-release-plugin] prepare for next development iterationsimonbrandhof2011-01-281-1/+1
|
* [maven-release-plugin] prepare release 2.6-M1simonbrandhof2011-01-281-1/+1
|
* Add some unit testssimonbrandhof2011-01-281-7/+46
|
* SONAR-2149 Resource filters are ignored in complexity distributions of Java ↵simonbrandhof2011-01-286-219/+134
| | | | | | projects This issue implies SONAR-2153 : API: A decorator should override formulas
* Deprecate Resource#isExcluded(), replaced by ↵simonbrandhof2011-01-281-0/+6
| | | | SensorContext#isExcluded(Resource). It makes inheritance of Resource easier.
* add helper methods to Qualifiers + do not accept null parameterssimonbrandhof2011-01-282-22/+63
|
* add methods Scopes#isHigherThan() and isHigherThanOrEquals()simonbrandhof2011-01-282-5/+48
|
* SONAR-2151: Add new property to manage source encodingEvgeny Mandrikov2011-01-284-11/+34
|
* SONAR-2148: Add new properties to manage level of Java languageEvgeny Mandrikov2011-01-281-10/+10
| | | | * Use sonar-java-api in sonar-pmd-plugin and sonar-clover-plugin
* SONAR-2126: Change API to work with file system of a projectEvgeny Mandrikov2011-01-276-87/+87
| | | | | | | | | | * Use language keys instead of objects. * ProjectFileSystem now BatchComponent, so DefaultProjectFileSystem uses benefits from injections and some old code was removed from it to improve immutability. * Small performance improvement for DefaultInputFile.
* Add the method ResourceUtils#isPersistable(Resource)simonbrandhof2011-01-262-1/+35
|
* Add javadoc to InputFile + improve JavaFile#toString()simonbrandhof2011-01-262-9/+7
|
* Improve backward-compatibility when adding data to a non-indexed resourcesimonbrandhof2011-01-257-30/+70
|
* SONAR-791 When the source directory is not exactly the java package root, ↵simonbrandhof2011-01-243-8/+19
| | | | Sonar should stop the analysis
* SONAR-2130 deprecate the component SquidSearchsimonbrandhof2011-01-241-49/+0
|
* Improve org.sonar.api.resources.Scopes and Qualifierssimonbrandhof2011-01-247-48/+408
|
* Remove deprecated constants of org.sonar.api.resources.Resource (deprecated ↵simonbrandhof2011-01-241-30/+0
| | | | since 1.11)
* Use CoreProperties for in-memory POM constructionEvgeny Mandrikov2011-01-241-0/+5
|
* Rename method in InputFile from getBaseDir() to getFileBaseDir()Evgeny Mandrikov2011-01-242-2/+2
|
* SONAR-2126: Partially revert previous changesEvgeny Mandrikov2011-01-242-11/+10
| | | | | * Maven can modify source directories during Sonar execution via see MavenPhaseExecutor.
* SONAR-2106: New Java library to bootstrap project analysisEvgeny Mandrikov2011-01-243-197/+0
| | | | | | | | | | * Add BatchResourcesServlet to allow downloading libraries from server * Create in memory POM for non-maven environments * Provide fake MavenPluginExecutor for non-maven environments * Add new module sonar-batch-maven-compat with shaded maven-project
* SONAR-2126: Change api to work with project file systemEvgeny Mandrikov2011-01-231-1/+3
|
* SONAR-2126: Change api to work with project file systemEvgeny Mandrikov2011-01-231-0/+2
|
* SONAR-2126: Change api to work with project file systemEvgeny Mandrikov2011-01-238-130/+276
| | | | | | | | * 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
* Merge branch 'master' of github.com:SonarSource/sonarsimonbrandhof2011-01-216-90/+129
|\
| * SONAR-2126: Rename ProjectDirectory to FileSystemDirectoryEvgeny Mandrikov2011-01-202-7/+7
| |
| * SONAR-2126: Change API to work with projectEvgeny Mandrikov2011-01-206-89/+128
| | | | | | | | | | | | | | | | | | * Add natures and exclusions/inclusions to ProjectDirectory * Deprecate ProjectFileSystem and Project.getFileSystem() * Instead of interface ProjectDefinition provide class only for bootstrap of batch
* | SONAR-2127 API: do not automatically create hierarchy of resource treesimonbrandhof2011-01-2110-53/+202
|/
* add the classes org.sonar.api.resources.Qualifiers and Scopessimonbrandhof2011-01-192-0/+91
|
* Add new structure to define project in a form suitable for bootstrapping ↵Evgeny Mandrikov2011-01-192-0/+164
| | | | Sonar batch
* SONAR-1514: Add support for a new Ant task to analyze projectsEvgeny Mandrikov2011-01-182-1/+41
| | | | | | | | | | | * Add new environment - Ant. * Introduce new component (Reactor) in order to break dependency on MavenSession. * Add annotation SupportedEnvironment and corresponding check to BatchPluginRepository. To allow specify in which environments BatchExtension should be active. * Use this new annotation to disable MavenDependenciesSensor in Ant environment.
* merge 2.5: fix tracking of violations when message contains whitespace or is ↵simonbrandhof2011-01-131-1/+5
| | | | too long - fix a bug + add unit tests
* Rule.getRulesCategory() must return a fake category instead of nullsimonbrandhof2011-01-101-1/+3
|
* override the method WildcardPattern.toString()simonbrandhof2011-01-072-0/+17
|
* [maven-release-plugin] prepare for next development iterationsimonbrandhof2011-01-051-1/+1
|