Hi all,
We are trying to get set up with Subversion as our scm, but I am having
trouble getting it to write the changelog correctly. I have the following as
my repository setup:
<repository>
<connection>scm|svn|http://host:1234/svn/project</connection>
<url>http://host:1234/projects/project/browser</url>
</repository>
I also have the line,
"maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory", set
in my project.properties file.
This is fine as far as the Source Repository goes - the URL is picked up
fine. No I am presuming that the only thing that the Changelog plugin
requires is the 'maven.changelog.factory' property set, since I get the
following outpu from maven when I run site:generate.
[echo] Generating the Change Log...
maven-changelog-plugin:report:
[echo] Generating the changelog report
SCM Working Directory: c:\svn\common\trunk
SCM Command Line[0]: svn
SCM Command Line[1]: log
SCM Command Line[2]: -v
SCM Command Line[3]: -r{2004-12-31}:{2004-11-30}
ChangeLog found: 0 entries
I presume that the SvnChangeLogFactory simply runs the command "svn log -v
-r{...}{...}" in the current directory and has nothing to do with the
<connection> tag. Note the problem: "ChangeLog found: 0 entries"; running
the same command from the command line in the c:\svn\common\trunk directory
results in the long list of changes I had expected.
Any ideas on what the problem may be?
A related problem is Subversion authentication. How can I set up Maven to
run the ChangeLog tests (and, when I get around to trying it, the SCM goals)
if I have an authenticating SVN server (currently whilst testing, there is
no authentication required).
Thanks,
--
Anthony Roy.
**************************************************************************
Experience the British Library online at www.bl.uk
Help the British Library conserve the world's knowledge. Adopt a Book.
www.bl.uk/adoptabook
*************************************************************************
The information contained in this e-mail is confidential and may be legally
privileged. It is intended for the addressee(s) only. If you are not the
intended recipient, please delete this e-mail and notify the
[EMAIL PROTECTED] : The contents of this e-mail must not be disclosed or
copied without the sender's consent.
The statements and opinions expressed in this message are those of the
author and do not necessarily reflect those of the British Library. The
British Library does not take any responsibility for the views of the
author.
*************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]