> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 23, 2003 2:18 PM
> To: 'Maven Developers List'
> Subject: RE: War plugin
>
> Tld bundling is supported right now by the war plugin. You can even put
> them wherever you want provided it's under the webapp/ source directory.
>
I meant the bundling of tag descriptor files (tlds) defined as project
dependencies
<dependency>
<groupId>struts</groupId>
<artifactId>struts-tiles</artifactId>
<version>1.1-rc2</type>
<type>tld</type>
</dependency>
In war plugin we have:
<j:if test="${dep.getProperty('war.bundle')=='true' and dep.type =='jar' }">
<ant:copy todir="${webapp.build.lib}"
file="${maven.repo.local}/${dep.artifactDirectory}/jars/${dep.artifact}"/>
</j:if>
Such bundling is not supported for tlds.
But after reading Brian's post I suppose that it should not be supported at
all.
The JSP spec defines clean and more natural way of making it.
> I'm not sure adding a tld property helps a lot. I personally think it
> makes this simple plugin more complex.
For the moment war plugin is indeed almost a wrapper around Ant war task.
But I don't see anything wrong in making this plugin (or any other) more
powerful or highly customizable.
For example we can add validation of web.xml file to this plugin.
But I admit that this particular idea was __stupid__
Please forget about it!
[...]
regards
Michal
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]