You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Baeriswyl Kuno - Extern (IT-BA-MV)" <ku...@sbb.ch> on 2008/11/06 16:46:28 UTC
[eclipse:eclipse] Wrong version for jst.ear facet for Websphere 6.1
Hello,
the maven-eclipse-plugin generates wrong version for the jst.ear facet. It should be 1.4 instead of 6.1
here is the generated org.eclipse.wst.common.project.facet.core.xml file for webshpere 6.1.
<faceted-project>
<runtime name="WebSphere Application Server v6.1"/>
<installed facet="com.ibm.websphere.extended.ear" version="6.1"/>
<installed facet="com.ibm.websphere.coexistence.ear" version="6.1"/>
<fixed facet="jst.ear"/>
<installed facet="jst.ear" version="6.1"/>
</faceted-project>
Can anybody help. I thought it had already worked, but obviously there is something wrong. When I change the version manually, then everthing works fine. Many thanks in advance.
My plugins configuration looks like this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<wtpdefaultserver>WebSphere Application Server v6.1</wtpdefaultserver>
<wtpmanifest>true</wtpmanifest>
<wtpapplicationxml>true</wtpapplicationxml>
<wtpversion>1.5</wtpversion>
<additionalBuildcommands>
<buildcommand>org.eclipse.wst.common.project.facet.core.builder</buildcommand>
<buildcommand>org.eclipse.wst.validation.validationbuilder</buildcommand>
</additionalBuildcommands>
<additionalProjectnatures>
<projectnature>org.eclipse.wst.common.project.facet.core.nature</projectnature>
<projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature>
</additionalProjectnatures>
<classpathContainers>
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/WebSphere v6.1 JRE</classpathContainer>
<classpathContainer>org.eclipse.jst.server.core.container/com.ibm.ws.ast.st.runtime.runtimeTarget.v61/was.base.v61</classpathContainer>
<classpathContainer>org.eclipse.jst.j2ee.internal.module.container</classpathContainer>
</classpathContainers>
</configuration>
</plugin>