RE: Problems with maven-assembly-plugin from Netbeans 5.5...
Hi Antonio, Thanks, I'll give it a try ! As a workaround I've currently just hardcoded the entire path to the target, but that is not a good solution. Thanks again! Regards Arne > > Hi Antonio > > I tried adding 2.2-SNAPSHOT to the > module plugin, > > but it didn't find it. > > How should I og about getting the 2.2 version ? > > You have to add the snapshot repository to your pom, or to > your settings.xml: > > /* snip */ > > > apache.snapshots > > http://people.apache.org/repo/m2-snapshot-repository/ > > true > > > false > > > > /* snap */ > > HTH > Antonio > > - > 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]
Re: Problems with maven-assembly-plugin from Netbeans 5.5...
2007/4/25, Arne Styve <[EMAIL PROTECTED]>: Hi Antonio I tried adding 2.2-SNAPSHOT to the module plugin, but it didn't find it. How should I og about getting the 2.2 version ? You have to add the snapshot repository to your pom, or to your settings.xml: /* snip */ apache.snapshots http://people.apache.org/repo/m2-snapshot-repository/ true false /* snap */ HTH Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with maven-assembly-plugin from Netbeans 5.5...
the possible cause of this error is probably somehow connected with the embedding of maven in the IDE. the C:/programfiles/netbeans path is the directory where the IDE's JVM is started at, so any relative paths are resolved against it (as compared to command line maven which you basically invoke from the project directory and thus the rel paths are correct. put the ${basedir} variable in the place where you define the path. Milos On 4/25/07, Arne Styve <[EMAIL PROTECTED]> wrote: Hi Antonio > > > > I'm trying to use the maven-assembly-plugin from within > Netbeans 5.5 > > (with Mavenide installed), but when executing the goal > > assembly:assembly, I get the following message when using the > > predefined descriptor > > jar-with-dependencies: > > > > Embedded error: C:\Programfiler\netbeans-5.5\target\classes isn't a > > directory. > > > > but my project is not placed under the C:\Programfiler\netbeans-5.5 > > -folder. > > I think that it is a bug in assembly plugin version 2.1. We had a > similar problem with Tiles. > Try using the 2.2-SNAPSHOT version of the assembly plugin. > > Antonio I tried adding 2.2-SNAPSHOT to the module plugin, but it didn't find it. How should I og about getting the 2.2 version ? Regards Arne - 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]
RE: Problems with maven-assembly-plugin from Netbeans 5.5...
Hi Antonio > > > > I'm trying to use the maven-assembly-plugin from within > Netbeans 5.5 > > (with Mavenide installed), but when executing the goal > > assembly:assembly, I get the following message when using the > > predefined descriptor > > jar-with-dependencies: > > > > Embedded error: C:\Programfiler\netbeans-5.5\target\classes isn't a > > directory. > > > > but my project is not placed under the C:\Programfiler\netbeans-5.5 > > -folder. > > I think that it is a bug in assembly plugin version 2.1. We had a > similar problem with Tiles. > Try using the 2.2-SNAPSHOT version of the assembly plugin. > > Antonio I tried adding 2.2-SNAPSHOT to the module plugin, but it didn't find it. How should I og about getting the 2.2 version ? Regards Arne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with maven-assembly-plugin from Netbeans 5.5...
2007/4/24, Styve Arne <[EMAIL PROTECTED]>: Hi, I'm trying to use the maven-assembly-plugin from within Netbeans 5.5 (with Mavenide installed), but when executing the goal assembly:assembly, I get the following message when using the predefined descriptor jar-with-dependencies: Embedded error: C:\Programfiler\netbeans-5.5\target\classes isn't a directory. but my project is not placed under the C:\Programfiler\netbeans-5.5 -folder. I think that it is a bug in assembly plugin version 2.1. We had a similar problem with Tiles. Try using the 2.2-SNAPSHOT version of the assembly plugin. Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]