forked from phoedos/pmd
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:
@ -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/
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user