You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Steffen Grunwald (JIRA)" <ji...@codehaus.org> on 2008/10/20 21:49:19 UTC

[jira] Updated: (MECLIPSE-455) Invalid dependent module archive name for EJB artifact

     [ http://jira.codehaus.org/browse/MECLIPSE-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steffen Grunwald updated MECLIPSE-455:
--------------------------------------

    Attachment: MECLIPSE-455.patch

Attached patch changes archive names of EJB dependencies to ".jar".

> Invalid dependent module archive name for EJB artifact
> ------------------------------------------------------
>
>                 Key: MECLIPSE-455
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-455
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: WTP support
>    Affects Versions: 2.5.1
>         Environment: Maven 2.0.8, JDK 1.5.0_14, Win XP SP3, Version: 3.3.2
>            Reporter: M.-Leander Reimer
>         Attachments: MECLIPSE-455.patch
>
>
> For an EAR WTP module the file org.eclipse.wst.common.component is not being generated correctly if there are dependent EJB modules. The suffix of the arhcive name is set to .ejb instead of .jar
> The problem is in the class AbstractWtpResourceWriter.addDependency(...) line 182
> archiveName = dep.getEclipseProjectName() + "." + dep.getType();
> so for EJB modules this will produce for example:
> <dependent-module archiveName="ejb-module-1.0.ejb" ...
> instead of
> <dependent-module archiveName="ejb-module-1.0.jar" ...
> Best regards,
> Leander

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