maven-ear-plugin and generateApplicationXml=false

I'm trying out Cardea Early Preview (132.197) with a multi-module maven project that contains an ebj,web, and ear artifcact.  The ear artifact contains its own application.xml, which is used by setting generateApplicationXml=false in the maven-ear-plugin properties.  Is this supported in IntelliJ?  I'm seeing Intellij ignore this setting and it generates its own.

2 comments

Hello.

For me it's Ok. I have configuration like:

<configuration>
  <generateApplicationXml>false</generateApplicationXml>
  <applicationXml>application.xml</applicationXml>
</configuration>

And both Maven and IDEA pick my application.xml, not generating anything. What action works wrong for you, what do you do exactly?

(BTW, do you have Settings / Maven / Importing / Use Maven3 = Yes?)

Regards,
Alexander.

0

I didn't have the applicationXml property...once I added that all is good, thanks!

0

Please sign in to leave a comment.