[ http://jira.codehaus.org/browse/MNG-579?page=all ]

Kenney Westerhof updated MNG-579:
---------------------------------

    Attachment: MNG-579.patch

this patch fixes the tld handling.

Sample pom to test it:

<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>maven-tests</groupId>
  <artifactId>war-tld</artifactId>
  <packaging>war</packaging>
  <version>2.0-beta-1-SNAPSHOT</version>

  <dependencies>
    <dependency>
      <groupId>spring</groupId>
      <artifactId>spring</artifactId>
      <version>1.0.2</version>
      <scope>runtime</scope>
      <type>tld</type>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
          <webXml>src/webapp/WEB-INF/web.xml</webXml>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>


> a dependency of type tld is not added to the package
> ----------------------------------------------------
>
>          Key: MNG-579
>          URL: http://jira.codehaus.org/browse/MNG-579
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugins
>     Versions: 2.0-alpha-3
>  Environment: Windows XP SP2 jdk 5.0
>     Reporter: Dennis Geurts
>     Priority: Minor
>  Attachments: MNG-579.patch
>
>
> the project package is set to 'war'
> a dependency is added as follows:
> <dependency>
>   <groupId>spring</groupId>
>   <artifactId>spring</artifactId>
>   <version>1.0.2</version>
>   <scope>runtime</scope>
>   <type>tld</type>
> </dependency>
> running  'm2 clean:clean package'
> does NOT add the spring-1.0.2.tld to the war 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to