mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 04:22:16 +00:00
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5806 71c3de6d-444a-0410-be80-ed276b4c234a
27 lines
630 B
Bash
Executable File
27 lines
630 B
Bash
Executable File
#!/bin/bash -ex
|
|
# import JRCS jars to the .m2 repo
|
|
|
|
v=0.4.2
|
|
|
|
for t in diff rcs
|
|
do
|
|
echo $t
|
|
mvn deploy:deploy-file \
|
|
-DgroupId=org.jvnet.hudson \
|
|
-DartifactId=org.suigeneris.jrcs.$t \
|
|
-Dversion=$v \
|
|
-Dpackaging=jar \
|
|
-Dfile=org.suigeneris.jrcs.$t-$v.jar \
|
|
-DrepositoryId=java.net-m2-repository \
|
|
-Durl=file://$JAVANET_M2_REPO
|
|
mvn deploy:deploy-file \
|
|
-DgroupId=org.jvnet.hudson \
|
|
-DartifactId=org.suigeneris.jrcs.$t \
|
|
-Dversion=$v \
|
|
-Dpackaging=jar \
|
|
-Dfile=src.zip \
|
|
-DrepositoryId=java.net-m2-repository \
|
|
-Durl=file://$JAVANET_M2_REPO \
|
|
-Dclassifier=sources
|
|
done
|