Add changelog:create-cvspass goal for creating the required .cvspass file

Add documentation on .cvspass file for CVSNT users.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115083 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion
2004-04-29 05:01:03 +00:00
parent 186973817b
commit c9e6104664
3 changed files with 36 additions and 1 deletions

View File

@@ -23,7 +23,8 @@
xmlns:ant="jelly:ant"
xmlns:define="jelly:define"
xmlns:changelog="changelog"
xmlns:doc="doc">
xmlns:doc="doc"
xmlns:maven="jelly:maven">
<goal name="maven-changelog-plugin:register">
<j:if test="${context.getVariable('maven.mode.online') == null}">
@@ -98,4 +99,14 @@
</j:choose>
</goal>
<goal name="changelog:create-cvspass">
<maven:paramCheck value="${password}" fail="true">
You must provide a password to set for the cvs repository.
Please run the goal again using:
maven -Dpassword=XXXXXX changelog:create-cvspass</maven:paramCheck>
<echo>Setting password for ${pom.repository.cvsRoot}</echo>
<cvspass cvsroot="${pom.repository.cvsRoot}" password="${password}"/>
</goal>
</project>

View File

@@ -26,6 +26,10 @@
</properties>
<body>
<release version="1.5" date="in CVS">
<action dev="dion" type="update">
Add changelog:create-cvspass goal for creating the required .cvspass file
Add documentation on .cvspass file for CVSNT users.
</action>
<action dev="brett" type="update" issue="MPCHANGELOG-31">
Use Netbean 3.6 version of cvslib to fix cvs 1.11.2 bug.
</action>

View File

@@ -44,5 +44,25 @@
document.
</p>
</section>
<section name="CVSNT users">
<p>
This plugin does <strong>not</strong> use the cvs executable on your
system to access CVS, instead it uses a java library from the
<a href="http://www.netbeans.org">NetBeans</a> project.
</p>
<p>
The password to access CVS is read by the plugin from
<strong>${user.home}/.cvspass</strong>. If you are using CVSNT you
will not have this file, as CVSNT stores passwords encrypted in the
registry.
</p>
<p>
To create this file, please execute the <code>changelog:create-cvspass</code>
goal, e.g.
</p>
<source>
maven -Dpassword=XXXXXXXX changelog:create-cvspass
</source>
</section>
</body>
</document>