AW: Maven assembly differs when built on Windows vs. Unix
I noticed the difference between 2.2-beta-1 and 2.2-beta-2 as well. Either lock the plugin version: maven-assembly-plugin 2.2-beta-1 or update your plugins by starting Maven with "-U" to have the latest version on all your systems. Regards, - Torben Giesselmann > -Ursprüngliche Nachricht- > Von: Robin Roos [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 8. April 2008 15:53 > An: users@maven.apache.org > Betreff: Maven assembly differs when built on Windows vs. Unix > > Hi Folks > > I've raised a JIRA issue regarding my project. When I do mvn > assembly:assembly on Windows I get good artifacts, but the > contents of my .tar files differs materially when the same is > done on Linux (our build server). > > The problem concerns my introduction of classifier-based > artifacts for a couple of shared libraries which as specific > to solaris, linux_2x and linux_3x. > > Any comments on http://jira.codehaus.org/browse/MASSEMBLY-304 > would be greatly appreciated as I'm up against the wall on > this right now. > > I think it would be very useful to see the version number of > the Maven Assembly Plugin but I can't see a way of doing so. > As far as I know these are vanilla Maven 2.0.8 installs on > both boxes. With so many classifier-based issues relatively > recently addressed in the Assembly plug-in it would be good > to vallidate the version I have. > > Thanks, Robin. > > _ > Before acting on this e mail or opening any attachment please > read the disclaimer which can be accessed at > http://www.investec.com/EmailDisclaimer/UKEmailDisclaimer.htm > Investec Bank (UK) Limited is authorised and regulated by the > Financial Services Authority. > _ > > _ > This e-mail has been scanned for viruses by MCI's Internet > Managed Scanning Services - powered by MessageLabs. For > further information visit http://www.mci.com > > Investec Bank (UK) Limited > Registered office: 2 Gresham Street, London, EC2V 7QP Company > No: 00489604 Incorporated in England and Wales > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Third party dependency
I don't really know if there's a builtin way to do this. But you could always use Maven's Groovy plugin and execute a Groovy script at the "install" goal: - have it download the file - unpack it and do whatever file operations you like - start a new process executing a 'mvn install:install-file' Still ... it seems like a "hack" to me. ;-) Maybe there's a better way. Regards, - Torben > -Ursprüngliche Nachricht- > Von: Cosmin Marginean [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 4. April 2008 14:33 > An: Maven Users List > Betreff: Re: Third party dependency > > Hello, > > Thanks for the reply. I apologize for being uncler. I only > realized that now that I am reading my initial mail again. The part: > > > This means that I would like to be able to download a zip from > > http://somehost.com/somepath/something.zip, unpack it and copy some > > jar from there in the local Maven repository. I would like > to be able > > to run this before the plugin goal is runing. > > actually means that I would like to do this automatically > when the plugin is installed. So what I actually need to know > if it's possible with conventional Maven weapons to do these > operations (download + unpack + install with a > group/artifactId/etc in local repo) automatically. > > Thanks again. My bests, > Cosmin > > On Fri, Apr 4, 2008 at 3:17 PM, Giesselmann, Torben < > [EMAIL PROTECTED]> wrote: > > > Heya -- you can install the library in your local > repository, see here: > > > > > > http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html > > > > Or you could just as well setup an internal repository: > > > > > > > http://maven.apache.org/guides/introduction/introduction-to-repositori > > es.html > > > > Regards, > > - Torben Giesselmann > > > > > > > > > > > -Ursprüngliche Nachricht- > > > Von: Cosmin Marginean [mailto:[EMAIL PROTECTED] > > > Gesendet: Donnerstag, 3. April 2008 15:46 > > > An: Maven Users List > > > Betreff: Third party dependency > > > > > > Hello, > > > > > > I am having this issue related to a third-party dependency. > > > It's about Saxon and some license issues that are not > clarified yet. > > > I have a Maven plugin that is using the Saxon > transformer. However, > > > I would like to know if Maven provides a solution to use a > > > dependency when it's not in a Maven repository. > > > This means that I would like to be able to download a zip from > > > http://somehost.com/somepath/something.zip, unpack it and > copy some > > > jar from there in the local Maven repository. I would like to be > > > able to run this before the plugin goal is runing. > > > I know I could do this from Java code with some tricks, > but I would > > > like to know if there is a "standard" approach for this > using Maven. > > > > > > Thanks in advance > > > -- > > > Cosmin Marginean > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Cosmin Marginean > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Third party dependency
Heya -- you can install the library in your local repository, see here: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html Or you could just as well setup an internal repository: http://maven.apache.org/guides/introduction/introduction-to-repositories.html Regards, - Torben Giesselmann > -Ursprüngliche Nachricht- > Von: Cosmin Marginean [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 3. April 2008 15:46 > An: Maven Users List > Betreff: Third party dependency > > Hello, > > I am having this issue related to a third-party dependency. > It's about Saxon and some license issues that are not > clarified yet. I have a Maven plugin that is using the Saxon > transformer. However, I would like to know if Maven provides > a solution to use a dependency when it's not in a Maven repository. > This means that I would like to be able to download a zip > from http://somehost.com/somepath/something.zip, unpack it > and copy some jar from there in the local Maven repository. I > would like to be able to run this before the plugin goal is runing. > I know I could do this from Java code with some tricks, but I > would like to know if there is a "standard" approach for this > using Maven. > > Thanks in advance > -- > Cosmin Marginean > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Clue bits for sale?
That would be "Maven: The Definitive Guide" (O'Reilly) ... due in July 2008 I think. Regards, - Torben Giesselmann > -Ursprüngliche Nachricht- > Von: Peter L. Berghold [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 2. April 2008 18:17 > An: Maven Users List > Betreff: Clue bits for sale? > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi folks, > > Anybody know of any published books out there that cover > Maven 2 to help with the learning curve? > > - > > Peter L. Berghold Unix Professional > [EMAIL PROTECTED] AIM: redcowdawg YIM: blue_cowdawg > "Those who fail to learn from history are condemned to repeat it." > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.5 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD4DBQFH87FNUM9/01RIhaARAreFAJY0GRbxb98cEzdUTo0I39ttGtGBAJ9uW/3y > dl2Oka/75I+BN6De9GEYvg== > =v8Mo > -END PGP SIGNATURE- > > - > 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]