File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven EAR Explode rather than package

 
Niall Loughnane
Ranch Hand
Posts: 208
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I use the Maven plug-in "maven-ear-plugin" to create an EAR that consists of a WAR and a JAR,

I can unpack the WAR and JAR using:
[code=java]
<unpackTypes>war,jar</unpackTypes>
<modules>
<webModule>
...
<unpack>true</unpack>
...
</webModule>
<ejbModule>
...
<unpack>true</unpack>
...
</ejbModule>
</modules>
[/code]

But how can i set the plug-in to explode the EAR, to a directory, rather than package the EAR to .ear file?

Thanks in Advance,

Niall
 
E Armitage
Rancher
Posts: 989
9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesn't the plugin already create an exploded folder containing your ear content in the target folder?
 
Niall Loughnane
Ranch Hand
Posts: 208
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you are right :)

Thanks for the reply :)

I should have seen that :)
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic