maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SCM-376) 'Username isn't defined.' when generating SCM report if CVS port number is specified in SCM URL
Date Sun, 30 Dec 2018 22:26:00 GMT

    [ https://issues.apache.org/jira/browse/SCM-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731101#comment-16731101
] 

Michael Osipov commented on SCM-376:
------------------------------------

Is this one still valid?

> 'Username isn't defined.' when generating SCM report if CVS port number is specified
in SCM URL
> -----------------------------------------------------------------------------------------------
>
>                 Key: SCM-376
>                 URL: https://issues.apache.org/jira/browse/SCM-376
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-cvs, maven-scm-site
>    Affects Versions: 1.0
>            Reporter: Geert Pante
>            Priority: Minor
>             Fix For: waiting-for-feedback
>
>
> I have an CVS connection URL defined as follows:
> scm:cvs:pserver:continuum@gnllx002.ebit.be:2401:/data01/cvsroot_bkh:VCG_BKH/uBaseBkh
> When I try mvn site, the stage 'Generating "Source Repository" report.' fails as shown
below. 
> If I remove the :2401, it works OK.
> [INFO] Generating "Source Repository" report.
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Username isn't defined.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> 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)
>         at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:101)
>         at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:139)
>         at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:269)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message