Re: Exporting Individual Files with the SCM Plugin
Philosophically I agree with your suggestion, but I am curious why I'm having trouble with the includes tag. Shouldn't it just work? On Sep 27, 2012 6:25 PM, Graham Leggett minf...@sharp.fm wrote: On 27 Sep 2012, at 23:14, Christopher Gardner chris.r.gard...@gmail.com wrote: 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. Import the jars into your own maven repository, keeping your own copy. Configure your build as you normally would. Trying to bend your maven pom into something ugly goes against maven, rather keep things as clean as possible. If they don't version their artifacts, version them for them, but make it crystal clear where the artifacts came from. You don't want to rely on someone else's system that may or may not be available at a future date, and suddenly you're panicking because your code no longer builds. Regards, Graham -- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Exporting Individual Files with the SCM Plugin
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 groupIdorg.apache.maven.plugins/groupId artifactIdmaven-scm-plugin/artifactId version1.8/version configuration usernamemyusername/username passwordmypassword/password checkoutDirectorytarget/checkout/checkoutDirectory connectionTypeconnection/connectionType connectionUrlscm:svn:http://machine/svn/project/connectionUrl includesfoo.jar,bar.jar/includes /configuration goals goalexport/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