You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christoffer Hammarstr?m (JIRA)" <ji...@codehaus.org> on 2006/04/12 15:45:48 UTC

[jira] Created: (MWAR-32) When including a war dependency as per MWAR-8, WEB-INF/lib/*.jar of the war dependency should be added as provided dependencies of the project.

When including a war dependency as per MWAR-8, WEB-INF/lib/*.jar of the war dependency should be added as <scope>provided</scope> dependencies of the project.
--------------------------------------------------------------------------------------------------------------------------------------------------------------

         Key: MWAR-32
         URL: http://jira.codehaus.org/browse/MWAR-32
     Project: Maven 2.x War Plugin
        Type: Improvement

    Versions: 2.0    
    Reporter: Christoffer Hammarström
     Fix For: 2.0


When i build a webapp based on another war (as per MWAR-8) which already includes a lot of jar-files, it would be nice to automatically be able use those jar-files as dependencies without having to add them to the pom.


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


[jira] Commented: (MWAR-32) When including a war dependency as per MWAR-8, WEB-INF/lib/*.jar of the war dependency should be added as provided dependencies of the project.

Posted by "Douglas Ferguson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MWAR-32?page=comments#action_73633 ] 
            
Douglas Ferguson commented on MWAR-32:
--------------------------------------

It would also be nice if WEB-INF/classes could be picked up as dependencies also.

> When including a war dependency as per MWAR-8, WEB-INF/lib/*.jar of the war dependency should be added as <scope>provided</scope> dependencies of the project.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MWAR-32
>                 URL: http://jira.codehaus.org/browse/MWAR-32
>             Project: Maven 2.x War Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Christoffer Hammarström
>
> When i build a webapp based on another war (as per MWAR-8) which already includes a lot of jar-files, it would be nice to automatically be able use those jar-files as dependencies without having to add them to the pom.

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

       

[jira] Updated: (MWAR-32) When including a war dependency as per MWAR-8, WEB-INF/lib/*.jar of the war dependency should be added as provided dependencies of the project.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MWAR-32?page=all ]

Brett Porter updated MWAR-32:
-----------------------------

    Fix Version:     (was: 2.0)

requires core changes

> When including a war dependency as per MWAR-8, WEB-INF/lib/*.jar of the war dependency should be added as <scope>provided</scope> dependencies of the project.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: MWAR-32
>          URL: http://jira.codehaus.org/browse/MWAR-32
>      Project: Maven 2.x War Plugin
>         Type: Improvement

>     Versions: 2.0
>     Reporter: Christoffer Hammarström

>
>
> When i build a webapp based on another war (as per MWAR-8) which already includes a lot of jar-files, it would be nice to automatically be able use those jar-files as dependencies without having to add them to the pom.

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


[jira] Commented: (MWAR-32) When including a war dependency as per MWAR-8, WEB-INF/lib/*.jar of the war dependency should be added as provided dependencies of the project.

Posted by "yuan (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MWAR-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=283782#comment-283782 ] 

yuan commented on MWAR-32:
--------------------------

Right now,I have to config the war project <attachClasses>true</attachClasses>,then I build a webapp based on the war project, add these dependencies:

<dependency>
  <groupId>${groupId}</groupId>
  <artifactId>${artifactId}</artifactId>
  <version>${version}</version>
  <type>war</type>
</dependency>


<dependency>
  <groupId>${groupId}</groupId>
  <artifactId>${artifactId}</artifactId>
  <version>${version}</version>
  <classifier>classes</classifier>
</dependency>

> When including a war dependency as per MWAR-8, WEB-INF/lib/*.jar of the war dependency should be added as <scope>provided</scope> dependencies of the project.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MWAR-32
>                 URL: https://jira.codehaus.org/browse/MWAR-32
>             Project: Maven 2.x WAR Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Christoffer Hammarström
>
> When i build a webapp based on another war (as per MWAR-8) which already includes a lot of jar-files, it would be nice to automatically be able use those jar-files as dependencies without having to add them to the pom.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira