Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Move the assemblies to the /www/people.apache.org/builds/struts/$VERSION dir

After closing repository in Nexus, you must obtain the url where the assemblies are stored, it looks like below (the important part is orgapachestruts-300):

Code Block

https://repository.apache.org/content/repositories/orgapachestruts-300/org/apache/struts/struts2-assembly/$VERSION/

In order to move the assemblies login to people.apache.org and execute the following code:

Code Block
none
none
#!/bin/sh
# create the destination directory
mkdir $VERSION
cd $VERSION
wget -erobots=off -nv  -l 1 --accept=zip,md5,sha1,asc -r --no-check-certificate -nd -nH https://repository.apache.org/content/groupsrepositories/public$REPOID/org/apache/struts/struts2-assembly/$VERSION

for f in *2-assembly*.zip*
do
 mv $f `echo $f | sed s/2-assembly//g`
done

for f in struts2-assembly-*.pom*
do
 rm $f
done

...