Does wagon-scm work with maven-scm-provider-gitexe?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Does wagon-scm work with maven-scm-provider-gitexe?

Kathryn Huxtable
And if so, what versions?

I'm working on a plugin, so I'm including a bunch of plexus and other stuff. Is that important?

I have the following in my POM:

<extensions>
  <extension>
    <groupId>org.apache.maven.wagon</groupId>
    <artifactId>wagon-scm</artifactId>
    <version>1.0-beta-6</version>
  </extension>
  <extension>
    <groupId>org.apache.maven.scm</groupId>
    <artifactId>maven-scm-manager-plexus</artifactId>
    <version>1.3</version>
  </extension>
  <extension>
    <groupId>org.apache.maven.scm</groupId>
    <artifactId>maven-scm-provider-gitexe</artifactId>
    <version>1.3</version>
  </extension>
</extensions>

And:

<distributionManagement>
  ...
  <site>
    <id>gh-pages</id>
    <url>scm:git:[hidden email]:khuxtable/imagegenerator-maven-plugin.git</url>
  </site>
</distributionManagement>

I'm using version 2.1 of the site plugin. When I run "mvn site:deploy" I get:

[INFO] [site:deploy {execution: default-cli}]
scm:git:[hidden email]:khuxtable/imagegenerator-maven-plugin.git - Session: Opened  
Uploading: . to scm:git:[hidden email]:khuxtable/imagegenerator-maven-plugin.git

scm:git:[hidden email]:khuxtable/imagegenerator-maven-plugin.git - Session: Disconnecting  
scm:git:[hidden email]:khuxtable/imagegenerator-maven-plugin.git - Session: Disconnected
[FATAL ERROR] org.apache.maven.plugins.site.SiteDeployMojo#execute() caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[org.apache.maven.plugins:maven-site-plugin:2.1]
urls[0] = file:/Users/huxtable/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.jar
urls[1] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar
urls[2] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1.2/doxia-module-xhtml-1.1.2.jar
urls[3] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-core/1.1.2/doxia-core-1.1.2.jar
urls[4] = file:/Users/huxtable/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
urls[5] = file:/Users/huxtable/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar
urls[6] = file:/Users/huxtable/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
urls[7] = file:/Users/huxtable/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
urls[8] = file:/Users/huxtable/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
urls[9] = file:/Users/huxtable/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
urls[10] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-module-apt/1.1.2/doxia-module-apt-1.1.2.jar
urls[11] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-module-xdoc/1.1.2/doxia-module-xdoc-1.1.2.jar
urls[12] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.1.2/doxia-module-fml-1.1.2.jar
urls[13] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.1.2/doxia-decoration-model-1.1.2.jar
urls[14] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.1.2/doxia-site-renderer-1.1.2.jar
urls[15] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
urls[16] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar
urls[17] = file:/Users/huxtable/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
urls[18] = file:/Users/huxtable/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
urls[19] = file:/Users/huxtable/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
urls[20] = file:/Users/huxtable/.m2/repository/org/apache/maven/shared/maven-doxia-tools/1.2/maven-doxia-tools-1.2.jar
urls[21] = file:/Users/huxtable/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
urls[22] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
urls[23] = file:/Users/huxtable/.m2/repository/org/mortbay/jetty/jetty/6.1.5/jetty-6.1.5.jar
urls[24] = file:/Users/huxtable/.m2/repository/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.jar
urls[25] = file:/Users/huxtable/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/usr/local/maven/lib/maven-2.2.1-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
        at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.getBaseGitCommandLine(GitCommandLineUtils.java:82)
        at org.apache.maven.scm.provider.git.gitexe.command.list.GitListCommand.createCommandLine(GitListCommand.java:81)
        at org.apache.maven.scm.provider.git.gitexe.command.list.GitListCommand.executeListCommand(GitListCommand.java:64)
        at org.apache.maven.scm.command.list.AbstractListCommand.executeCommand(AbstractListCommand.java:64)
        at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58)
        at org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:289)
        at org.apache.maven.scm.provider.git.AbstractGitScmProvider.list(AbstractGitScmProvider.java:300)
        at org.apache.maven.scm.provider.AbstractScmProvider.list(AbstractScmProvider.java:625)
        at org.apache.maven.wagon.providers.scm.ScmWagon.checkOut(ScmWagon.java:371)
        at org.apache.maven.wagon.providers.scm.ScmWagon.putInternal(ScmWagon.java:285)
        at org.apache.maven.wagon.providers.scm.ScmWagon.putDirectory(ScmWagon.java:510)
        at org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:215)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        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:597)
        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)
