Felipe Kamakura wrote: > > I have a problem concerning AJDT and the M2Eclipse plugin I hope someone > can > help me with that. I have to include a .JAR in my AspectJ Build Path, but > M2Eclipse won't let me. Everytime I include a library in the AspectJ Build > Path it is automatically excluded. I think that's because M2Eclipse groups > all libraries in a Container: > >> <classpathentry kind="con" path=" >> org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/> > > I've tried changing manually the .classpath file, including the dependency > like this: > >> <classpathentry kind="var" >> path="M2_REPO/br/com/touchtec/version/version/1.0/version-1.0.jar"> >> <attributes> >> <attribute name="org.eclipse.ajdt.aspectpath" >> value="true"/> >> </attributes> >> </classpathenty> >> > > But Eclipse will give me an error for duplicated build path entry, because > the version-1.0.jar already exists in the M2Eclipse Container. > > Is there a way to suppress this error? Or better, is there a way to > include > a Maven dependency in the AspectJ Build Path??
Felipe, can you please create jira on m2eclipse and attach some test project that we could use to reproduce issue and keep track of it for AJDT support. Thanks Eugene -- View this message in context: http://www.nabble.com/AspectJ-and-M2Eclipse-tp16095385s177p16267850.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
