You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2007/04/12 14:49:46 UTC
[jira] Closed: (MEAR-61) Avoid the need for redundant specification
of module type
[ http://jira.codehaus.org/browse/MEAR-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephane Nicoll closed MEAR-61.
-------------------------------
Resolution: Won't Fix
No. Maven does not work that way.
Nothing prevents you to actually have
groupId: com.blah, artifactId = foo, version= 1.2 -> Jar
groupId: com.blah, artifactId = foo, version= 1.2 -> War
groupId: com.blah, artifactId = foo, version= 1.2 -> Ear
The default type is Jar. You should provide it for other types.
(And it has *nothing* to do with EAR or any other plugin btw)
> 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