[JWebUnit-development] SF.net SVN: jwebunit:[912] trunk
Brought to you by:
henryju
|
From: <he...@us...> - 2011-08-18 12:17:57
|
Revision: 912
http://jwebunit.svn.sourceforge.net/jwebunit/?rev=912&view=rev
Author: henryju
Date: 2011-08-18 12:17:50 +0000 (Thu, 18 Aug 2011)
Log Message:
-----------
Update documentation and site deployment location.
Modified Paths:
--------------
trunk/pom.xml
trunk/src/site/xdoc/how-to-release.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2011-08-18 08:27:33 UTC (rev 911)
+++ trunk/pom.xml 2011-08-18 12:17:50 UTC (rev 912)
@@ -248,12 +248,21 @@
<version>2.2.1</version>
<configuration>
<attach>false</attach>
+ <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
<descriptors>
- <descriptor>
- src/assemble/release.xml
- </descriptor>
+ <descriptor>src/assemble/release.xml</descriptor>
</descriptors>
+ <descriptorRefs>
+ <descriptorRef>source-release</descriptorRef>
+ </descriptorRefs>
</configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.apache.resources</groupId>
+ <artifactId>apache-source-release-assembly-descriptor</artifactId>
+ <version>1.0.3</version>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -669,7 +678,7 @@
<id>jwebunit-website</id>
<name>JWebUnit WebSite - Sourceforge</name>
<url>
- scp://shell.sourceforge.net/home/groups/j/jw/jwebunit/htdocs
+ scp://web.sourceforge.net/home/project-web/jwebunit/htdocs
</url>
</site>
<snapshotRepository>
Modified: trunk/src/site/xdoc/how-to-release.xml
===================================================================
--- trunk/src/site/xdoc/how-to-release.xml 2011-08-18 08:27:33 UTC (rev 911)
+++ trunk/src/site/xdoc/how-to-release.xml 2011-08-18 12:17:50 UTC (rev 912)
@@ -45,9 +45,14 @@
<source><![CDATA[
<server>
<id>jwebunit-website</id>
- <username>henryju,jwebunit</username>
+ <username>henryju</username>
<password>XXXXXXXX</password>
</server>
+ <server>
+ <id>jwebunit.svn.sourceforge.net</id>
+ <username>henryju</username>
+ <password>XXXXXXXX</password>
+ </server>
<server>
<id>sonatype-nexus</id>
@@ -55,7 +60,7 @@
<password>YYYYYYYYYY</password>
</server>
]]></source>
- Don't forget to put your own sourceforge account and password for jwebunit-website. Concerning sonatype-nexus you need
+ Don't forget to put your own sourceforge account and password for jwebunit-website and svn. Concerning sonatype-nexus you need
the username and password from http://oss.sonatype.org/ (see <a href="https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide">OSS Repository Hosting</a>)
for instructions on how to set up your configuration like GPG signature.
Reminder: in order to have access granted to a new JWebUnit developper, ask on <a href="https://issues.sonatype.org/browse/OSSRH-384">OSSRH-384</a>.
@@ -75,55 +80,43 @@
</p>
</subsection>
<subsection name="Perform the release (deploy artifacts and site)">
- <p>
- First you need to activate a time-limited shell in Sourceforge to allow upload by SCP.
- On Linux you can use:
- <source>ssh henryju,jwe...@sh... create</source>
- On Windows you can use:
- <source>plink henryju,jwe...@sh... create</source>
- </p>
<p>
- Now the process is done by maven-release-plugin.
+ The process is done by maven-release-plugin.
<source>mvn release:perform -Darguments="-Dgpg.passphrase=XXXXXXXXXX"</source>
</p>
<p>
This will automatically checkout the tag from SVN in target/checkout folder then run <tt>mvn deploy site-deploy</tt>.
- Artifacts will be uploaded in http://jwebunit.sourceforge.net/m2-repo (this repository is synchronized to Maven central repo).
+ Artifacts will be staged in http://oss.sonatype.org.
Site will also be uploaded.
</p>
<p>
- Now close your Sourceforge shell:
- <source>ssh henryju,jwe...@sh... shutdown</source> (Linux)
- <source>plink henryju,jwe...@sh... shutdown</source> (Windows)
+ Now connect to http://oss.sonatype.org and go to <i>Staging Repositories</i> section. There you can close and release the repository.
+ If everything is fine the artifacts will be synced to Maven central.
</p>
</subsection>
<subsection name="Dealing with non-maven bundle">
<p>
- We have to provide a bundle for non Maven users.
+ We also provide a bundle for non Maven users.
<source>
cd target
cd checkout
mvn package assembly:assembly
</source>
- This will create a release bundle in target/checkout/target/jwebunit-XX-release.zip. Move this zip to another directory then run:
- <source>mvn clean</source>
- Now remove every .svn folders in target/checkout:
- <tt>find . -name .svn -exec rm -rf '{}' \;</tt> (works for Linux, on Windows I use the graphical search feature)
- And finally create a zip of the whole target/checkout folder content with name <tt>jwebunit-XX-sources.zip</tt>
+ This will create a release bundle in [target/checkout/]target/jwebunit-XX-release.zip and a source bundle in [target/checkout/]target/jwebunit-XX-source-release.zip.
</p>
<p>
- Open your browser at <a href="https://sourceforge.net/projects/jwebunit/">JWebUnir admin page</a>.<br/>
+ Open your browser at <a href="https://sourceforge.net/projects/jwebunit/">JWebUnit admin page</a>.<br/>
Use your Sourceforge account to log in.<br/>
- In the menu select Project Admin -> File Manager (beta).<br/>
+ In the menu select "Files".<br/>
Click on JWebUnit folder.<br/>
Click on the [Add Folder] button.<br/>
- Type the name of the new release: JWebUnit-XX<br/>
+ Type the name of the new release: JWebUnit XX<br/>
Select the folder you just have created<br/>
Click on the [Add File] button.<br/>
Browse and select for upload:
<ul>
<li>jwebunit-XX-release.zip</li>
- <li>jwebunit-XX-sources.zip</li>
+ <li>jwebunit-XX-source-release.zip</li>
<li>README.txt</li>
</ul>
Click on the [Upload] button.<br/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|