try mvn validate

curious, why do you want to attach scm:checkout to validate phase?

-Dan


On 2/27/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> I don't use Maven SCM at this point, so I can't help you here.
>
> Perhaps someone else who is using SVN in a similar manner can supply
> their pom.xml?
>
> Wayne
>
>
> On 2/27/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > 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 could be found
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to