Hi,
I'm trying to generate a normal site report using a
connection/developerConnection
'scm:cvs:pserver:myserver:/data/cvsroot:MavenTestApp'
Notice there is no username, since I do not want a developers username into
the
pom/scm/{connection|developerConnection} of a project, but in their
settings.xml.
And yes, it works specifying the username, but only if I specify the
username in
__BOTH__ the scm URLs.
The release-plugin can be configured to specify the username. The scm-plugin
also,
but this has no effect on the report (either in build, reporting or both). I
would expect
configuring the scm-plugin to make it work.
Results remain the same:
java.lang.IllegalArgumentException: Username isn't defined.
at
org.apache.maven.scm.provider.cvslib.repository.CvsScmProviderRepository.getCvsRootForCvsPass
(CvsScmProviderRepository.java:105)
at
org.apache.maven.scm.provider.cvslib.repository.CvsScmProviderRepository.getCvsRoot
(CvsScmProviderRepository.java:73)
at
org.apache.maven.report.projectinfo.ScmReport$ScmRenderer.developerAccessCVS
(ScmReport.java:479)
at
org.apache.maven.report.projectinfo.ScmReport$ScmRenderer.renderDeveloperAccessSection
(ScmReport.java:323)
at
org.apache.maven.report.projectinfo.ScmReport$ScmRenderer.renderBody(
ScmReport.java:186)
at org.apache.maven.reporting.AbstractMavenReportRenderer.render(
AbstractMavenReportRenderer.java:65)
at org.apache.maven.report.projectinfo.ScmReport.executeReport(
ScmReport.java:87)
I can work around this by disabling the scm report in the reportSets of the
project-info-reports-plugin, but that is not what I want.
Anybody here who's got a suggestion?
Thanks in advance.
--
Regards,
Michael.