Hi Tim,
Perfect! That does exactly what I want.

One thing I would like to know, and in relation to the 'standard directory layout', is if I have the following directory in my project:

src/main/webapp

shouldn't a corresponding web/web-inf directory structure also be part of the build in much the same way that having a jboss-spring.xml file situated in src/main/resources will create a corresponding META-INF/jboss-spring.xml structure in the final build? How would I go about doing this?

Many thanks in advance.

--
Regards

Andrew

Andrew Madu schrieb:
Hi,

Hi,

can anyone tell me the location of the jar which allows for the creation of custom artifact handlers in its component.xml file?

The default artifact handlers are defined in maven-core's component.xml [1] but you don't need to modify this if you want to use a custom artifact type. You just create a components.xml containing your artifact handler and lifecycle definition in your plugin and define your plugin in projects using the custom artifact type as a packaging with the <extensions/> tag set to true.

While searching for an existing plugin showing this I stumbled upon the jboss-packaging-maven-plugin [2] over at the mojo project. Incidentally, this plugin provides the spring dependency type you talk about in your other thread.

My pltfoem is as follows:
WIN XP SP1
JDK 1.6.0_06
Maven 2.0.9

Many thanks in advance.


-Tim

[1] http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml?view=markup
[2] http://mojo.codehaus.org/jboss-packaging-maven-plugin/

---------------------------------------------------------------------
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