-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: NXP-10.x
-
Fix Version/s: None
-
Component/s: VM Packages
-
Story Points:1
Currently, the maven command will attempt to pull from the central maven repository. Nuxeo tomcat artifacts are hosted at maven.nuxeo.org.
Update the maven command to use the latest get dependency version and specify the target repositories:
mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy \ -Dartifact=org.nuxeo.ecm.distribution:nuxeo-server-tomcat:${version}:zip \ -DoutputDirectory=${PWD}/tmp \ -DoverWriteReleases=true -DoverWriteSnapshots=true \ -Dmdep.stripVersion=true \ -DremoteRepositories=central::default::http://maven.nuxeo.org/nexus/content/groups/public,public-snapshot::default::http://maven.nuxeo.org/nexus/content/groups/public-snapshot