Hi all, I am trying to generate my eclipse project metadata (.project/.classpath) with mvn eclipse:eclispe, while also using aspectj.
The .project that gets created DOES contain the ajnature and ajbuilder,
so that's looking good.
However, the classpath attributes indicating that aspects from a jar
should be woven into my project are NOT generated, i.e., instead of:
<classpathentry kind="var"
path="M2_REPO/org/contract4j5/contract4j5/0.7.1/contract4j5-0.7.1.jar">
<attributes>
<attribute name="org.eclipse.ajdt.aspectpath"
value="true"/>
</attributes>
</classpathentry>
I just get:
<classpathentry kind="var"
path="M2_REPO/org/contract4j5/contract4j5/0.7.1/contract4j5-0.7.1.jar" />
The relevant configuration in the the aspectj plugin is in my pom.xml is:
<configuration>
<complianceLevel>1.5</complianceLevel>
<aspectLibraries>
<aspectLibrary>
<groupId>org.contract4j5</groupId>
<artifactId>contract4j5</artifactId>
</aspectLibrary>
</aspectLibraries>
</configuration>
I was wondering if there was any way to get this working. Am I doing
something wrong or do I need to do some extra configuration? Or is this
functionality missing from the relevant plugin (eclispe or aspectj)?
Many thanks!
Sebastiaan
smime.p7s
Description: S/MIME Cryptographic Signature
