maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-plugins/maven-assembly-plugin deploy.sh build.sh
Date Wed, 06 Apr 2005 06:52:05 GMT
brett       2005/04/05 23:52:05

  Modified:    maven-plugins/maven-assembly-plugin build.sh
  Added:       maven-plugins/maven-assembly-plugin deploy.sh
  Log:
  
  
  Revision  Changes    Path
  1.2       +1 -2      maven-components/maven-plugins/maven-assembly-plugin/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-plugins/maven-assembly-plugin/build.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.sh	6 Apr 2005 06:20:07 -0000	1.1
  +++ build.sh	6 Apr 2005 06:52:04 -0000	1.2
  @@ -10,8 +10,7 @@
   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
  
  
  
  1.1                  maven-components/maven-plugins/maven-assembly-plugin/deploy.sh
  
  Index: deploy.sh
  ===================================================================
  #!/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
  
  
  

Mime
View raw message