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