Hi Alex

One pom produces one artifact !!!!

You can see it as a structure

parent
        ear-artifact
        war-artifact

It is not worth trying other things..
Maven assembly plugins can make attachments, but this is not good in your situation

/Anders


On 08/12/2008, at 09.10, Shananin, Alexei wrote:

Dear All!
I am new to Maven 2.0.9 and I am facing the following problem.

We started migration from JDeveloper 10g towards Maven. Current
JDeveloper project structure looks like that:
1) WebProject/src -- java sources, resources
2) WebProject/public_html -- web sources (jsp, html, libs, compiled
classes)

The build sequence from JDev perspective contains these phases:
1) compile classes and JSPs to WebProject/public_html/classes
2) build war file with contents from previous step
3) build ear containing war from previous step and add
META-INF/orion-application.xml

This build can be done using 3 different POMs with 3 packaging types:
JAR, WAR, EAR.
I want to incorporate 3 phases above in one pom.xml as we can not change
the directory structure. The result must be EAR.

Is that possible to do "all-in-one"? Please give me a clue of how to do
it.

Thanks for your help!
Alex.




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

Reply via email to