I am curious why scm export supports the includes and excludes tags.
On Sep 27, 2012 6:32 PM, "Olivier Lamy" <ol...@apache.org> wrote:

> 2012/9/28 Olivier Lamy <ol...@apache.org>:
> > 2012/9/28 Christopher Gardner <chris.r.gard...@gmail.com>:
> >> I'd like to export a few jar files from an svn location.  These jar
> files
> >> are developed by other developers at my company and have no maven
> support,
> >> and probably never will.
> > sad :-)
> >> I have the following entry in my pom:
> >>
> >> <plugin>
> >>   <groupId>org.apache.maven.plugins</groupId>
> >>   <artifactId>maven-scm-plugin</artifactId>
> >>   <version>1.8</version>
> >>   <configuration>
> >>     <username>myusername</username>
> >>     <password>mypassword</password>
> >>     <checkoutDirectory>target/checkout</checkoutDirectory>
> >>     <connectionType>connection</connectionType>
> >>     <connectionUrl>scm:svn:http://machine/svn/project</connectionUrl >
> >>     <includes>foo.jar,bar.jar</includes>
> >>   </configuration>
> >>   <goals>
> >>     <goal>export</goal>
> >>   </goals>
> >> </plugin>
> >
> > That won't work (in fact includes is in parent class so this parameter
> > is listed in this mojo).
> > Why because svn cli doesn't support that :-)
>
> Maybe we could do that tru svnkit with the svnjava implementation
> (http://code.google.com/a/apache-extras.org/p/maven-scm-provider-svnjava/)
> Just an idea as I didn't check the svnkit api
>
> > Maybe you can use a http get to the svn path ? the plugin
> > http://mojo.codehaus.org/wagon-maven-plugin/ can help for that.
> >
> >
> >>
> >> It appears that the includes tag is ignored, as the entire "project"
> >> directory is being exported. Any ideas as to what I'm doing wrong?
> >>
> >> I'm using this version of maven: Apache Maven 3.0.4 (r1232337;
> 2012-01-17
> >> 03:44:56-0500)
> >>
> >> Thanks in advance.
> >
> >
> >
> > --
> > Olivier Lamy
> > Talend: http://coders.talend.com
> > http://twitter.com/olamy | http://linkedin.com/in/olamy
>
>
>
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to