aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven EAR Explode rather than package Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven EAR Explode rather than package" Watch "Maven EAR Explode rather than package" New topic
Author

Maven EAR Explode rather than package

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208
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

Joined: Mar 17, 2012
Posts: 892
    
    9
Doesn't the plugin already create an exploded folder containing your ear content in the target folder?
Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208
Yes, you are right :)

Thanks for the reply :)

I should have seen that :)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven EAR Explode rather than package