diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 150 |
1 files changed, 80 insertions, 70 deletions
@@ -30,67 +30,56 @@ <name>aai-validation</name> <version>1.7.0-SNAPSHOT</version> <parent> - <groupId>org.onap.oparent</groupId> - <artifactId>oparent</artifactId> - <version>2.1.0</version> - <relativePath /> + <groupId>org.onap.aai.aai-common</groupId> + <artifactId>aai-parent</artifactId> + <version>1.7.0-SNAPSHOT</version> </parent> - <dependencyManagement> - <dependencies> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-dependencies</artifactId> - <version>${spring-boot.version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - </dependencies> - </dependencyManagement> - <properties> - <spring-boot.version>1.5.21.RELEASE</spring-boot.version> <start-class>org.onap.aai.validation.ValidationServiceApplication</start-class> <serverPort>9500</serverPort> <sslport>9501</sslport> - <version.org.onap.aai.logging-service>1.2.2</version.org.onap.aai.logging-service> - <version.aai.rest.client>1.4.0</version.aai.rest.client> - <version.org.onap.aai.event.client>1.4.0</version.org.onap.aai.event.client> - <version.com.ecomp.aai.gap.data.client>1.0</version.com.ecomp.aai.gap.data.client> - <version.com.google.code.gson>2.7</version.com.google.code.gson> - <version.com.jayway.jsonpath>2.2.0</version.com.jayway.jsonpath> - <version.commons-configuration>1.10</version.commons-configuration> - <version.jaxen.jaxen>1.1.6</version.jaxen.jaxen> - <version.org.apache.httpcomponents.httpclient>4.5.2</version.org.apache.httpcomponents.httpclient> <version.org.codehaus.groovy.groovy-eclipse-batch>2.4.3-01</version.org.codehaus.groovy.groovy-eclipse-batch> <version.org.codehaus.groovy.groovy-eclipse-compiler>2.9.2-01</version.org.codehaus.groovy.groovy-eclipse-compiler> - <version.org.eclipse.persistence.moxy>2.6.2</version.org.eclipse.persistence.moxy> - <version.org.hamcrest.hamcrest-library>1.3</version.org.hamcrest.hamcrest-library> - <version.org.json.json>20160212</version.org.json.json> - <version.aai.aai-schema>1.6.6</version.aai.aai-schema> - <version.aai.aai-schema-ingest>1.4.1</version.aai.aai-schema-ingest> + <aai.oxm.target.folder>${project.build.directory}/bundleconfig/etc/oxm/</aai.oxm.target.folder> - <version.org.glassfish.jersey.core.jersey-client>2.23</version.org.glassfish.jersey.core.jersey-client> <docker.location>${basedir}/target</docker.location> - <!-- Code coverage enforcement --> - <sonar.jacoco.reportPath /> - <sonar.jacoco.itReportPath /> - <sonar.jacoco.reportMissing.force.zero /> - - <jacoco.line.coverage.limit>0.90</jacoco.line.coverage.limit> - <jacoco.version>0.8.5</jacoco.version> - <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> - <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> - <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> - <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> - - <sonar.scanner.version>3.7.0.1746</sonar.scanner.version> - - <jacoco.line.coverage.limit>0.80</jacoco.line.coverage.limit> + <jacoco.line.coverage.limit>0.55</jacoco.line.coverage.limit> </properties> <dependencies> <dependency> + <groupId>net.bytebuddy</groupId> + <artifactId>byte-buddy</artifactId> + <version>1.10.14</version> + </dependency> + <dependency> + <groupId>net.bytebuddy</groupId> + <artifactId>byte-buddy-agent</artifactId> + <version>1.10.14</version> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + <version>2.23.4</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest</artifactId> + <version>2.2</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-api-mockito2</artifactId> + </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-core</artifactId> + </dependency> + + <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> @@ -115,25 +104,24 @@ <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> + <version>2.4.17</version> </dependency> <dependency> <groupId>javax.ws.rs</groupId> <artifactId>javax.ws.rs-api</artifactId> - <version>2.0.1</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> - <version>2.4</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> - <version>3.7</version> </dependency> <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> + <version>3.2.2</version> </dependency> <dependency> <groupId>org.dom4j</groupId> @@ -155,37 +143,49 @@ <dependency> <groupId>org.onap.aai.logging-service</groupId> <artifactId>logging-api</artifactId> - <version>${version.org.onap.aai.logging-service}</version> </dependency> <dependency> <groupId>org.onap.aai.logging-service</groupId> <artifactId>common-logging</artifactId> - <version>${version.org.onap.aai.logging-service}</version> </dependency> <dependency> <groupId>org.onap.aai.logging-service</groupId> <artifactId>eelf-logging</artifactId> - <version>${version.org.onap.aai.logging-service}</version> + <version>${aai.common.logging.version}</version> </dependency> <dependency> <groupId>com.att.eelf</groupId> <artifactId>eelf-core</artifactId> - <version>1.0.1-oss</version> + <exclusions> + <exclusion> + <groupId>org.powermock</groupId> + <artifactId>powermock-module-junit4</artifactId> + </exclusion> + <exclusion> + <groupId>org.powermock</groupId> + <artifactId>powermock-api-mockito</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.onap.aai</groupId> <artifactId>rest-client</artifactId> - <version>${version.aai.rest.client}</version> + </dependency> + + <dependency> + <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> + <artifactId>dmaapClient</artifactId> + <version>1.1.5</version> </dependency> <dependency> <groupId>org.onap.aai.event-client</groupId> <artifactId>event-client-dmaap</artifactId> - <version>${version.org.onap.aai.event.client}</version> + <version>1.4.0</version> </dependency> <dependency> @@ -201,7 +201,6 @@ <dependency> <groupId>commons-configuration</groupId> <artifactId>commons-configuration</artifactId> - <version>${version.commons-configuration}</version> </dependency> <dependency> @@ -217,13 +216,11 @@ <dependency> <groupId>org.eclipse.persistence</groupId> <artifactId>org.eclipse.persistence.moxy</artifactId> - <version>${version.org.eclipse.persistence.moxy}</version> </dependency> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> - <version>${version.org.json.json}</version><!--$NO-MVN-MAN-VER$ --> </dependency> <dependency> @@ -234,14 +231,18 @@ <dependency> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-schema-ingest</artifactId> - <version>${version.aai.aai-schema-ingest}</version> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> </exclusion> + <exclusion> + <groupId>org.powermock</groupId> + <artifactId>powermock-module-junit4</artifactId> + </exclusion> </exclusions> </dependency> + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> @@ -249,17 +250,28 @@ </dependency> <dependency> - <groupId>org.hamcrest</groupId> - <artifactId>hamcrest-library</artifactId> - <scope>test</scope> - </dependency> - - <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> + <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + </dependency> + <dependency> + <groupId>com.sun.xml.bind</groupId> + <artifactId>jaxb-core</artifactId> + </dependency> + <dependency> + <groupId>com.sun.xml.bind</groupId> + <artifactId>jaxb-impl</artifactId> + </dependency> + <dependency> + <groupId>javax.activation</groupId> + <artifactId>activation</artifactId> + <version>1.1.1</version> + </dependency> </dependencies> <build> @@ -272,7 +284,6 @@ <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> - <version>${spring-boot.version}</version> <configuration> <mainClass>${start-class}</mainClass> <executable>true</executable> @@ -288,7 +299,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> + <version>3.8.1</version> <configuration> <compilerId>groovy-eclipse-compiler</compilerId> <verbose>true</verbose> @@ -324,7 +335,7 @@ <artifactItem> <groupId>org.onap.aai.schema-service</groupId> <artifactId>aai-schema</artifactId> - <version>${version.aai.aai-schema}</version> + <version>${aai.schema.service.version}</version> <type>jar</type> <includes>onap/oxm/**/</includes> <outputDirectory>${aai.oxm.target.folder}</outputDirectory> @@ -435,7 +446,6 @@ <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> - <version>${jacoco.version}</version> <configuration> <!-- Note: This exclusion list should match <sonar.exclusions> property above --> |