--- Deployment --- Andrés Gómez Casanova --- 2010-06-09 ---
cd user-site mvn clean mvn site:stage cd .. cd source-code mvn clean mvn package mvn site mvn javancss:report mvn site:stage cd ..
In UNIX-like:
rm -Rf ~/.m2/repository/name/
In Windows:
del "%HOMEDRIVE%%HOMEPATH%"\.m2\repository\name
cd source-code mvn clean mvn -P release cd ..
The binaries will be in the source-code/main/target directory, and the files are sa-distribution.zip and sa-distribution.tar.gz.
The release is notified in these ways:
To notify the new release:
user-site/src/site/xdoc/index.xml user-site/src/site/es/xdoc/index.xml
user-site/src/site/apt/news.apt user-site/src/site/es/apt/news.apt
cd source-code cd interfaze mvn -P release-mail changes:announcement-mail -DsmtpUsername=angocaatgmaildotcom -DsmtpPassword=YYY cd .. cd ..
<menu name="References" inherit="bottom"> <item name="Developer Site" href="reference/xxxxxx/" />
Where xxxxxx has to be change to the deployed version.
cd user-site mvn site mvn site:deploy cd .. cd source-code mvn -P release-site site mvn javancss:report mvn -P release-site site:deploy cd ..
It is necessary to create the ssh shell with Source Forge. For more information, visit configuration page.