Skip to content
This repository was archived by the owner on Apr 7, 2022. It is now read-only.

Commit 33a01a9

Browse files
committed
Fix a few things detected during the release.
1 parent b87320e commit 33a01a9

3 files changed

Lines changed: 17 additions & 10 deletions

File tree

pom.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,14 @@
283283
<plugin>
284284
<groupId>org.apache.maven.plugins</groupId>
285285
<artifactId>maven-site-plugin</artifactId>
286-
<version>3.1</version>
286+
<version>3.2</version>
287+
<dependencies>
288+
<dependency><!-- add support for ssh/scp -->
289+
<groupId>org.apache.maven.wagon</groupId>
290+
<artifactId>wagon-ssh</artifactId>
291+
<version>1.0</version>
292+
</dependency>
293+
</dependencies>
287294
</plugin>
288295
<plugin>
289296
<groupId>org.apache.maven.plugins</groupId>
@@ -573,7 +580,7 @@
573580
<id>jwebunit-website</id>
574581
<name>JWebUnit WebSite - Sourceforge</name>
575582
<url>
576-
scp://web.sourceforge.net/home/project-web/jwebunit/htdocs
583+
scp://shell.sourceforge.net/home/project-web/jwebunit/htdocs
577584
</url>
578585
</site>
579586
<snapshotRepository>

src/changes/changes.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@
4747
<action type="update" dev="henryju">
4848
Deprecated gotoWindow(windowID) method as implementation is not stable and window ID is not something well-defined.
4949
</action>
50-
</release>
51-
<release version="3.0.1" date="UNKNOW" description="Minor fixes">
5250
<action type="fix" dev="henryju" issue="3395872" due-to="Tim Pizey">
5351
HtmlUnitTestingEngineImpl.gotoPage no longer returns the failing status. Broken since 2.5 after applying
5452
patch from issue 1864365.

src/site/xdoc/how-to-release.xml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,21 @@
6969
<subsection name="Preparing the release (tag and update pom)">
7070
<p>
7171
This process is automatically done by maven-release-plugin.
72-
<source>mvn release:prepare -Dusername=henryju -Dpassword=XXXXXX</source>
73-
Don't forget to put your own sourceforge account and password.<br/>
72+
<source>mvn release:prepare</source>
7473
The plugin will ask for next release version, tag name and next development version. Most of the time defaults are ok.<br/>
75-
<em>NB:</em> Sometimes with SVN 1.5 the tag operation fails with a message like <tt>file XXX already exists</tt>. The solution is
76-
to run <tt>svn update</tt> then run <tt>mvn release:prepare -Dusername=henryju -Dpassword=XXXXXX</tt> again.
7774
</p>
7875
<p>
7976
Now the tag is done in SVN and the trunk is ready for next developments. It's time to actually do the release.
8077
</p>
8178
</subsection>
8279
<subsection name="Perform the release (deploy artifacts and site)">
83-
<p>
84-
The process is done by maven-release-plugin.
80+
<p>
81+
Create a shell on sourceforge (<a href="http://maven.apache.org/plugins/maven-site-plugin/examples/site-deploy-to-sourceforge.net.html">more informations</a>).
82+
<source>ssh -t henryju,jwebunit@shell.sf.net create</source>
83+
Then exit the shell (type exit).
84+
</p>
85+
<p>
86+
The release process is done by maven-release-plugin:
8587
<source>mvn release:perform -Darguments="-Dgpg.passphrase=XXXXXXXXXX"</source>
8688
</p>
8789
<p>

0 commit comments

Comments
 (0)