The goal isn't svn:checkout but scm:checkout

Emmanuel

Mick Knutson a écrit :
Thanks, that got me a little closer, but now I have something new.

Here is my plugin:
           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-scm-plugin</artifactId>
               <version>1.0-beta-2</version>

               <configuration>
                   <debug>true></debug>
                   <username>${svn.username}</username>
                   <password>${svn.password}</password>
                   <excludes>*.class</excludes>
                   <includes>*.java</includes>

               </configuration>

<!-- This should be only used in the dev/integration servers profile.
               <executions>
                   <execution>
                       <id>scm</id>
                       <phase>validate</phase>
                       <goals>
                           <goal>checkout</goal>
                       </goals>
                       <inherited>true</inherited>
                       <configuration>
                           <debug>true></debug>
                           <password>${svn.password}</password>
                           <excludes>*.class</excludes>
                           <includes>*.java</includes>
                           <workingDirectory>furlm2</workingDirectory>
                           <username>${svn.username}</username>

<connectionUrl>${svn.connectionUrl}</connectionUrl>
                       </configuration>
                   </execution>
               </executions>-->
           </plugin>




C:\opt\furl\furlm2>mvn svn:checkout -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'svn'.
[INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ---------------------------------------------------------------------------- [INFO] The plugin 'org.apache.maven.plugins:maven-svn-plugin' does not exist or no valid version could be found [INFO] ----------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-svn-plugin' does not exist or no valid version coul
d be found
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1247) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:378) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:134)
       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:249)
       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:324)
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.version.PluginVersionNotFoundException: The plugin 'org.apache.maven.plugins:maven-svn-plugin' does not exist or no
valid version could be found
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:225) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:87) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:160) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1218)
       ... 14 more
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Feb 27 13:01:46 PST 2006
[INFO] Final Memory: 1M/2M





---
Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

Washington Mutual (WAMU) (Emeryville, California)
---




From: "Wayne Fay" <[EMAIL PROTECTED]>
Reply-To: "Maven Users List" <[email protected]>
To: "Maven Users List" <[email protected]>
Subject: Re: [m202] 'svn' is not recognized as an internal or external command
Date: Mon, 27 Feb 2006 12:22:11 -0600

Make sure "svn" command is in your path. Looks like you're on Windows.
In the same DOS box, type "svn --version" and make sure it works.

C:\dev\java.net\glassfish>svn --version
svn, version 1.1.1 (r11581)
   compiled Oct 23 2004, 14:47:47

Wayne


On 2/27/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
> Whoops. Forgot to scrub my cfg's, but have already changed my password
> anyways.
> Damn I hate when that happends.
>
>
> ---
> Thank You
> Mick Knutson
>
> Sr. Java/J2EE Consultant
> BASE logic, inc.
> (415) 648-1804 (S.F., CA)
> http://www.BASELogic.com
>
> Washington Mutual (WAMU) (Emeryville, California)
> ---
>
>
>
>
> >From: "Mick Knutson" <[EMAIL PROTECTED]>
> >Reply-To: "Maven Users List" <[email protected]>
> >To: [email protected]
> >Subject: [m202] 'svn' is not recognized as an internal or external command
> >Date: Mon, 27 Feb 2006 10:11:25 -0800
> >
> >I have configured my scm as this:
> >    <scm>
> >        <connection>scm:svn:http://prodeng/svn/furl</connection>
> >        <url>http://prodeng/svn/furl</url>
> >    </scm>
> >
> >
> >and my plugin (not under dependancy management) as this:
> >            <plugin>
> >                <groupId>org.apache.maven.plugins</groupId>
> >                <artifactId>maven-scm-plugin</artifactId>
> >                <version>1.0-beta-2</version>
> >
> >                <configuration>
> >                    <debug>true></debug>
> >                    <username>mknutson</username>
> >                    <password>****</password>
> >                    <excludes>*.class</excludes>
> >                    <includes>*.java</includes>
> >
> >                </configuration>
> >            </plugin>
> >
> >
> >
> >
> >And when I run mvn scm:checkout I get this:
> >
> >
> >
> >[INFO]
> >----------------------------------------------------------------------------
> >[INFO] Building LS Furl Project
> >[INFO]    task-segment: [scm:checkout] (aggregator-style)
> >[INFO]
> >----------------------------------------------------------------------------
> >[INFO] [scm:checkout]
> >[INFO] Removing C:\opt\furl\furlm2\trunk\target\checkout
> >[INFO] Working directory: C:\opt\furl\furlm2\trunk\target\checkout
> >[INFO] Command line: svn --username mknutson --password ********
> >--non-interactive checkout http://prodeng/svn/furl checkout
> >[ERROR] Provider message:
> >[ERROR] The svn command failed.
> >[ERROR] Command output:
> >[ERROR] 'svn' is not recognized as an internal or external command,
> >operable program or batch file.
> >
> >
> >
> >
> >---
> >Thank You
> >Mick Knutson
> >
> >Sr. Java/J2EE Consultant
> >BASE logic, inc.
> >(415) 648-1804 (S.F., CA)
> >http://www.BASELogic.com
> >
> >Washington Mutual (WAMU) (Emeryville, California)
> >---
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to