Evgeny Mandrikov
ede312df67
SONAR-2193 Pattern matching should work in case if pattern ends on "/**"
13 years ago
simonbrandhof
09349ffce7
[maven-release-plugin] prepare for next development iteration
13 years ago
simonbrandhof
46f1aa681e
[maven-release-plugin] prepare release 2.6
13 years ago
simonbrandhof
60e2dc0e76
API: rename BlockUnit to Method
13 years ago
Evgeny Mandrikov
a4667d3565
SONAR-2193: Add unit tests
13 years ago
simonbrandhof
12c2ca81ed
Improve code: fix some violations
13 years ago
simonbrandhof
70fa8d308c
Do not deprecate Project.getFileSystem()
13 years ago
simonbrandhof
70e645356d
Fix some violations
13 years ago
simonbrandhof
8c1cf87673
Add a javadoc to ResourceFilter
13 years ago
simonbrandhof
c97c954dc1
Rename Scopes.TYPE to Scopes.PROGRAM_UNIT
13 years ago
Evgeny Mandrikov
bbfce79727
SONAR-2172: New extension point - Initializer
* Rename AbstractInitializer to Initializer
* Execute Initializers before Sensors
13 years ago
Evgeny Mandrikov
3b51f04bd4
SONAR-2172: New extension point - AbstractInitializer
* Mark interface DependsUponMavenPlugin by annotation
SupportedEnvironment with value "maven"
* Extract CoberturaMavenInitializer from CoberturaSensor
* Extract CloverMavenInitializer from CloverSensor
13 years ago
Evgeny Mandrikov
547e832314
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 years ago
Evgeny Mandrikov
4483cea3a0
SONAR-2169: Add CoverageExtension to API
13 years ago
simonbrandhof
9b57d0b379
Fix bug on deprecated profiles
13 years ago
simonbrandhof
a14a0644c2
Upgrade copyright headers
13 years ago
simonbrandhof
31af09b42f
SONAR-2094 Do not delete ACTIVE_RULES rows when rules are disabled
13 years ago
simonbrandhof
2bc382aaea
SONAR-2094 Support backups without the field <enabled>
13 years ago
simonbrandhof
4c4af803b7
Fix org.sonar.api.utils.AnnotationUtils: search for annotations in interfaces too
13 years ago
Evgeny Mandrikov
356f32fa75
SONAR-2137: Fix updating of past violations
* Database field rule_failures.failure_level should be updatable
* Change corresponding unit test
13 years ago
simonbrandhof
af8cbb165e
SONAR-2094 Add the column RULES_PROFILES.ENABLED
13 years ago
Evgeny Mandrikov
d517a340ea
Add missing deprecated annotations
13 years ago
simonbrandhof
4daa310730
Add profile to check copyright headers + fix some badly formatted headers
13 years ago
Evgeny Mandrikov
b57d1e3fa0
Add properties "sonar.projectName" and "sonar.projectDescription"
13 years ago
simonbrandhof
b69ae6b7c4
[maven-release-plugin] prepare for next development iteration
13 years ago
simonbrandhof
ec0d6d92ad
[maven-release-plugin] prepare release 2.6-M1
13 years ago
simonbrandhof
715a8ca8c9
Add some unit tests
13 years ago
simonbrandhof
b8eecc041a
SONAR-2149 Resource filters are ignored in complexity distributions of Java projects
This issue implies SONAR-2153 : API: A decorator should override formulas
13 years ago
simonbrandhof
220dd33030
Deprecate Resource#isExcluded(), replaced by SensorContext#isExcluded(Resource). It makes inheritance of Resource easier.
13 years ago
simonbrandhof
3f18345fbc
add helper methods to Qualifiers + do not accept null parameters
13 years ago
simonbrandhof
ec4d0e0ddc
add methods Scopes#isHigherThan() and isHigherThanOrEquals()
13 years ago
Evgeny Mandrikov
1c2189b45f
SONAR-2151: Add new property to manage source encoding
13 years ago
Evgeny Mandrikov
5c05c7d812
SONAR-2148: Add new properties to manage level of Java language
* Use sonar-java-api in sonar-pmd-plugin and sonar-clover-plugin
13 years ago
Evgeny Mandrikov
c2f90c84e3
SONAR-2126: Change API to work with file system of a project
* 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.
13 years ago
simonbrandhof
1d5d71eeba
Add the method ResourceUtils#isPersistable(Resource)
13 years ago
simonbrandhof
759c1b4fca
Add javadoc to InputFile + improve JavaFile#toString()
13 years ago
simonbrandhof
e7de7db7a3
Improve backward-compatibility when adding data to a non-indexed resource
13 years ago
simonbrandhof
878cec92f8
SONAR-791 When the source directory is not exactly the java package root, Sonar should stop the analysis
13 years ago
simonbrandhof
eb9462d600
SONAR-2130 deprecate the component SquidSearch
13 years ago
simonbrandhof
1abf95bda0
Improve org.sonar.api.resources.Scopes and Qualifiers
13 years ago
simonbrandhof
a4266a6a06
Remove deprecated constants of org.sonar.api.resources.Resource (deprecated since 1.11)
13 years ago
Evgeny Mandrikov
bd940b0436
Use CoreProperties for in-memory POM construction
13 years ago
Evgeny Mandrikov
926eacee10
Rename method in InputFile from getBaseDir() to getFileBaseDir()
13 years ago
Evgeny Mandrikov
fe9937de86
SONAR-2126: Partially revert previous changes
* Maven can modify source directories during Sonar execution
via see MavenPhaseExecutor.
13 years ago
Evgeny Mandrikov
6b50350870
SONAR-2106: New Java library to bootstrap project analysis
* 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
13 years ago
Evgeny Mandrikov
c65905d4c3
SONAR-2126: Change api to work with project file system
13 years ago
Evgeny Mandrikov
e9990905e6
SONAR-2126: Change api to work with project file system
13 years ago
Evgeny Mandrikov
65dc85cf66
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
13 years ago
simonbrandhof
08cb4444e0
SONAR-2127 API: do not automatically create hierarchy of resource tree
13 years ago
Evgeny Mandrikov
561c33f966
SONAR-2126: Rename ProjectDirectory to FileSystemDirectory
13 years ago