[INFO] ------------------------------------------------------------------------

Any ideas?

-K
Reply | Threaded
Open this post in threaded view
|

Re: Does wagon-scm work with maven-scm-provider-gitexe?

Kathryn Huxtable
On Mar 28, 2010, at 9:29 PM, Kathryn Huxtable wrote:

> And if so, what versions?
>
> I'm working on a plugin, so I'm including a bunch of plexus and other stuff. Is that important?
>  ...

I should have mentioned that I'm running Maven 2.2.1.

-K
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Does wagon-scm work with maven-scm-provider-gitexe?

brettporter
Administrator
In reply to this post by Kathryn Huxtable

On 29/03/2010, at 1:29 PM, Kathryn Huxtable wrote:

> urls[1] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar


It looks like the project is using an older version of this library than is needed (at least 1.5.6). You should add the newer version to you extensions also. Re-ordering the extensions so that SCM is listed first may also help.

- Brett

--
Brett Porter
[hidden email]
http://brettporter.wordpress.com/





---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Does wagon-scm work with maven-scm-provider-gitexe?

Kathryn Huxtable
In reply to this post by Kathryn Huxtable
Okay, I see, looking at the source for maven-scm-provider-gitexe that "list" isn't implemented. It is apparently used by the wagen-scm extension. I've verified that the wagon-scm does work with my subversion repo.

So git just isn't as mature at this point.

Is anyone actively developing wagon-scm?

Why aren't the wagons compatible with version 1.3 of the scm code. I couldn't use anything later than 1.1 if I wanted the wagon-scm to work.

Inquiring minds want to know...

-K

On Mar 28, 2010, at 9:29 PM, Kathryn Huxtable wrote:

