Fixes for MAVEN-595
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113803 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ea8a8d872f
commit
fd76737f1a
@ -46,6 +46,9 @@
|
||||
<j:choose>
|
||||
<j:when test="${maven.mode.online}">
|
||||
<j:set var="_connection">${pom.repository.connection}</j:set>
|
||||
<j:if test="${empty(_connection)}">
|
||||
<j:set var="_connection">${pom.repository.developerConnection}</j:set>
|
||||
</j:if>
|
||||
<j:if test="${!empty(_connection)}">
|
||||
<ant:echo>Generating the changelog report</ant:echo>
|
||||
|
||||
@ -56,7 +59,7 @@
|
||||
output="${maven.build.dir}/changelog.xml"
|
||||
outputEncoding="${maven.docs.outputencoding}"
|
||||
range="${maven.changelog.range}"
|
||||
repositoryConnection="${pom.repository.connection}"
|
||||
repositoryConnection="${_connection}"
|
||||
dateFormat="${maven.changelog.dateformat}"
|
||||
/>
|
||||
|
||||
|
||||
@ -41,6 +41,9 @@
|
||||
<j:choose>
|
||||
<j:when test="${maven.mode.online}">
|
||||
<j:set var="_connection">${pom.repository.connection}</j:set>
|
||||
<j:if test="${empty(_connection)}">
|
||||
<j:set var="_connection">${pom.repository.developerConnection}</j:set>
|
||||
</j:if>
|
||||
<j:if test="${!empty(_connection)}">
|
||||
<ant:echo>Generating the developer activity report</ant:echo>
|
||||
|
||||
@ -63,7 +66,7 @@
|
||||
output="${maven.build.dir}/changelog.xml"
|
||||
outputEncoding="${maven.docs.outputencoding}"
|
||||
range="${maven.activitylog.range}"
|
||||
repositoryConnection="${pom.repository.connection}"
|
||||
repositoryConnection="${_connection}"
|
||||
dateFormat="${maven.changelog.dateformat}"
|
||||
/>
|
||||
</j:if>
|
||||
|
||||
@ -50,6 +50,9 @@
|
||||
<j:choose>
|
||||
<j:when test="${maven.mode.online}">
|
||||
<j:set var="_connection">${pom.repository.connection}</j:set>
|
||||
<j:if test="${empty(_connection)}">
|
||||
<j:set var="_connection">${pom.repository.developerConnection}</j:set>
|
||||
</j:if>
|
||||
<j:if test="${!empty(_connection)}">
|
||||
<echo>Generating the file activity report</echo>
|
||||
|
||||
@ -72,7 +75,7 @@
|
||||
output="${maven.build.dir}/changelog.xml"
|
||||
outputEncoding="${maven.docs.outputencoding}"
|
||||
range="${maven.activitylog.range}"
|
||||
repositoryConnection="${pom.repository.connection}"
|
||||
repositoryConnection="${_connection}"
|
||||
dateFormat="${maven.changelog.dateformat}"
|
||||
/>
|
||||
</j:if>
|
||||
|
||||
@ -17,59 +17,75 @@
|
||||
</section>
|
||||
#else
|
||||
|
||||
#set ($conn = $repository.cvsRoot)
|
||||
#set ($module = $repository.cvsModule)
|
||||
#set ($url = $escape.getText($project.repository.url))
|
||||
#set ($conn = $repository.getCvsRoot($repository.connection, ''))
|
||||
#set ($module = $repository.getCvsModule($repository.connection))
|
||||
#set ($url = $escape.getText($repository.url))
|
||||
|
||||
<section name="Web Access">
|
||||
<p>
|
||||
<a href="$url">$url</a>
|
||||
</p>
|
||||
</section>
|
||||
#if ($repository.url)
|
||||
<section name="Web Access">
|
||||
<p>
|
||||
<a href="$url">$url</a>
|
||||
</p>
|
||||
</section>
|
||||
#end
|
||||
|
||||
<section name="Anonymous CVS Access">
|
||||
<p>
|
||||
This project's CVS repository can be checked out through anonymous (pserver)
|
||||
CVS with the following instruction set.
|
||||
When prompted for a password for anonymous, simply press the Enter key.
|
||||
</p>
|
||||
#if ($repository.connection)
|
||||
<section name="Anonymous CVS Access">
|
||||
<p>
|
||||
This project's CVS repository can be checked out through anonymous (pserver)
|
||||
CVS with the following instruction set.
|
||||
When prompted for a password for anonymous, simply press the Enter key.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
cvs -d $conn login
|
||||
<br/>
|
||||
cvs -z3 -d $conn co $module
|
||||
</p>
|
||||
<p>
|
||||
cvs -d $conn login
|
||||
<br/>
|
||||
cvs -z3 -d $conn co $module
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Updates from within the module's directory do not need the -d parameter.
|
||||
</p>
|
||||
</section>
|
||||
<p>
|
||||
Updates from within the module's directory do not need the -d parameter.
|
||||
</p>
|
||||
</section>
|
||||
#end
|
||||
|
||||
<section name="Developer CVS Access via SSH">
|
||||
#if ($repository.developerConnection)
|
||||
#set ($conn = $repository.getCvsRoot($repository.developerConnection, 'username'))
|
||||
#set ($module = $repository.getCvsModule($repository.developerConnection))
|
||||
#set ($server = $repository.getCvsServer($repository.developerConnection))
|
||||
|
||||
<p>
|
||||
Only project developers can access the CVS tree via this method.
|
||||
SSH1 must be installed on your client machine. Substitute
|
||||
<b>name</b> with the proper value. Enter your site password when prompted.
|
||||
</p>
|
||||
<section name="Developer CVS Access via SSH">
|
||||
|
||||
<p>
|
||||
export CVS_RSH=ssh
|
||||
<br/>
|
||||
cvs -z3 -d $conn co $module
|
||||
</p>
|
||||
<p>
|
||||
Only project developers can access the CVS tree via this method.
|
||||
SSH1 must be installed on your client machine. Substitute
|
||||
<b>name</b> with the proper value. Enter your site password when prompted.
|
||||
</p>
|
||||
|
||||
</section>
|
||||
<p>
|
||||
export CVS_RSH=ssh
|
||||
<br/>
|
||||
cvs -z3 -d $conn co $module
|
||||
</p>
|
||||
|
||||
<section name="CVS Access behind a firewall">
|
||||
<p>
|
||||
Remember to replace 'username' with your actual username on $server.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For those developers who are stuck behind a corporate
|
||||
firewall, <a href="http://cvsgrab.sourceforge.net/">CVSGrab</a>
|
||||
can use the viewcvs web interface to checkout the source code.
|
||||
</p>
|
||||
</section>
|
||||
#end
|
||||
|
||||
</section>
|
||||
#if ($repository.url)
|
||||
<section name="CVS Access behind a firewall">
|
||||
|
||||
<p>
|
||||
For those developers who are stuck behind a corporate
|
||||
firewall, <a href="http://cvsgrab.sourceforge.net/">CVSGrab</a>
|
||||
can use the viewcvs web interface to checkout the source code.
|
||||
</p>
|
||||
|
||||
</section>
|
||||
#end
|
||||
|
||||
#end
|
||||
</body>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user