Fixed artifact deployment
This commit is contained in:
parent
bfc3722833
commit
8dddad9866
|
@ -8,6 +8,9 @@ gCubePrefix=org.gcube
|
||||||
|
|
||||||
gCubeGroupId=org.gcube.common
|
gCubeGroupId=org.gcube.common
|
||||||
|
|
||||||
|
#repositoryId=gcube-externals
|
||||||
|
repositoryUrl=http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-externals
|
||||||
|
|
||||||
for i in jackson-core jackson-annotations jackson-databind
|
for i in jackson-core jackson-annotations jackson-databind
|
||||||
#for i in jackson-core
|
#for i in jackson-core
|
||||||
do
|
do
|
||||||
|
@ -51,9 +54,11 @@ do
|
||||||
cp ../pom.deploy.template.${jacksonArtifactId}.xml deploy.pom.xml
|
cp ../pom.deploy.template.${jacksonArtifactId}.xml deploy.pom.xml
|
||||||
sed -i 's/JACKSON_ARTIFACT_ID/'"${jacksonArtifactId}"'/g' deploy.pom.xml
|
sed -i 's/JACKSON_ARTIFACT_ID/'"${jacksonArtifactId}"'/g' deploy.pom.xml
|
||||||
sed -i 's/JACKSON_VERSION/'"${jacksonVersion}"'/g' deploy.pom.xml
|
sed -i 's/JACKSON_VERSION/'"${jacksonVersion}"'/g' deploy.pom.xml
|
||||||
mvn install:install-file -DpomFile=deploy.pom.xml -Dfile=${gCubeArtifactJar}
|
|
||||||
|
#mvn -U install:install-file -DpomFile=deploy.pom.xml -Dfile=${gCubeArtifactJar}
|
||||||
#mvn deploy:deploy-file -DpomFile=deploy.pom.xml -Dfile=${gCubeArtifactJar}
|
#mvn -U deploy:deploy-file -DpomFile=deploy.pom.xml -Dfile=${gCubeArtifactJar} -DrepositoryId=${repositoryId} -Durl=${repositoryUrl}
|
||||||
|
|
||||||
|
mvn -U deploy:deploy-file -DpomFile=deploy.pom.xml -Dfile=${gCubeArtifactJar} -Durl=${repositoryUrl}
|
||||||
|
|
||||||
cd ${projectDir}
|
cd ${projectDir}
|
||||||
mvn clean
|
mvn clean
|
||||||
|
|
Loading…
Reference in New Issue