Are you building both a Jar and an EJB Jar in a single Maven project? Or are these 2 separate projects that have a common parent?
Maven likes 1 artifact per module. Please explain your project better and/or send the poms for diagnosis. Wayne On 10/18/07, Mark_E <[EMAIL PROTECTED]> wrote: > > Hello, > I am running into a strange situation with the maven-ejb-plugin and > maven-jar-plugin > > I am performing a build, building a jar and an ejb. Seems that when I > execute the ejb plugin during the package phase, it messes up the execution > of the maven-jar-plugin. > > For example, I am using the snapshot version of the maven-jar-plugin (2.2) > that contains the excludes fix. If I build both an ejb and jar in my > project, it seems to override the exclude switch in the jar plugin and I get > files I do not want in the jar. > > If I turn off the maven-ejb-plugin in my build and re-run the mvn package > command, the exclude switch in the jar plugin works fine and I do not get > the files I excludes from my jar. > > I am running version 2.1 of the EJB Plugin. > > Just wondering if anyone else is running into this. Maybe I am doing > something wrong? I thought it might be the clientInclude switch used in the > ejb plugin so I disabled this in my pom.xml but the issue still exists. I > have to comment out the ejb plugin all together to get the excludes for the > jar to work. > > Anyway, if anyone has any suggestions, I would appreciate them very much. I > need to get this resolved and I would like to use the maven plugin as > opposed to have to do it with Ant. > > Regards, > Mark > > > > > -- > View this message in context: > http://www.nabble.com/Possible-conflict-with-ejb-and-jar-plugins-tf4649756s177.html#a13283698 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
