It allows to use the shaded and relocated dependencies of sonar-plugin-apitags/5.2-RC1
@@ -18,7 +18,6 @@ | |||
<module>sonar-check-api</module> | |||
<module>sonar-colorizer</module> | |||
<module>sonar-core</module> | |||
<module>sonar-deprecated</module> | |||
<module>sonar-duplications</module> | |||
<module>sonar-graph</module> | |||
<module>sonar-home</module> | |||
@@ -625,11 +624,6 @@ | |||
<artifactId>sonar-batch-protocol</artifactId> | |||
<version>${project.version}</version> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.codehaus.sonar</groupId> | |||
<artifactId>sonar-deprecated</artifactId> | |||
<version>${project.version}</version> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.codehaus.sonar</groupId> | |||
<artifactId>sonar-duplications</artifactId> |
@@ -88,16 +88,6 @@ | |||
<groupId>org.codehaus.sonar</groupId> | |||
<artifactId>sonar-batch-protocol</artifactId> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.codehaus.sonar</groupId> | |||
<artifactId>sonar-deprecated</artifactId> | |||
<exclusions> | |||
<exclusion> | |||
<groupId>org.apache.maven</groupId> | |||
<artifactId>maven-project</artifactId> | |||
</exclusion> | |||
</exclusions> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.codehaus.sonar</groupId> | |||
<artifactId>sonar-home</artifactId> | |||
@@ -137,6 +127,10 @@ | |||
<groupId>org.apache.maven.shared</groupId> | |||
<artifactId>maven-common-artifact-filters</artifactId> | |||
</exclusion> | |||
<exclusion> | |||
<groupId>org.apache.maven</groupId> | |||
<artifactId>maven-project</artifactId> | |||
</exclusion> | |||
</exclusions> | |||
</dependency> | |||
<dependency> |
@@ -47,20 +47,6 @@ | |||
<groupId>org.codehaus.sonar</groupId> | |||
<artifactId>sonar-batch-protocol</artifactId> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.codehaus.sonar</groupId> | |||
<artifactId>sonar-deprecated</artifactId> | |||
<exclusions> | |||
<exclusion> | |||
<groupId>jfree</groupId> | |||
<artifactId>jcommon</artifactId> | |||
</exclusion> | |||
<exclusion> | |||
<groupId>jfree</groupId> | |||
<artifactId>jfreechart</artifactId> | |||
</exclusion> | |||
</exclusions> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.codehaus.sonar</groupId> | |||
<artifactId>sonar-home</artifactId> |
@@ -35,20 +35,6 @@ | |||
<groupId>org.mybatis</groupId> | |||
<artifactId>mybatis</artifactId> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.codehaus.sonar</groupId> | |||
<artifactId>sonar-deprecated</artifactId> | |||
<exclusions> | |||
<exclusion> | |||
<groupId>jfree</groupId> | |||
<artifactId>jcommon</artifactId> | |||
</exclusion> | |||
<exclusion> | |||
<groupId>jfree</groupId> | |||
<artifactId>jfreechart</artifactId> | |||
</exclusion> | |||
</exclusions> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.codehaus.sonar</groupId> | |||
<artifactId>sonar-update-center-common</artifactId> |
@@ -23,20 +23,6 @@ | |||
</exclusion> | |||
</exclusions> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.codehaus.sonar</groupId> | |||
<artifactId>sonar-deprecated</artifactId> | |||
<exclusions> | |||
<exclusion> | |||
<groupId>jfree</groupId> | |||
<artifactId>jcommon</artifactId> | |||
</exclusion> | |||
<exclusion> | |||
<groupId>jfree</groupId> | |||
<artifactId>jfreechart</artifactId> | |||
</exclusion> | |||
</exclusions> | |||
</dependency> | |||
<dependency> | |||
<groupId>commons-lang</groupId> | |||
<artifactId>commons-lang</artifactId> |
@@ -23,6 +23,10 @@ | |||
<artifactId>gson</artifactId> | |||
<scope>provided</scope> | |||
</dependency> | |||
<dependency> | |||
<groupId>jfree</groupId> | |||
<artifactId>jfreechart</artifactId> | |||
</dependency> | |||
<dependency> | |||
<groupId>com.google.code.findbugs</groupId> | |||
<artifactId>jsr305</artifactId> |
@@ -19,15 +19,14 @@ | |||
*/ | |||
package org.sonar.api.rules; | |||
import java.util.Collections; | |||
import java.util.List; | |||
import org.junit.Test; | |||
import org.junit.rules.ExpectedException; | |||
import org.sonar.api.PropertyType; | |||
import org.sonar.api.utils.SonarException; | |||
import org.sonar.check.Priority; | |||
import java.util.Collections; | |||
import java.util.List; | |||
import static org.assertj.core.api.Assertions.assertThat; | |||
public class AnnotationRuleParserTest { |