summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2018-03-01 17:27:51 -0500
committerVenkata Harish K Kajur <vk250x@att.com>2018-03-01 22:34:55 -0500
commit5b80f8813bca2d24d221186e0c2ba341e21d010b (patch)
tree41436d9be13d03b8c719f8266fd5f769f34c207d
parent2fb2baef958cf2bfc1fba5477e09e586b1bec41d (diff)
Update and exclude some deps for nexus iq
Excluded jackson asl and commons httpclient and upgraded the netty all groovy indy Issue-ID: AAI-595 Change-Id: Ic1571ac9aa05e5b94b267084607cfba725664fa0 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rw-r--r--aai-resources/pom.xml43
1 files changed, 33 insertions, 10 deletions
diff --git a/aai-resources/pom.xml b/aai-resources/pom.xml
index b916c3b..912a784 100644
--- a/aai-resources/pom.xml
+++ b/aai-resources/pom.xml
@@ -38,14 +38,6 @@
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<!-- End of the jacoco plugin properties -->
- <cxf.version>2.2.3</cxf.version>
-
- <!-- Start SDK Dependencies Version -->
- <sdk.java.rest.version>6.2.0.6-oss</sdk.java.rest.version>
- <sdk.java.common.logging.version>0.0.1</sdk.java.common.logging.version>
- <sdk.java.spring.cloud.version>0.0.9</sdk.java.spring.cloud.version>
- <!-- End SDK Dependencies Version -->
-
<jolt.version>0.0.24</jolt.version>
<jopt.simple.version>4.9</jopt.simple.version>
@@ -104,7 +96,6 @@
<!-- This value should be overwritten at runtime to wherever need to be pushed to -->
<docker.push.registry>localhost:5000</docker.push.registry>
- <aai.docker.version>1.0.0</aai.docker.version>
<!--
Location where assembly of our scripts, resources and main jar will be held
Check the aai-resources/src/main/assembly/descriptor.xml for more info
@@ -118,13 +109,22 @@
<aai.project.version>1.2.0</aai.project.version>
<aai.docker.version>1.2</aai.docker.version>
+ <!--
+ Nexus Proxy Properties and Snapshot Locations
+ Ideally this can be overwritten at runtime per internal environment specific values at runtime
+ -->
<nexusproxy>https://nexus.onap.org</nexusproxy>
<site.path>/content/sites/site/org/onap/aai/resources/${project.artifactId}/${project.version}</site.path>
<release.path>/content/repositories/releases/</release.path>
<snapshot.path>/content/repositories/snapshots/</snapshot.path>
<netty.handler.version>4.1.9.Final</netty.handler.version>
+ <netty.version>4.0.37.Final</netty.version>
<jackson.core.version>2.8.11.1</jackson.core.version>
+ <groovy.version>2.4.4</groovy.version>
+
+ <!-- This will be used for the docker images as the default format of maven build has issues -->
+ <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
</properties>
<profiles>
<!-- Docker profile to be used for building docker image and pushing to nexus -->
@@ -146,7 +146,7 @@
<filter>@</filter>
<tags>
<tag>latest</tag>
- <tag>${project.version}-STAGING-${maven.build.timestamp}</tag>
+ <tag>${aai.docker.version}-STAGING-${maven.build.timestamp}</tag>
<tag>${aai.docker.version}-STAGING-latest</tag>
</tags>
<cleanup>try</cleanup>
@@ -195,6 +195,11 @@
</plugins>
</build>
</profile>
+ <!--
+ Use of this profile is a way to support legacy runAjsc profile seen using AJSC 2
+ and also because spring-boot:run doesn't work with large classpaths in windows
+ so this accommodates the behavior of running the application from maven
+ -->
<profile>
<id>runAjsc</id>
<properties>
@@ -418,6 +423,14 @@
<groupId>com.sun.jersey.contribs</groupId>
<artifactId>jersey-guice</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-mapper-asl</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -689,6 +702,16 @@
<artifactId>spring-web</artifactId>
<version>${spring.web.version}</version>
</dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-all</artifactId>
+ <version>${netty.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy</artifactId>
+ <version>${groovy.version}</version>
+ </dependency>
</dependencies>
<build>
<resources>