mirror of https://github.com/apache/maven.git
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163808 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9fa149666b
commit
e4030a9545
|
@ -10,8 +10,7 @@ REPO=$HOME/repository-new
|
|||
cp pom.xml pom.xml.backup
|
||||
cat pom.xml.backup | sed 's#<packaging>maven-plugin</packaging>##' >pom.xml
|
||||
|
||||
m2 clean:clean plugin:descriptor package
|
||||
cp target/maven-assembly-plugin-1.0-SNAPSHOT.jar $REPO/org/apache/maven/plugins/maven-assembly-plugin/1.0-SNAPSHOT
|
||||
m2 clean:clean plugin:descriptor install
|
||||
|
||||
mv pom.xml.backup pom.xml
|
||||
cp pom.xml $REPO/org/apache/maven/plugins/maven-assembly-plugin/1.0-SNAPSHOT/maven-assembly-plugin-1.0-SNAPSHOT.pom
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
#
|
||||
# WORKAROUND FOR http://jira.codehaus.org/browse/MNG-214
|
||||
#
|
||||
|
||||
REPO=$HOME/repository-new
|
||||
|
||||
cp pom.xml pom.xml.backup
|
||||
cat pom.xml.backup | sed 's#<packaging>maven-plugin</packaging>##' >pom.xml
|
||||
|
||||
#m2 clean:clean plugin:descriptor deploy
|
||||
|
||||
version=`cat $REPO/org/apache/maven/plugins/maven-assembly-plugin/1.0-SNAPSHOT/maven-assembly-plugin-1.0-SNAPSHOT.version.txt`
|
||||
cat pom.xml.backup | sed "s#<version>1.0-SNAPSHOT</version>#<version>$version</version>#" >pom.xml
|
||||
scp pom.xml maven@beaver.codehaus.org:/home/projects/maven/repository-staging/to-ibiblio/maven2/org/apache/maven/plugins/maven-assembly-plugin/1.0-SNAPSHOT/maven-assembly-plugin-$version.pom
|
||||
|
||||
mv pom.xml.backup pom.xml
|
Loading…
Reference in New Issue