Correct me if I am wrong, but each developer do not checkout src via
Maven thus not needing to configure username/password in pom.xml or
settings.xml.
We have no username/password in connection, but we do have one for
developerConnection. The latter is used by Continuum and connection for
documentation (website).
-Ronny
-Opprinnelig melding-
Fra: M. v. Leeuwen [mailto:[EMAIL PROTECTED]
Sendt: 4. oktober 2006 11:21
Til: users@maven.apache.org
Emne: Configurable username in site report
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.developerAcces
sCVS
(ScmReport.java:479)
at
org.apache.maven.report.projectinfo.ScmReport$ScmRenderer.renderDevelope
rAccessSection
(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.
!DSPAM:452382ab260061272651560!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]