Hello,
I am using maven 2.1.0 and the following configuration in my pom:
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-scm</artifactId>
<version>1.0-beta-5</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-manager-plexus</artifactId>
<version>1.0</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-svnexe</artifactId>
<version>1.0</version>
</extension>
I don't know if the configuration for the SCMs is correct; I copied it
from the pom of org.apache.maven.wagon:wagon-scm:1.0-beta-5. Anyway, when
I try to deploy the project, I get an exception:
-------------------------
[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from
maven-yapp-plugin.googlecode.snapshots
[DEBUG] Connecting to repository: 'maven-yapp-plugin.googlecode.snapshots'
with url:
'scm:svn:https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots'.
[INFO] Executing: svn --username [email protected] --password *****
09:38:17" --non-interactive checkout
https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots/at/raibau/yapp/0.1.2-SNAPSHOT
0.1.2-SNAPSHOT
[INFO] Working directory:
c:\DOCUME~1\wbsser\LOCALS~1\Temp\wagon-scm1207696292.checkout\at\raibau\yapp
[INFO] repository metadata for: 'snapshot at.raibau:yapp:0.1.2-SNAPSHOT'
could not be found on repository: maven-yapp-plugin.googlecode.snapshots,
so will be created
[DEBUG] not adding permissions to wagon connection
Uploading:
scm:svn:https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots/at/raibau/yapp/0.1.2-SNAPSHOT/yapp-0.1.2-20090403.134343-1.jar
[INFO] Executing: svn --username [email protected] --password *****
09:38:17" --non-interactive list
https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots/at/raibau/yapp/0.1.2-SNAPSHOT
[INFO] Working directory: c:\DOCUME~1\wbsser\LOCALS~1\Temp
[INFO] Executing: svn --username [email protected] --password *****
09:38:17" --non-interactive list
https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots/at/raibau/yapp
[INFO] Working directory: c:\DOCUME~1\wbsser\LOCALS~1\Temp
[INFO] Executing: svn --username [email protected] --password *****
09:38:17" --non-interactive list
https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots/at/raibau
[INFO] Working directory: c:\DOCUME~1\wbsser\LOCALS~1\Temp
[INFO] Executing: svn --username [email protected] --password *****
09:38:17" --non-interactive list
https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots/at
[INFO] Working directory: c:\DOCUME~1\wbsser\LOCALS~1\Temp
[INFO] Executing: svn --username [email protected] --password *****
09:38:17" --non-interactive checkout
https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots/
wagon-scm1275150700.checkout
[INFO] Working directory: c:\DOCUME~1\wbsser\LOCALS~1\Temp
[DEBUG] Unable to commit file. The svn command failed. svn: OPTIONS of
'https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots':
authorization failed (https://maven-yapp-plugin.googlecode.com)
org.apache.maven.scm.ScmException: Unable to commit file. The svn command
failed. svn: OPTIONS of
'https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots':
authorization failed (https://maven-yapp-plugin.googlecode.com)
at
org.apache.maven.wagon.providers.scm.ScmWagon.checkScmResult(ScmWagon.java:525)
at
org.apache.maven.wagon.providers.scm.ScmWagon.checkOut(ScmWagon.java:399)
at
org.apache.maven.wagon.providers.scm.ScmWagon.putInternal(ScmWagon.java:285)
at
org.apache.maven.wagon.providers.scm.ScmWagon.put(ScmWagon.java:254)
at
org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:262)
at
org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:172)
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)
at
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)
.
.
.
-------------------------
When I input the svn checkout command myself with exactly the same
arguments (except for 09:38:17" and for the password), I have no problems.
What is the reason for the exception? Is there a workaround? And by the
way, what does 09:38:17" mean?
Thanks
-- clovis
______________________________________
Diese E-Mail kann vertrauliche und geschuetzte Informationen enthalten. Wenn
diese E-Mail nicht für Sie bestimmt ist, bitten wir Sie, uns unverzueglich zu
informieren und sie zu loeschen.
This e-mail message may contain information, which is confidential and
protected. If you are not the intended recipient of this message, we ask you to
inform us immediately and delete the message afterwards.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]