[ 
http://jira.codehaus.org/browse/MEAR-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92713
 ] 

johan Eltes edited comment on MEAR-61 at 4/12/07 7:57 AM:
----------------------------------------------------------

Aha..of cause. I'm actually naming the dependency by assigning the type 
element. Should have grasped that...


 was:
Aha..of casue. I'm actually naming the dependency by assigning the type 
element. Should have grasped that...

> Avoid the need for redundant specification of module type
> ---------------------------------------------------------
>
>                 Key: MEAR-61
>                 URL: http://jira.codehaus.org/browse/MEAR-61
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.3
>         Environment: Any
>            Reporter: johan Eltes
>            Assignee: Stephane Nicoll
>
> The POMs of the modules to be packaged by the ear plugin, contain information 
> about module type (e.g. packaging). The ear plug-in does not read this 
> information. As a consequence, the ear POM has to redundantly define a type 
> element on the dependencies ear module dependencies:
> ear POM:
>               <dependency>
>                       <groupId>mywebapp</groupId>
>                       <artifactId>mywebapp</artifactId>
>                       <version>1.0.0</version>
>                       <type>war</type> <-- redundant information
>               </dependency>
> war POM:
> <project xmlns="http://maven.apache.org/POM/4.0.0"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> http://maven.apache.org/maven-v4_0_0.xsd";>
>      <modelVersion>4.0.0</modelVersion>
>      <groupId>mywebapp</groupId>
>      <artifactId>mywebapp</artifactId>
>      <packaging>war</packaging> <-- Should be picked up from here

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

        

Reply via email to