I am interested in creating components that are made of Java classes
packaged along with CSS and Javascript files. Components have
dependencies between themselves. In the end, components are used to
create web applications.

I am thinking Maven is perfect for this, but I can not settle on the
file format to use. Basically, in a Maven directory structure, a
component is made of src/main/java files and webapp files. Yet, the
preferred artifact file format would be JAR since other components
requires the class files from it in their classpath.

Finally, when all components are created, an all encompassing WAR
application is built. When this happens, all the webapp files should be
taken out of the JARs and put in the right places for WAR generation.

In details, here would be the process. For a component:

/src/main/java/**/*.java
/src/main/webapp/**/*

gets turned into a JAR:

**/*.class
META-INF/manifest.mf
__webapp/**/*


In final assembly into a WAR, all the files from the JARs under a
__webapp directory gets copied into the top directory of the WAR.

Is there anyone out there already performing similar packaging? If not,
any suggestion on how to go about this would be appreciated.

Thanks,

JP

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

Reply via email to