> And if so, what versions?
>
> I'm working on a plugin, so I'm including a bunch of plexus and other stuff. Is that important?
>
> I have the following in my POM:
>
> <extensions>
>  <extension>
>    <groupId>org.apache.maven.wagon</groupId>
>    <artifactId>wagon-scm</artifactId>
>    <version>1.0-beta-6</version>
>  </extension>
>  <extension>
>    <groupId>org.apache.maven.scm</groupId>
>    <artifactId>maven-scm-manager-plexus</artifactId>
>    <version>1.3</version>
>  </extension>
>  <extension>
>    <groupId>org.apache.maven.scm</groupId>
>    <artifactId>maven-scm-provider-gitexe</artifactId>
>    <version>1.3</version>
>  </extension>
> </extensions>
>
> And:
>
> <distributionManagement>
>  ...
>  <site>
>    <id>gh-pages</id>
>    <url>scm:git:[hidden email]:khuxtable/imagegenerator-maven-plugin.git</url>
>  </site>
> </distributionManagement>
>
> I'm using version 2.1 of the site plugin. When I run "mvn site:deploy" I get:
>
> [INFO] [site:deploy {execution: default-cli}]
> scm:git:[hidden email]:khuxtable/imagegenerator-maven-plugin.git - Session: Opened  
> Uploading: . to scm:git:[hidden email]:khuxtable/imagegenerator-maven-plugin.git
>
> scm:git:[hidden email]:khuxtable/imagegenerator-maven-plugin.git - Session: Disconnecting  
> scm:git:[hidden email]:khuxtable/imagegenerator-maven-plugin.git - Session: Disconnected
> [FATAL ERROR] org.apache.maven.plugins.site.SiteDeployMojo#execute() caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
> [FATAL ERROR] Plugin realm = app0.child-container[org.apache.maven.plugins:maven-site-plugin:2.1]
> urls[0] = file:/Users/huxtable/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.jar
> urls[1] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar
> urls[2] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1.2/doxia-module-xhtml-1.1.2.jar
> urls[3] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-core/1.1.2/doxia-core-1.1.2.jar
> urls[4] = file:/Users/huxtable/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
> urls[5] = file:/Users/huxtable/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar
> urls[6] = file:/Users/huxtable/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
> urls[7] = file:/Users/huxtable/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
> urls[8] = file:/Users/huxtable/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[9] = file:/Users/huxtable/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[10] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-module-apt/1.1.2/doxia-module-apt-1.1.2.jar
> urls[11] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-module-xdoc/1.1.2/doxia-module-xdoc-1.1.2.jar
> urls[12] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.1.2/doxia-module-fml-1.1.2.jar
> urls[13] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.1.2/doxia-decoration-model-1.1.2.jar
> urls[14] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.1.2/doxia-site-renderer-1.1.2.jar
> urls[15] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
> urls[16] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar
> urls[17] = file:/Users/huxtable/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
> urls[18] = file:/Users/huxtable/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
> urls[19] = file:/Users/huxtable/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
> urls[20] = file:/Users/huxtable/.m2/repository/org/apache/maven/shared/maven-doxia-tools/1.2/maven-doxia-tools-1.2.jar
> urls[21] = file:/Users/huxtable/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
> urls[22] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
> urls[23] = file:/Users/huxtable/.m2/repository/org/mortbay/jetty/jetty/6.1.5/jetty-6.1.5.jar
> urls[24] = file:/Users/huxtable/.m2/repository/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.jar
> urls[25] = file:/Users/huxtable/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar
> [FATAL ERROR] Container realm = plexus.core
> urls[0] = file:/usr/local/maven/lib/maven-2.2.1-uber.jar
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
> at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.getBaseGitCommandLine(GitCommandLineUtils.java:82)
> at org.apache.maven.scm.provider.git.gitexe.command.list.GitListCommand.createCommandLine(GitListCommand.java:81)
> at org.apache.maven.scm.provider.git.gitexe.command.list.GitListCommand.executeListCommand(GitListCommand.java:64)
> at org.apache.maven.scm.command.list.AbstractListCommand.executeCommand(AbstractListCommand.java:64)
> at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58)
> at org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:289)
> at org.apache.maven.scm.provider.git.AbstractGitScmProvider.list(AbstractGitScmProvider.java:300)
> at org.apache.maven.scm.provider.AbstractScmProvider.list(AbstractScmProvider.java:625)
> at org.apache.maven.wagon.providers.scm.ScmWagon.checkOut(ScmWagon.java:371)
> at org.apache.maven.wagon.providers.scm.ScmWagon.putInternal(ScmWagon.java:285)
> at org.apache.maven.wagon.providers.scm.ScmWagon.putDirectory(ScmWagon.java:510)
> at org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:215)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> 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:597)
> 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)
> [INFO] ------------------------------------------------------------------------
>
> Any ideas?
>
> -K


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Does wagon-scm work with maven-scm-provider-gitexe?

Kathryn Huxtable
In reply to this post by brettporter
Okay, updating the plexus utils has other issues in my project, but I'll figure them out. Reordering the extensions did the trick for the extension versions. Thanks.

I've created a very simple project at http://github.com/khuxtable/test-project, which has no source (or docs) just to test site deploy. So the files I'm deploying are all just generated reports from the reporting element.

I have the following in my POM:

<distributionManagement>
  <site>
    <id>test-project-site</id>
    <url>scm:git:git+ssh://[hidden email]/khuxtable/test-project.git</url>
    <!--<url>scm:svn:https://seaglass.googlecode.com/svn/test-project-site</url>-->
  </site>
</distributionManagement>
<scm>
  <connection>scm:git:git://github.com/khuxtable/test-project.git</connection>
  <developerConnection>scm:git:git+ssh://[hidden email]/khuxtable/test-project.git</developerConnection>
  <url>http://github.com/khuxtable/test-project</url>
</scm>

I get the following error when I do "mvn site:deploy":

scm:git:git+ssh://github.com/khuxtable/test-project.git - Session: Opened  
Uploading: . to scm:git:git+ssh://github.com/khuxtable/test-project.git

