Evgeny Mandrikov
ede312df67
SONAR-2193 Pattern matching should work in case if pattern ends on "/**"
2011-02-19 02:16:01 +03:00
simonbrandhof
09349ffce7
[maven-release-plugin] prepare for next development iteration
2011-02-18 10:38:10 +01:00
simonbrandhof
46f1aa681e
[maven-release-plugin] prepare release 2.6
2011-02-18 10:38:08 +01:00
simonbrandhof
60e2dc0e76
API: rename BlockUnit to Method
2011-02-14 15:38:25 +01:00
Evgeny Mandrikov
a4667d3565
SONAR-2193: Add unit tests
2011-02-14 13:40:12 +03:00
simonbrandhof
12c2ca81ed
Improve code: fix some violations
2011-02-10 00:17:18 +01:00
simonbrandhof
70fa8d308c
Do not deprecate Project.getFileSystem()
2011-02-10 00:11:19 +01:00
simonbrandhof
70e645356d
Fix some violations
2011-02-10 00:08:27 +01:00
simonbrandhof
8c1cf87673
Add a javadoc to ResourceFilter
2011-02-08 16:49:42 +01:00
simonbrandhof
c97c954dc1
Rename Scopes.TYPE to Scopes.PROGRAM_UNIT
2011-02-07 22:32:45 +01:00
Evgeny Mandrikov
bbfce79727
SONAR-2172: New extension point - Initializer
...
* Rename AbstractInitializer to Initializer
* Execute Initializers before Sensors
2011-02-07 15:22:26 +03:00
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
2011-02-05 02:58:16 +03:00
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
2011-02-04 19:48:41 +03:00
Evgeny Mandrikov
4483cea3a0
SONAR-2169: Add CoverageExtension to API
2011-02-04 16:01:42 +03:00
simonbrandhof
9b57d0b379
Fix bug on deprecated profiles
2011-02-04 13:43:03 +01:00
simonbrandhof
a14a0644c2
Upgrade copyright headers
2011-02-04 10:42:21 +01:00
simonbrandhof
31af09b42f
SONAR-2094 Do not delete ACTIVE_RULES rows when rules are disabled
2011-02-03 17:37:34 +01:00
simonbrandhof
2bc382aaea
SONAR-2094 Support backups without the field <enabled>
2011-02-02 14:32:36 +01:00
simonbrandhof
c75f06d423
Merge branch 'SONAR-2094'
2011-02-02 09:16:14 +01:00
simonbrandhof
4c4af803b7
Fix org.sonar.api.utils.AnnotationUtils: search for annotations in interfaces too
2011-02-02 08:09:02 +01:00
Evgeny Mandrikov
356f32fa75
SONAR-2137: Fix updating of past violations
...
* Database field rule_failures.failure_level should be updatable
* Change corresponding unit test
2011-02-02 00:39:03 +03:00
simonbrandhof
af8cbb165e
SONAR-2094 Add the column RULES_PROFILES.ENABLED
2011-02-01 22:08:15 +01:00
Evgeny Mandrikov
d517a340ea
Add missing deprecated annotations
2011-02-01 02:16:34 +03:00
simonbrandhof
4daa310730
Add profile to check copyright headers + fix some badly formatted headers
2011-01-31 01:13:14 +01:00
Evgeny Mandrikov
b57d1e3fa0
Add properties "sonar.projectName" and "sonar.projectDescription"
2011-01-31 02:33:07 +03:00
simonbrandhof
b69ae6b7c4
[maven-release-plugin] prepare for next development iteration
2011-01-28 15:02:59 +01:00
simonbrandhof
ec0d6d92ad
[maven-release-plugin] prepare release 2.6-M1
2011-01-28 15:02:57 +01:00
simonbrandhof
715a8ca8c9
Add some unit tests
2011-01-28 14:34:50 +01:00
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
2011-01-28 13:18:46 +01:00
simonbrandhof
220dd33030
Deprecate Resource#isExcluded(), replaced by SensorContext#isExcluded(Resource). It makes inheritance of Resource easier.
2011-01-28 13:18:46 +01:00
simonbrandhof
3f18345fbc
add helper methods to Qualifiers + do not accept null parameters
2011-01-28 13:18:46 +01:00
simonbrandhof
ec4d0e0ddc
add methods Scopes#isHigherThan() and isHigherThanOrEquals()
2011-01-28 13:18:45 +01:00
Evgeny Mandrikov
1c2189b45f
SONAR-2151: Add new property to manage source encoding
2011-01-28 13:16:11 +03:00
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
2011-01-28 11:27:41 +03:00
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.
2011-01-27 19:40:21 +03:00
simonbrandhof
1d5d71eeba
Add the method ResourceUtils#isPersistable(Resource)
2011-01-26 18:25:23 +01:00
simonbrandhof
759c1b4fca
Add javadoc to InputFile + improve JavaFile#toString()
2011-01-26 18:13:36 +01:00
simonbrandhof
e7de7db7a3
Improve backward-compatibility when adding data to a non-indexed resource
2011-01-25 19:26:43 +01:00
simonbrandhof
878cec92f8
SONAR-791 When the source directory is not exactly the java package root, Sonar should stop the analysis
2011-01-24 19:25:01 +01:00
simonbrandhof
eb9462d600
SONAR-2130 deprecate the component SquidSearch
2011-01-24 19:25:01 +01:00
simonbrandhof
1abf95bda0
Improve org.sonar.api.resources.Scopes and Qualifiers
2011-01-24 19:25:00 +01:00
simonbrandhof
a4266a6a06
Remove deprecated constants of org.sonar.api.resources.Resource (deprecated since 1.11)
2011-01-24 19:24:59 +01:00
Evgeny Mandrikov
bd940b0436
Use CoreProperties for in-memory POM construction
2011-01-24 21:24:59 +03:00
Evgeny Mandrikov
926eacee10
Rename method in InputFile from getBaseDir() to getFileBaseDir()
2011-01-24 10:54:31 +03:00
Evgeny Mandrikov
fe9937de86
SONAR-2126: Partially revert previous changes
...
* Maven can modify source directories during Sonar execution
via see MavenPhaseExecutor.
2011-01-24 01:54:29 +03:00
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
2011-01-24 01:14:07 +03:00
Evgeny Mandrikov
c65905d4c3
SONAR-2126: Change api to work with project file system
2011-01-23 20:58:49 +03:00
Evgeny Mandrikov
e9990905e6
SONAR-2126: Change api to work with project file system
2011-01-23 19:25:12 +03:00
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
2011-01-23 18:06:25 +03:00
simonbrandhof
f7f98a1324
Merge branch 'master' of github.com:SonarSource/sonar
2011-01-21 14:35:01 +01:00