Re: SV: Configurable username in site report

2006-10-04 Thread M. v. Leeuwen

It is possible to make use of a common SCM user for making the releases
and the assembly, but then there is no way to track which user constructed
it. A common user also has the disadvantage of everybody knowing the
password (and possibly misusing the account).

Thanks for the suggestion though. It may well be the simplest workaround.

Regards,
Michael.


From: "Naess, Ronny" <[EMAIL PROTECTED]>
To: "Maven Users List" 
Date: Wed, 4 Oct 2006 12:16:39 +0200
Subject: SV: Configurable username in site report
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


SV: Configurable username in site report

2006-10-04 Thread Naess, Ronny
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]