assembly issue with an ear

2007-07-31 Thread nicolas de loof
My project has multiple modules, one of them packages my webapp as ear. My parent project has an assembly descriptor to build a tar from artifacts + some script files If I run mvn assembly:assembly I get a strange error about my ear having no file attached : [INFO] Failed to create assembly:

Re: assembly issue with an ear

2007-07-31 Thread nicolas de loof
Found the answer myself : http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html *NOTE:* Because of a quirk in Maven 2.0's execution model relating to aggregator mojos and the inheritance hierarchy, we need to explicitly execute the package

Re: assembly issue with an ear

2007-07-31 Thread Eric Redmond
Have you tried binding assembly:attached to the packaging phase? I don't know which would execute first (std package or assembly), but it might be worth a short. In 2.1 the pre-package phase will be added, so things like this should be easier to deal with in a consistent way. -- Eric Redmond

Re: assembly issue with an ear

2007-07-31 Thread nicolas de loof
Doesn't work in any way (assembly:*) when the assembly plugin is configured to run during package phase. The only way to make it work is to run mvn package assembly:* 2007/7/31, Eric Redmond [EMAIL PROTECTED]: Have you tried binding assembly:attached to the packaging phase? I don't know which

Re: assembly issue with an ear

2007-07-31 Thread Eric Redmond
That's unfortunate... looks like you'll have to wait until 2.1 for a better solution :( -- Eric Redmond http://blog.propellors.net On 7/31/07, nicolas de loof [EMAIL PROTECTED] wrote: Doesn't work in any way (assembly:*) when the assembly plugin is configured to run during package phase.