upload of maven files to sourceforge was not correctly done

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6837 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch
2009-02-09 02:29:08 +00:00
parent 3ab42655dc
commit ecb51fbac5
3 changed files with 7 additions and 6 deletions

View File

@ -20,7 +20,7 @@ elif [ $option = "all" ]; then
elif [ $option = "uploadcurrent" ]; then
echo "Generating and uploading maven artifacts"
mvn -q source:jar javadoc:jar deploy
mvn -q deploy:deploy-file -Durl=scp://web.sourceforge.net/home/groups/p/pm/pmd/htdocs/maven2 -DrepositoryId=pmd-repo -Dfile=java14/lib/pmd14-4.2.5.jar -DpomFile=pmd-jdk14-pom.xml
mvn -q deploy:deploy-file -Durl=scp://shell.sourceforge.net/home/groups/p/pm/pmd/htdocs/maven2 -DrepositoryId=pmd-repo -Dfile=java14/lib/pmd14-4.2.5.jar -DpomFile=pmd-jdk14-pom.xml
echo "Generating xdocs and uploading"
ruby munge_rulesets.rb
maven -qb pmd:rulesets-index xdoc:generate-from-pom
@ -35,8 +35,9 @@ elif [ $option = "uploadcurrent" ]; then
cd ../..
elif [ $option = "upload" ]; then
echo "Generating and uploading maven artifacts"
ssh $USER,pmd@shell.sf.net create
mvn -q source:jar javadoc:jar deploy
mvn -q deploy:deploy-file -Durl=scp://web.sourceforge.net/home/groups/p/pm/pmd/htdocs/maven2 -DrepositoryId=pmd-repo -Dfile=java14/lib/pmd14-4.2.5.jar -DpomFile=pmd-jdk14-pom.xml
mvn -q deploy:deploy-file -Durl=scp://shell.sourceforge.net/home/groups/p/pm/pmd/htdocs/maven2 -DrepositoryId=pmd-repo -Dfile=java14/lib/pmd14-4.2.5.jar -DpomFile=pmd-jdk14-pom.xml
echo "Uploading xdocs"
DOCS_FILE=docs.tar.gz
cp xdocs/cpdresults.txt xdocs/cpp_cpdresults.txt target/docs/

View File

@ -289,12 +289,12 @@
<repository>
<id>pmd-repo</id>
<name>Default Repository</name>
<url>scp://web.sourceforge.net/home/groups/p/pm/pmd/htdocs/maven2</url>
<url>scp://shell.sourceforge.net/home/groups/p/pm/pmd/htdocs/maven2</url>
</repository>
<site>
<id>pmd-site</id>
<name>Default Site</name>
<url>scp://web.sourceforge.net/home/groups/p/pm/pmd/htdocs</url>
<url>scp://shell.sourceforge.net/home/groups/p/pm/pmd/htdocs</url>
</site>
</distributionManagement>

View File

@ -279,12 +279,12 @@
<repository>
<id>pmd-repo</id>
<name>Default Repository</name>
<url>scp://web.sourceforge.net/home/groups/p/pm/pmd/htdocs/maven2</url>
<url>scp://shell.sourceforge.net/home/groups/p/pm/pmd/htdocs/maven2</url>
</repository>
<site>
<id>pmd-site</id>
<name>Default Site</name>
<url>scp://web.sourceforge.net/home/groups/p/pm/pmd/htdocs</url>
<url>scp://shell.sourceforge.net/home/groups/p/pm/pmd/htdocs</url>
</site>
</distributionManagement>