Hi Brat, > > Would you suggest that I can specify a packaging "my-rar" in my rar > pom.xml, > > but in my ear pom.xml, I can specify type as "rar" when I define my rar > > project > > as a dependency project? > > Yes, I think so.
Thanks a lot for the tip! I'll definitely give a try. > > 2). A rar project for packaging which depends on a separate jar project, > > assuming one jar would > > be packaged into multiple rars with different configurations. this > will > > run into problem with > > "mvn compile" or " mvn test" since this rar project does not create > > "target/classes". This > > can be worked out by introducing a rar-helper plugin to create an > empty > > target/classes > > directory at "process-resources" phase. > > Seems like a bug in the rar plugin if it chokes when target/classes is > empty. Not sure if you are including the jar itself, or an unpacked > version of the jar, but both are possible today. No, this is not a bug of Rar Plugin since Par Plugin only executes rar goal at package phase. Please see the detail at http://www.nabble.com/-M2-Maven-Ear-Plugin-did-not-recognize-the-RAR-Sub-Project-t1327696.html#a3545087 Best regards, Jian -- View this message in context: http://www.nabble.com/Should-all-maven--x--plugin-have-skip-parameter-like-surefire-plugin--t1358571.html#a3645828 Sent from the Maven - Dev forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]