maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hansen <m...@javector.com>
Subject lots of samples - how to structure maven tree??
Date Tue, 22 Nov 2005 03:11:27 GMT
I've got lots of sample that need to be packaged into lots of little 
WARs, EARs, etc.

My file tree is set up like

base
   src
     java
       samples
         chap1
           sec1
             MyServlet.java
           sec2
              AotherServlet.java
         chap2
           sec1
              HelloWorld.java
           sec2
              GoodbyeWorld.java
   maven.xml
   project.xml


How do I use maven to build separate WARs (or EARs or whatever) for
   chap1/sec1
   chap1/sec2
   chap2/sec1
   chap2/sec2

?????

Do I need to restructure like this - with lots of individual maven poms?

base
   chap1
     sec1
       maven.xml
       project.xml
       MyServlet.java
     sec2
        maven.xml
        project.xml
        AnotherServlet.java

.... etc.

Thanks,

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message