You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Javier Piscoya <ja...@atosorigin.com> on 2006/05/10 15:47:07 UTC
release:prepared and scm:validate
Hi,
I'm trying to prepare a release of my project.
My pom is configured as follows:
<scm>
<connection>scm:cvs:ext:jpa@triton:/work/projects/cdmr/cdmr_cvs:scawilclient.jv</connection>
</scm>
I executed:
> mvn scm:validate and it says
[INFO] connectionUrl scm connection string is valid.
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
and then I invoke as:
> mvn release:prepare
-Dproject.scm.developerConnection=scm:cvs:ext:jpa@triton:/work/projects/cdmr/cdmr_cvs:scawilclient.jv
-DtagBase=ext:jpa@triton:/work/projects/cdmr/cdmr_cvs:scawilclient.jvTAG
but I get the error in the next trace:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An error is occurred in the status process.
Embedded error: Can't load the scm provider.
The scm url is invalid.
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An error is
occurred in the status process.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:219)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: An error is
occurred in the status process.
at
org.apache.maven.plugins.release.PrepareReleaseMojo.checkForLocalModifications(PrepareReleaseMojo.java:514)
at
org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:201)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
... 16 more
Caused by: org.apache.maven.scm.ScmException: Can't load the scm provider.
at
org.apache.maven.plugins.release.helpers.ScmHelper.getScmRepository(ScmHelper.java:104)
at
org.apache.maven.plugins.release.helpers.ScmHelper.getStatus(ScmHelper.java:169)
at
org.apache.maven.plugins.release.PrepareReleaseMojo.checkForLocalModifications(PrepareReleaseMojo.java:510)
... 19 more
Caused by: org.apache.maven.scm.repository.ScmRepositoryException: The
scm url is invalid.
at
org.apache.maven.scm.provider.cvslib.CvsScmProvider.makeProviderScmRepository(CvsScmProvider.java:98)
at
org.apache.maven.scm.manager.plexus.DefaultScmManager.makeScmRepository(DefaultScmManager.java:126)
at
org.apache.maven.plugins.release.helpers.ScmHelper.getScmRepository(ScmHelper.java:82)
Any idea bout this? how acnI solve my problem?
Regards,
Javier
------------------------------------------------------------------
This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail
in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group
liability cannot be triggered for the message content. Although the
sender endeavours to maintain a computer virus-free network, the sender does
not warrant that this transmission is virus-free and will not be liable for
any damages resulting from any virus transmitted.
Este mensaje y los ficheros adjuntos pueden contener informacion
confidencial destinada solamente a la(s) persona(s) mencionadas
anteriormente. Pueden estar protegidos por secreto profesional Si usted
recibe este correo electronico por error, gracias de informar inmediatamente
al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos
Origin no se hace responsable por su contenido. Su contenido no constituye
ningun compromiso para el grupo Atos Origin, salvo ratificacion escrita por
ambas partes.
Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
no puede garantizar nada al respecto y no sera responsable de cualesquiera
danos que puedan resultar de una transmision de virus
------------------------------------------------------------------
Re: release:prepared and scm:validate
Posted by Andrew Kreps <an...@gmail.com>.
You may need to use the 2.0-beta-4-SNAPSHOT release plugin code in
order to make this work with svn. I had to do that to get it working
with Perforce.
On 5/10/06, Javier Piscoya <ja...@atosorigin.com> wrote:
> Embedded error: Can't load the scm provider.
> The scm url is invalid.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE : release:prepared and scm:validate
Posted by Olivier Lamy <ol...@accor.com>.
Remove tagBase.
AFAIK it works only with svn
- Olivier
-----Message d'origine-----
De : Javier Piscoya [mailto:javier.piscoya@atosorigin.com]
Envoyé : mercredi 10 mai 2006 15:47
À : users@maven.apache.org
Objet : release:prepared and scm:validate
Hi,
I'm trying to prepare a release of my project.
My pom is configured as follows:
<scm>
<connection>scm:cvs:ext:jpa@triton:/work/projects/cdmr/cdmr_cvs:scawilcl
ient.jv</connection>
</scm>
I executed:
> mvn scm:validate and it says
[INFO] connectionUrl scm connection string is valid.
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
and then I invoke as:
> mvn release:prepare
-Dproject.scm.developerConnection=scm:cvs:ext:jpa@triton:/work/projects/
cdmr/cdmr_cvs:scawilclient.jv
-DtagBase=ext:jpa@triton:/work/projects/cdmr/cdmr_cvs:scawilclient.jvTAG
but I get the error in the next trace:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An error is occurred in the status process.
Embedded error: Can't load the scm provider.
The scm url is invalid.
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An error is
occurred in the status process.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:488)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.jav
a:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:219)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:140)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: An error is
occurred in the status process.
at
org.apache.maven.plugins.release.PrepareReleaseMojo.checkForLocalModific
ations(PrepareReleaseMojo.java:514)
at
org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareRelea
seMojo.java:201)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:534)
... 16 more
Caused by: org.apache.maven.scm.ScmException: Can't load the scm
provider.
at
org.apache.maven.plugins.release.helpers.ScmHelper.getScmRepository(ScmH
elper.java:104)
at
org.apache.maven.plugins.release.helpers.ScmHelper.getStatus(ScmHelper.j
ava:169)
at
org.apache.maven.plugins.release.PrepareReleaseMojo.checkForLocalModific
ations(PrepareReleaseMojo.java:510)
... 19 more
Caused by: org.apache.maven.scm.repository.ScmRepositoryException: The
scm url is invalid.
at
org.apache.maven.scm.provider.cvslib.CvsScmProvider.makeProviderScmRepos
itory(CvsScmProvider.java:98)
at
org.apache.maven.scm.manager.plexus.DefaultScmManager.makeScmRepository(
DefaultScmManager.java:126)
at
org.apache.maven.plugins.release.helpers.ScmHelper.getScmRepository(ScmH
elper.java:82)
Any idea bout this? how acnI solve my problem?
Regards,
Javier
------------------------------------------------------------------
This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you receive this
e-mail in error, please notify the sender immediately and destroy it. As
its integrity cannot be secured on the Internet, the Atos Origin group
liability cannot be triggered for the message content. Although the
sender endeavours to maintain a computer virus-free network, the sender
does not warrant that this transmission is virus-free and will not be
liable for any damages resulting from any virus transmitted.
Este mensaje y los ficheros adjuntos pueden contener informacion
confidencial destinada solamente a la(s) persona(s) mencionadas
anteriormente. Pueden estar protegidos por secreto profesional Si usted
recibe este correo electronico por error, gracias de informar
inmediatamente al remitente y destruir el mensaje. Al no estar asegurada
la integridad de este mensaje sobre la red, Atos Origin no se hace
responsable por su contenido. Su contenido no constituye ningun
compromiso para el grupo Atos Origin, salvo ratificacion escrita por
ambas partes. Aunque se esfuerza al maximo por mantener su red libre de
virus, el emisor no puede garantizar nada al respecto y no sera
responsable de cualesquiera danos que puedan resultar de una transmision
de virus
------------------------------------------------------------------
This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
-------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org