diff options
author | Sai Gandham <sg481n@att.com> | 2018-04-12 22:16:21 +0000 |
---|---|---|
committer | Sai Gandham <sg481n@att.com> | 2018-04-12 22:16:27 +0000 |
commit | 3a70e91752df97a7b0eb8646a7cf4e0afd48d95f (patch) | |
tree | 0eae67855c5986e2622c45b318bcf53a5bf913e3 /misc | |
parent | c0e605c5b4b51f8f65e12e3a2a07041541070548 (diff) |
MOdify POM files to fix sonar
Issue-ID: AAF-129
Change-Id: I450e199f94e1428a6cdeae9a1a755d9bda2754ad
Signed-off-by: Sai Gandham <sg481n@att.com>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/env/pom.xml | 32 | ||||
-rw-r--r-- | misc/log4j/pom.xml | 8 | ||||
-rw-r--r-- | misc/pom.xml | 37 |
3 files changed, 58 insertions, 19 deletions
diff --git a/misc/env/pom.xml b/misc/env/pom.xml index 76de25f9..d1e3ad95 100644 --- a/misc/env/pom.xml +++ b/misc/env/pom.xml @@ -174,6 +174,12 @@ <artifactId>maven-surefire-plugin</artifactId> <version>2.17</version> <configuration> + <skipTests>false</skipTests> + <includes> + <include>**/JU*.java</include> + </includes> + <excludes> + </excludes> </configuration> </plugin> @@ -288,6 +294,32 @@ <artifactId>log4j</artifactId> <scope>compile</scope> <!-- Provides scope only, in case other users prefer another Logging Implementation --> </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-all</artifactId> + <version>1.9.5</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-module-junit4</artifactId> + <version>${powermock.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-api-mockito</artifactId> + <version>${powermock.version}</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.10</version> + <scope>test</scope> + </dependency> </dependencies> diff --git a/misc/log4j/pom.xml b/misc/log4j/pom.xml index c945b739..bcd2d257 100644 --- a/misc/log4j/pom.xml +++ b/misc/log4j/pom.xml @@ -71,7 +71,7 @@ <properties> <!-- SONAR --> - <sonar.skip>true</sonar.skip> + <!--<sonar.skip>true</sonar.skip> --> <jacoco.version>0.7.7.201606060606</jacoco.version> <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> @@ -174,6 +174,12 @@ <artifactId>maven-surefire-plugin</artifactId> <version>2.17</version> <configuration> + <skipTests>false</skipTests> + <includes> + <include>**/JU*.java</include> + </includes> + <excludes> + </excludes> </configuration> </plugin> diff --git a/misc/pom.xml b/misc/pom.xml index e6c955fd..d7aa53ac 100644 --- a/misc/pom.xml +++ b/misc/pom.xml @@ -22,11 +22,11 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> - <!--<parent> - <groupId>org.onap.aaf.authz</groupId> - <artifactId>parent</artifactId> - <version>2.1.0-SNAPSHOT</version> - </parent> --> + <parent> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>parent</artifactId> + <version>2.1.0-SNAPSHOT</version> + </parent> <groupId>org.onap.aaf.authz</groupId> <artifactId>miscparent</artifactId> <name>AAF Misc Parent</name> @@ -34,13 +34,6 @@ <packaging>pom</packaging> - - <parent> - <groupId>org.onap.oparent</groupId> - <artifactId>oparent</artifactId> - <version>1.1.0</version> - </parent> - <properties> <!-- SONAR --> <!-- <sonar.skip>true</sonar.skip> --> @@ -127,6 +120,13 @@ </dependency> </dependencies> + <modules> + <module>env</module> + <module>xgen</module> + <module>rosetta</module> + <module>log4j</module> <!-- note: generates log4j, to avoid Jar conflict --> + </modules> + <!-- ============================================================== --> <!-- Define common plugins and make them available for all modules --> <!-- ============================================================== --> @@ -205,6 +205,12 @@ <artifactId>maven-surefire-plugin</artifactId> <version>2.17</version> <configuration> + <skipTests>false</skipTests> + <includes> + <include>**/JU*.java</include> + </includes> + <excludes> + </excludes> </configuration> </plugin> @@ -319,12 +325,7 @@ </pluginManagement> </build> - <modules> - <module>env</module> - <module>xgen</module> - <module>rosetta</module> - <module>log4j</module> <!-- note: generates log4j, to avoid Jar conflict --> - </modules> + <dependencyManagement> <dependencies> |