Hi all,

I have a multiple module project.

parent
\- mysar (packaging sar - provided by the jboss-sar-maven-plugin)
\- myplugin (packaging eclipse-plugin - provided by a homemade plugin).

Both have the relevant plugin defined in their build section with
<extensions>true</extensions>.

If i add the 2 modules in parent in given order, then both get build
correctly. There are no dependencies between the two, so this is also
the order in which they are built.
I get a mysar-1.0-SNAPSHOT.sar and a myplugin-1.0-SNAPSHOT.jar (since
the extension for eclipse-plugin is defines as just jar).

When I build both separately, I get the same result.

But when I reverse the order of the modules, the plugin gets extension
eclipse-plugin instead of jar! The sar is built correctly.

I can fix this by moving the maven plugin that defines the
eclipse-plugin lifecycle to parent.

Does anybody have any idea what's going on here ?

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to