You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2004/04/29 07:01:03 UTC
cvs commit: maven-plugins/changelog plugin.jelly
dion 2004/04/28 22:01:03
Modified: changelog/xdocs index.xml changes.xml
changelog plugin.jelly
Log:
Add changelog:create-cvspass goal for creating the required .cvspass file
Add documentation on .cvspass file for CVSNT users.
Revision Changes Path
1.5 +20 -0 maven-plugins/changelog/xdocs/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/maven-plugins/changelog/xdocs/index.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- index.xml 4 Mar 2004 18:01:12 -0000 1.4
+++ index.xml 29 Apr 2004 05:01:03 -0000 1.5
@@ -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>
1.27 +4 -0 maven-plugins/changelog/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven-plugins/changelog/xdocs/changes.xml,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- changes.xml 28 Apr 2004 04:11:38 -0000 1.26
+++ changes.xml 29 Apr 2004 05:01:03 -0000 1.27
@@ -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>
1.12 +12 -1 maven-plugins/changelog/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/changelog/plugin.jelly,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- plugin.jelly 4 Mar 2004 18:01:12 -0000 1.11
+++ plugin.jelly 29 Apr 2004 05:01:03 -0000 1.12
@@ -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>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org