maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Hamaty (JIRA)" <>
Subject [jira] (MEAR-214) RarModule not seen as standard artifact type
Date Fri, 13 Feb 2015 01:12:17 GMT
Luke Hamaty created MEAR-214:

             Summary: RarModule not seen as standard artifact type
                 Key: MEAR-214
             Project: Maven Ear Plugin
          Issue Type: Bug
    Affects Versions: 2.10
         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.6.0_33

            Reporter: Luke Hamaty

Configuration with a RarModule e.g.:
							<!-- Resource Adapter for SSA Application -->

Results in an IllegalStateException:
java.lang.IllegalStateException: Artifact type[connector] is not a standard Ear artifact type[[jar,
ejb, ejb3, par, ejb-client, app-client, rar, war, sar, wsr, har]]
	at org.apache.maven.plugin.ear.util.ArtifactTypeMappingService.isMappedToType(
	at org.apache.maven.plugin.ear.util.ArtifactRepository.getArtifacts(
	at org.apache.maven.plugin.ear.util.ArtifactRepository.getUniqueArtifact(
	at org.apache.maven.plugin.ear.AbstractEarModule.resolveArtifact(
	at org.apache.maven.plugin.ear.AbstractEarMojo.execute(
	at org.apache.maven.plugin.ear.GenerateApplicationXmlMojo.execute(
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(


This does not occur with 2.9.1.
This appears to have been introduced with revision 1645331 of, which incorrectly
changed type from "rar" to RAR_MODULE

This message was sent by Atlassian JIRA

View raw message