Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] EAR deployment problem with Eclipse Helios and m2eclipse

Hi all,

I'm having problems when i'm trying to deploy an ear in Eclipse Helios 3.6 in JBoss EAP 5.1 in exploded mode.

My problem is that i can't choose the name of the ear which is deployed in JBoss in exploded mode (using mode 'deploy JBoss folder').
I tried to add ' <finalName>${project.artifactId}-${earVersion}</finalName> ' in  the <build> .. </build> of the pom.xml of the ear project.

My .settings/org.eclipse.wst.common.component looks like :
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="myproject-ear-1.4-SNAPSHOT"> // I hoped this deploy-name is used but it's not.
<wb-resource deploy-path="/" source-path="/src/main/application"/>

The only workaround i've found so far is to rename the eclipse project.

Does it looks like I made a configuration error?
Do you think I should file an issue on the bug tracker?

Here's my complete 'technical stack' :
* Eclipse Helios SR1 build id : 20100917-0705 - org.eclipse.rcp_3.6.1.r361_v20100827 and those plugins :
* m2e - Maven Integration for Eclipse - org.maven.ide.eclipse 0.12.1.20110112-1712
* m2e-extras - Maven Integration for Eclipse - org.maven.ide.eclipse.wtp.feature_0.11.1.20101108-1810
* WTP - Eclipse Java EE Developer Tools - org.eclipse.wst.common_[core|ui].feature_3.2.2.v201008091400
* JBoss by RedHat - JBossAS Tools - org.jboss.ide.eclipse.as.feature_2.2.0.v20110123-0154-H22-CR1

With :
* JBoss [EAP] 5.1.0 (build: SVNTag=JBPAPP_5_1_0 date=201009150028)
* Apache Maven : 3.0.1 (r1038046; 2010-11-23 11:58:32+0100)
* Java(TM) SE Runtime Environment (build 1.6.0_23-b05) - Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)
* OS: Linux 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010 x86_64 GNU/Linux

Thanks,

// Thibault

Back to the top