[INFO] Executing: /bin/sh -c cd /Users/huxtable/Documents/workspace/test-project/. && git ls-files
[INFO] Working directory: /Users/huxtable/Documents/workspace/test-project/.
[INFO] Executing: /bin/sh -c cd /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp- && git clone git+ssh//github.com/khuxtable/test-project.git/. /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp-/wagon-scm472467110.checkout
[INFO] Working directory: /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp-
 Transfer error: org.apache.maven.scm.ScmException: Unable to commit file. The git-clone command failed. fatal: Could not switch to 'git+ssh//github.com/khuxtable/test-project.git': No such file or directory

scm:git:git+ssh://github.com/khuxtable/test-project.git - Session: Disconnecting  
scm:git:git+ssh://github.com/khuxtable/test-project.git - Session: Disconnected
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error uploading site

It looks to me as if someone is munging the repo URL.

I'm using the same syntax for it that I use for the <developerConnection> element. Should I be?

What I really want to do, of course, is to push to the gh-pages branch, but I don't see any configuration to allow me to do that.

-K

On Mar 29, 2010, at 1:18 PM, Brett Porter wrote:

>
> On 29/03/2010, at 1:29 PM, Kathryn Huxtable wrote:
>
>> urls[1] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar
>
>
> It looks like the project is using an older version of this library than is needed (at least 1.5.6). You should add the newer version to you extensions also. Re-ordering the extensions so that SCM is listed first may also help.
>
> - Brett
>
> --
> Brett Porter
> [hidden email]
> http://brettporter.wordpress.com/
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

Reply | Threaded
Open this post in threaded view
|

Re: Does wagon-scm work with maven-scm-provider-gitexe?

Kathryn Huxtable
On Mar 30, 2010, at 11:29 AM, Kathryn Huxtable wrote:

> [INFO] Executing: /bin/sh -c cd /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp- && git clone git+ssh//github.com/khuxtable/test-project.git/. /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp-/wagon-scm472467110.checkout

I especially like the "/." after the "test-project.git". Funny.

I have just tried the url

  scm:git:[hidden email]:khuxtable/test-project.git

and got

[INFO] Executing: /bin/sh -c cd /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp- && git clone '[hidden email]:khuxtable/test-project.git gh-pages/.' /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp-/wagon-scm587989183.checkout
[INFO] Working directory: /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp-
 Transfer error: org.apache.maven.scm.ScmException: Unable to commit file. The git-clone command failed. ERROR: Repository not found.  Make sure you include the .git, e.g. [hidden email]:defunkt/ambition.git

Which is just as funny, if not funnier. It's a lot closer to what I want, which is of course

    git clone '[hidden email]:khuxtable/test-project.git' -b gh-pages '/var/folders/blahblahblah'

-K
Reply | Threaded
Open this post in threaded view
|

Re: Does wagon-scm work with maven-scm-provider-gitexe?

brettporter
Administrator
I don't think wagon-scm has been tested with git - while most is generic there's a chance it won't work yet. You could file an issue in WAGON. You might also get help from more general git / scm users on [hidden email].

- Brett

On 31/03/2010, at 3:47 AM, Kathryn Huxtable wrote:

> On Mar 30, 2010, at 11:29 AM, Kathryn Huxtable wrote:
>
>> [INFO] Executing: /bin/sh -c cd /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp- && git clone git+ssh//github.com/khuxtable/test-project.git/. /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp-/wagon-scm472467110.checkout
>
> I especially like the "/." after the "test-project.git". Funny.
>
> I have just tried the url
>
>  scm:git:[hidden email]:khuxtable/test-project.git
>
> and got
>
> [INFO] Executing: /bin/sh -c cd /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp- && git clone '[hidden email]:khuxtable/test-project.git gh-pages/.' /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp-/wagon-scm587989183.checkout
> [INFO] Working directory: /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp-
> Transfer error: org.apache.maven.scm.ScmException: Unable to commit file. The git-clone command failed. ERROR: Repository not found.  Make sure you include the .git, e.g. [hidden email]:defunkt/ambition.git
>
> Which is just as funny, if not funnier. It's a lot closer to what I want, which is of course
>
>    git clone '[hidden email]:khuxtable/test-project.git' -b gh-pages '/var/folders/blahblahblah'
>
> -K

--
Brett Porter
[hidden email]
http://brettporter.wordpress.com/





---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]