It’s not easy for me to get the maven-release plugin to work with our CVS repository. I hope I missed something obvious or am no longer using CVS / pserver and Maven2 / 3?
The first problem is the scm url:
The maven CVS provider claims that the actual scm URL is as follows:
scm:cvs<delimiter>pserver<delimiter>[username[<delimiter>password]@]servername[<delimiter>port]<delimiter>path_to_repository<delimiter>module_name
So I'm trying
<scm>
<connection>scm:cvs:pserver:cvssserver:/home/cvs/repository/projecta:ejbprojectA</connection>
</scm>
which must be a valid CVS scm url. For the release plugin, I set the username inside the local settings.xml file directly in the plugin configuration. The release plugin works fine with this, but this leads to an error when creating the maven site:
[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:113)
This seems to be a three year bug in the scm plugin: http://jira.codehaus.org/browse/SCM-350
, (4-) maven-release-: http://jira.codehaus.org/browse/MRELEASE-128
, - , .
- , maven, , CVS , , SVN, cvs ( pom )
, : - maven-release- cvs? ? ? ( eclipse...)?