You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stefan Ocke (JIRA)" <ji...@codehaus.org> on 2008/06/27 08:46:26 UTC

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

    [ http://jira.codehaus.org/browse/MECLIPSE-455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139747#action_139747 ] 

Stefan Ocke commented on MECLIPSE-455:
--------------------------------------

Especially, this is inconsistent with the generated application.xml, which uses ".jar" as suffix for ejb-modules.
So, deployment fails.

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