From dc5186ed8d5a9a280a36afb40b6b7f457a8c82f2 Mon Sep 17 00:00:00 2001 From: Dileep Ranganathan Date: Fri, 18 Aug 2017 11:58:52 -0700 Subject: Update POM to inherit from oparent Removed some redundant and inheritable elements Fixed warnings related to building effective pom Removed duplicate dependencies Add version to maven-deploy-plugin Issue-Id: AAI-77 Change-Id: Ie634874299489fb2971b065c66ff9467839bb36f Signed-off-by: Dileep Ranganathan --- pom.xml | 163 +++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 95 insertions(+), 68 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 5eedf9b0..5ac0b306 100644 --- a/pom.xml +++ b/pom.xml @@ -1,11 +1,17 @@ 4.0.0 + + org.onap.oparent + oparent + 1.0.0-SNAPSHOT + + org.onap.aai.aai-common aai-common 1.1.0-SNAPSHOT pom aai-common - + aai-schema aai-annotations @@ -14,28 +20,24 @@ - 1.8 - 1.8 - UTF-8 - https://nexus.onap.org /content/sites/site/org/onap/aai/aai-common/${project.artifactId}/${project.version} 1.1.0-SNAPSHOT 1.1.0-SNAPSHOT 1.1.0-SNAPSHOT - - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - - + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.8 + 1.8 + + + org.codehaus.mojo license-maven-plugin 1.12 @@ -70,7 +72,7 @@ - first + first update-file-header @@ -78,59 +80,50 @@ - - org.apache.maven.plugins - maven-deploy-plugin - - - default-deploy - none - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - ${nexusproxy} - 176c31dfe190a - ecomp-staging - - - - - - - org.apache.maven.plugins - maven-site-plugin - 3.6 - - - org.apache.maven.wagon - wagon-webdav-jackrabbit - 2.10 - - - - - + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + + default-deploy + none + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ${onap.nexus.url} + 176c31dfe190a + ecomp-staging + + + + + + + org.apache.maven.plugins + maven-site-plugin + 3.6 + + + org.apache.maven.wagon + wagon-webdav-jackrabbit + 2.10 + + + + + - - ecomp-releases - ECOMP Release Repository - ${nexusproxy}/content/repositories/releases/ - - - ecomp-snapshots - ECOMP Snapshot Repository - ${nexusproxy}/content/repositories/snapshots/ - ecomp-site - dav:${nexusproxy}${sitePath} + dav:${onap.nexus.url}${sitePath} @@ -148,10 +141,44 @@ 5.6 -views -Xdoclint:none - org.openecomp.aai.domain.yang.*:org.openecomp.aai.util.* + org.openecomp.aai.domain.yang.*:org.openecomp.aai.util.* true + + + + AJSC + AJSC repository + https://mvnrepository.com/artifact/com.att.ajsc + + + restlet + maven reslet + https://maven.restlet.com/ + + + + central + Maven 2 repository 2 + http://repo2.maven.org/maven2/ + + + ecomp-releases + ECOMP Release Repository + ${onap.nexus.url}/content/repositories/releases/ + + + ecomp-staging + ECOMP Staging Repository + ${onap.nexus.url}/content/repositories/staging/ + + + ecomp-snapshots + ECOMP Snapshot Repository + ${onap.nexus.url}/content/repositories/snapshots/ + + -- cgit 1.2.3-korg