[jboss-user] [JBoss AOP] - Maven plugin problem

Douglas Palmer do-not-reply at jboss.com
Tue Sep 21 10:46:21 EDT 2010

Douglas Palmer [http://community.jboss.org/people/dpalmer%40redhat.com] created the discussion

"Maven plugin problem"

To view the discussion, visit: http://community.jboss.org/message/562914#562914


I am currently trying to convert our ant build to maven. Our ant build extracts the contents of a jar; runs aopc over that jar and repackages the jar. I am having problems trying to replicate this using the maven-jbossaop-plugin. My first attempt was to add the following:


But WsdlContext\$Loader.class is in one of my jar dependencies so I got a FileNotFoundException. So I extracted the contents of the jar and the plugin can now find the WsdlContext\$Loader.class. So now I get Exceptions because the plugin can't find classes upon which WsdlContext\$Loader.class depends.

I was under the impression that <supress>true</supress> would solve this issue but it turns out that this is the default. I tried <includeProjectDependency>true</includeProjectDependency> but this fails because the plugin now finds 2 copies of WsdlContext\$Loader.class.

Am I missing something obvious or am I trying to achieve the impossible?

Thanks in advance

Reply to this message by going to Community

Start a new discussion in JBoss AOP at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100921/c43d9652/attachment.html 

More information about the jboss-user mailing list