You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by David Blevins <da...@visi.com> on 2006/02/21 23:53:20 UTC

Re: Migrating to maven 2 -- layout

Just throwing this out there:

The basic directory structure for maven2 is ${parent.artifactId}/$ 
{artifactId}.  If we deviate from that we'll have to do crazy things  
like put a precise scm url in each pom.xml.

This means two things:
   1.  there needs to be modules/pom.xml which is the parent of  
everything in modules.  Same goes for the other dirs, configs,  
assemblies, etc.  The parent pom of modules/pom.xml would be the root  
pom.xml (if we want a root pom).
   2.  each child project must use it's artifactId as it's directory  
name.  So 'kernel' becomes 'geronimo-kernel', etc.


So with modules and applications as an example, that'd give us this:

pom.xml (2 children)

applications/pom.xml (13 children)
applications/geronimo-console-core/pom.xml
applications/geronimo-console-ear/pom.xml
applications/geronimo-console-framework/pom.xml
applications/geronimo-console-standard/pom.xml
applications/geronimo-demo/pom.xml
applications/geronimo-jmxdebug/pom.xml
applications/geronimo-ldap-realm-demo/pom.xml
applications/geronimo-magicGball/pom.xml
applications/geronimo-remote-deploy-lib/pom.xml
applications/geronimo-remote-deploy/pom.xml
applications/geronimo-uddi-db/pom.xml
applications/geronimo-uddi-server/pom.xml
applications/geronimo-welcome/pom.xml

modules/pom.xml (48 children)
modules/geronimo-activation/pom.xml
modules/geronimo-activemq-embedded-rar/pom.xml
modules/geronimo-axis-builder/pom.xml
modules/geronimo-axis/pom.xml
modules/geronimo-client-builder/pom.xml
modules/geronimo-client/pom.xml
modules/geronimo-common/pom.xml
modules/geronimo-connector-builder/pom.xml
modules/geronimo-connector/pom.xml
modules/geronimo-console-web/pom.xml
modules/geronimo-converter/pom.xml
modules/geronimo-core/pom.xml
modules/geronimo-deploy-config/pom.xml
modules/geronimo-deploy-jsr88/pom.xml
modules/geronimo-deploy-tool/pom.xml
modules/geronimo-deployment/pom.xml
modules/geronimo-derby/pom.xml
modules/geronimo-directory/pom.xml
modules/geronimo-hot-deploy/pom.xml
modules/geronimo-interceptor/pom.xml
modules/geronimo-interop/pom.xml
modules/geronimo-j2ee-builder/pom.xml
modules/geronimo-j2ee-schema/pom.xml
modules/geronimo-j2ee/pom.xml
modules/geronimo-javamail-transport/pom.xml
modules/geronimo-jetty-builder/pom.xml
modules/geronimo-jetty/pom.xml
modules/geronimo-jmx-remoting/pom.xml
modules/geronimo-kernel/pom.xml
modules/geronimo-mail/pom.xml
modules/geronimo-management/pom.xml
modules/geronimo-naming-builder/pom.xml
modules/geronimo-naming/pom.xml
modules/geronimo-scripts/pom.xml
modules/geronimo-security-builder/pom.xml
modules/geronimo-security/pom.xml
modules/geronimo-service-builder/pom.xml
modules/geronimo-session/pom.xml
modules/geronimo-spring/pom.xml
modules/geronimo-system/pom.xml
modules/geronimo-test-ddbean/pom.xml
modules/geronimo-timer/pom.xml
modules/geronimo-tomcat-builder/pom.xml
modules/geronimo-tomcat/pom.xml
modules/geronimo-transaction/pom.xml
modules/geronimo-util/pom.xml
modules/geronimo-web-builder/pom.xml
modules/geronimo-webservices/pom.xml




-David