# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: /home/pablo/NetBeansProjects/maven-ear-plugin # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: pom.xml --- pom.xml Base (BASE) +++ pom.xml Locally Modified (Based On LOCAL) @@ -29,7 +29,7 @@ maven-ear-plugin - 2.5 + 2.6 maven-plugin Maven EAR Plugin Index: src/main/java/org/apache/maven/plugin/ear/EarModuleFactory.java --- src/main/java/org/apache/maven/plugin/ear/EarModuleFactory.java Base (BASE) +++ src/main/java/org/apache/maven/plugin/ear/EarModuleFactory.java Locally Modified (Based On LOCAL) @@ -50,6 +50,7 @@ temp.add( "sar" ); temp.add( "wsr" ); temp.add( "har" ); + temp.add( "car" ); standardArtifactTypes = Collections.unmodifiableList( temp ); } @@ -122,6 +123,10 @@ { return new HarModule( artifact ); } + else if ( "car".equals( artifactType ) ) + { + return new JarModule( artifact, "/", Boolean.TRUE); + } else { throw new IllegalStateException( "Could not handle artifact type[" + artifactType + "]" );