Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Cannot change version of project facet EAR to 6.0(Maven Java EE Configuration Problem)
Cannot change version of project facet EAR to 6.0 [message #1714693] Mon, 16 November 2015 02:29
G. Richard Bellamy is currently offline G. Richard BellamyFriend
Messages: 2
Registered: November 2013
Junior Member
In my pom.xml:
<plugin>
    <artifactId>maven-ear-plugin</artifactId>
    <version>${maven-ear-plugin.version}</version>
    <configuration>
        <version>6</version>
        <fileNameMapping>no-version</fileNameMapping>
        <packagingIncludes>META-INF/**,**/${project.artifactId}-ejb.jar</packagingIncludes>
        <jboss>
            <version>4.2</version>
            <loader-repository>
                com.terradatum:loader=metrics-server
            </loader-repository>
            <loader-repository-config>
                java2ParentDelegation=false
            </loader-repository-config>
        </jboss>
    </configuration>
</plugin>

When I import the project, I get numerous errors "Cannot change version of project facet EAR to 6.0". When I go to the project properties and try to change it from 7.0 to 6.0, I get the same error. When I go to the XML file within the ".settings" directory and change:
jst.ear="7.0"
TO
jst.ear="6.0"

This is overwritten the very next time I re-import the Maven project. I've disabled the Maven Java EE Integration to no avail.

As a result of this, I cannot Add/Remove the EAR files to my configured JBoss 4.2 server - it won't accept EAR 7.0 artifacts.

Is there a way to determine EXACTLY what is causing this craziness? This has wasted an inordinate amount of lost time.

Oh, and I can absolutely deploy and use these EARs into JBoss 4.2.3.
Previous Topic:JSDT Object Literals
Next Topic:Multiple JavaScript Editors
Goto Forum:
  


Current Time: Thu Apr 25 23:20:25 GMT 2024

Powered by FUDForum. Page generated in 0.02886 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top