You could start with this
http://maven.apache.org/plugins/maven-archetype-plugin/examples/j2ee-simple.html

Note that you don't have to explicitly call mvn ear:ear to package an ear
file. The ear project will have an 'ear' packaging type which means that
Maven will call the right things with the standard goal (i.e. mvn package in
that ear project will actually package the ear file)

S.

On Sun, Mar 15, 2009 at 10:04 AM, Thai Dang Vu <[email protected]> wrote:

> Is there any java ee 5 directory structure with maven2 support available on
> the Internet? I'm looking to something like this:
>
> project-name
>    |-- ear
>    |    |-- pom.xml
>    |-- ejb
>    |    |-- src
>    |    |-- pom.xml
>    |-- war
>    |    |-- src
>    |    |-- pom.xml
>    |-- pom.xml
>
> with which I can go to the ear directory and type mvn ear:ear and have an
> ear file.
> I'm quite new to maven, so it'll take me a while to make one of my own.
>
>
>
>




-- 
Large Systems Suck: This rule is 100% transitive. If you build one, you
suck" -- S.Yegge

Reply via email to