[
https://jira.codehaus.org/browse/MECLIPSE-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MECLIPSE-448.
-----------------------------------
Resolution: Won't Fix
Please refer to
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
if you're wondering why this issue was closed out.
> connector projects (RAR) are not added to .components in EAR projects
> ---------------------------------------------------------------------
>
> Key: MECLIPSE-448
> URL: https://jira.codehaus.org/browse/MECLIPSE-448
> Project: Maven Eclipse Plugin
> Issue Type: Bug
> Components: WTP support
> Affects Versions: 2.5.1
> Reporter: Gabriele Contini
> Attachments: MECLIPSE-448-maven-eclipse-plugin.patch
>
>
> There is an issue generating wtp configuration for multi-module j2ee
> applications that use connectors.
> Suppose you have a "connector project" to access an external data source
> packaged as a RAR (Resource Archive) and an Eclipse "enterprise application
> project" with packaging EAR.
> The EAR includes the RAR between its dependencies. Below you can see the
> correct EAR structure as deployed by maven:
> myapp.ear
> |- myapp-ejb.ejb
> |- myapp-jcr-connector.rar
> |- myapp-web.war
> |- META-INF
> | |- application.xml
> | |- ...
> |- WEB-INF
> |- ...
> here is a snippet from: myapp/jcr-connector/pom.xml
> <project>
> <artifactId>myapp-jcr-connector</artifactId>
> <packaging>rar</packaging>
> ...
> here is a snippet from: myapp/ear/pom.xml
> <dependency>
> <groupId>${pom.groupId}</groupId>
> <artifactId>myapp-jcr-connector</artifactId>
> <version>${pom.version}</version>
> <type>rar</type>
> </dependency>
> When the wtp configuration of the "Enterprise Application Project" is
> generated the "Connector Project" is not referenced in the
> org.eclipse.wst.common.component (of the Enterprise project) file thus making
> the deployment of the connector artifact fail.
> By the way the connector it's not included in the generated application.xml
> too, but this file can be easily overridden.
> Here is how the rar should be referenced in the application.xml:
> <module id="ConnectorModule_1203933609087">
> <connector>myapp-jcr-connector.jar</connector>
> </module>
> ...
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)