Hi,

There are available archetypes right now that are multi-module s.a. myfaces (http://wiki.apache.org/myfaces/MyFaces_Archetypes_for_Maven) or simple-j2ee (http://maven.apache.org/plugins/maven-archetype-plugin/examples/j2ee-simple.html) that you can use but the modules are specific to these type of projects.

However, there's a jira already filed that suggests using the existing archetypes to create the modules in a multi-module project:
http://jira.codehaus.org/browse/ARCHETYPE-34

Thanks,
Deng

Lieven Doclo wrote:
Hi,

I'm currently trying to create a archetype for our standard project structure.

One could describe it as:

{artifactId}-all/
  |
   --- {artifactId}-api/
         |
          --- src/main/java/
         pom.xml
              ...
  |
   --- {artifactId}-server/
         |
          --- src/main/java/
         pom.xml
              ...
  |
   --- {artifactId}-gui/
         |
          --- src/main/java/
                |
                 --- {basePackage}/gui/
                       |
                        --- GuiMain.java
         |
          --- src/main/resources/
                |
                 --- {basePackage}/ctx
                       |
                        --- bunch of XML files (some of which are using
                            archetype variables)
         pom.xml
              ...
  |
   --- {artifactId}-remote/
         |
          --- src/main/java/
         pom.xml
              ...
  |
   --- {artifactId}-standalone/
         |
          --- src/main/java/
         pom.xml
              ...
pom.xml

Is this sort of structure currently possible with maven2 archetypes?

Kind regards,

Lieven DOCLO


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




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

Reply via email to