maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MPWAR-42) war:webapp doesn't copy tld files if same groupeId/artefactId/version as jar
Date Mon, 04 Apr 2005 14:55:55 GMT
     [ http://jira.codehaus.org/browse/MPWAR-42?page=history ]
     
Brett Porter closed MPWAR-42:
-----------------------------


> war:webapp doesn't copy tld files if same groupeId/artefactId/version as jar
> ----------------------------------------------------------------------------
>
>          Key: MPWAR-42
>          URL: http://jira.codehaus.org/browse/MPWAR-42
>      Project: maven-war-plugin
>         Type: Bug
>     Versions: 1.6
>  Environment: - Os: Windows XP Professional SP2 running on a DELL laptop
> - Java 1.4.2_06
> - Maven 1.0.2, Maven war plugin 1.6.1
>     Reporter: Jean-Michel
>     Priority: Minor
>  Attachments: mavenBugTldAndJarSameName.zip
>
>
> If a jar resource and a tld ressource have the same groupeId, artefactId and version,
the tld file is not copied to the WEB-INF/tld folder.
> Example :
>                 <dependency>
> 			<groupId>library</groupId>
> 			<artifactId>samename</artifactId>
> 			<version>3.0.2</version>
> 			<properties>
> 				<war.bundle>true</war.bundle>
> 			</properties>
> 		</dependency>
> 	
> 		<dependency>
> 			<groupId>library</groupId>
> 			<artifactId>samename</artifactId>
> 			<version>3.0.2</version>
> 			<type>tld</type>
> 			<properties>
> 				<war.bundle>true</war.bundle>
> 			</properties>
> 		</dependency>
> 	
>                 <dependency>
> 			<groupId>library</groupId>
> 			<artifactId>differentname</artifactId>
> 			<version>3.0.2</version>
> 			<type>tld</type>
> 			<properties>
> 				<war.bundle>true</war.bundle>
> 			</properties>
> 		</dependency>
> The samename-3.0.2.jar will be copied to the WEB-INF\lib
> The samename-3.0.2.tld will NOT be copied to the WEB-INF\tld !!!
> The differentname-3.0.2.tld will be copied to the WEB-INF\tld
> The attachement contains a zip which illustrated the problem. Unzip it, run maven war:webapp
and check-out the WEB-INF\tld directory to see what's missing ...
> I could write an junit test if only the Maven architecture was simpler ... (what's the
point of XML and Jelly?)
> The work around is to rename the tld file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message