This is because IBM introduced this flag in FP7 and later: IBM support. Please upgrade your environment. If no upgrade path is available for your environment, try setting the legacyMode flag to true. This will ignore the jdkComplianceLevel configuration element.
For eclipse/RAD: Install the m2eclipse plugin m2eclipse site. This will integrate eclipse with maven2. You can then right-click your EJB-project, and select "Run as..." and select "Maven generate-sources".
Your project probably contains some bad XML documents. Try setting the noValidate option to true. Also setting the verbose parameter might shade light over what's going on.
You need to provide a complete classpath for the container in your project. One possible way to do this is to define a property pointing to the WebSphere 6.1 root installation, and the define to system scoped dependencies:
<dependency>
<scope>system</scope>
<groupId>com.ibm.ws</groupId>
<artifactId>ejbportable</artifactId>
<version>6.1.0</version>
<systemPath>C:/Program Files/IBM/WebSphere/AppServer/plugins/com.ibm.ws.ejbportable_6.1.0.jar</systemPath>
</dependency>
<dependency>
<scope>system</scope>
<groupId>com.ibm.ws</groupId>
<artifactId>runtime</artifactId>
<version>6.1.0</version>
<systemPath>C:/Program Files/IBM/WebSphere/AppServer/plugins/com.ibm.ws.runtime_6.1.0.jar</systemPath>
</dependency>
The installApp goal can either update an existing application (with the same name). You can either configure the plugin to uninstall an existing installation prior to attempting an installation, or you can configure it to update an existing.
Example of complete reinstallation:
<project>
...
<properties>
<was6Home>c:\progra~1\ibm\SDP70\runtimes\base_v61</was6Home>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>was6-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<goals>
<goal>wsUninstallApp</goal> <!-- first uninstall -->
<goal>installApp</goal> <!-- then install again -->
</goals>
</execution>
</executions>
<configuration>
<wasHome>${was6Home}</wasHome>
<conntype>SOAP</conntype>
<host>my.dns.name</host>
<port>8879</port>
<targetCluster>MY-TARGET-CLUSTER</targetCluster>
<profileName>Dmgr01</profileName>
<verbose>true</verbose>
<updateExisting>false</updateExisting> <!-- this needs to be false as we're reinstalling each time -->
</configuration>
</plugin>
</plugins>
...
</project>
Example of updating existing:
<project>
...
<properties>
<was6Home>c:\progra~1\ibm\SDP70\runtimes\base_v61</was6Home>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>was6-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<goals>
<goal>installApp</goal>
</goals>
</execution>
</executions>
<configuration>
<wasHome>${was6Home}</wasHome>
<conntype>SOAP</conntype>
<host>my.dns.name</host>
<port>8879</port>
<targetCluster>MY-TARGET-CLUSTER</targetCluster>
<profileName>Dmgr01</profileName>
<verbose>true</verbose>
<updateExisting>true</updateExisting> <!-- actually the default value - but set for clarity -->
</configuration>
</plugin>
</plugins>
...
</project>