[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9053) seam-registration examle from wolf test repo is incorrectly deployed
Fred Bricon (JIRA)
jira-events at lists.jboss.org
Mon Jul 18 12:25:23 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614855#comment-12614855 ]
Fred Bricon commented on JBIDE-9053:
------------------------------------
More generally, we can make this work using 2 approaches :
- Make sure the earFinalName == ear artifactId, and every resource references this value, so we get m2e == CLI behavior. This is by far the simplest solution
- Define an <earDeployedName> property (in a parent pom), then every resource should use ${earDeployedName} and filtering should be activated, on classpath and/or web resources
> seam-registration examle from wolf test repo is incorrectly deployed
> ---------------------------------------------------------------------
>
> Key: JBIDE-9053
> URL: https://issues.jboss.org/browse/JBIDE-9053
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 3.2.1.CR1
> Environment: JBossTools 3.2.1 CR1 org.eclipse.m2e.core (0.12.1.20110112-1712), org.maven.ide.eclipse.wtp 0.11.1.20101108-1810 or 0.12.0.20110421-1500
> Reporter: Libor Zoubek
> Assignee: Max Rydahl Andersen
> Labels: m2eclipse, upstream
> Fix For: 3.2.1.CR3, 3.3.0.M3
>
> Attachments: seam-registration.zip
>
>
> I am testing wolf repository (maven repo of EAP 5.1). There are several example projects. These examples depend on maven artifacts shipped by wolf repo. There is a problem with example called webapp-seam-registration. This example can be built and deployed using maven CLI (mvn install jboss:deploy). But .. when I import it into JBoss Tools using 'Import existing maven project' and then deploy it on EAP 5.1 I get deployment errors. I was comparing the deoplyed EARs and found out, that the problem is, that application.xml (contained in registration-ear project) does not contain {noformat}<module><ejb>jboss-seam.jar</ejb></module>{noformat}
> Deployment from CLI works fine ->application.xml has proper content
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list