Hi,

 

Some of my modules has to be build with aspect while others don't.
Currently I have the full config for aspectj in each of those modules,
but it is always the same (see below). Is it possible to declare this
execution in a parent pom and then only declare that for this module
there is an additional execution necessary. Or is a profile the correct
way?

 

Greetings

Jens

 

n>

 
<groupId>org.codehaus.mojo</groupId>

 
<artifactId>aspectj-maven-plugin</artifactId>

 
<version>1.3</version>

 

 
<executions>

 
<execution>

 
<configuration>

 
<verbose>true</verbose>

 
<privateScope>true</privateScope>

 
<complianceLevel>1.6</complianceLevel>

 
<showWeaveInfo>true</showWeaveInfo>

 

 
<showWarnings>true</showWarnings>

 
<showDeprecation>true</showDeprecation>

 

 
<includes>

 
<include>**/*.java</include>

 
<include>**/*.aj</include>

 
</includes>

 

 
<aspectLibraries>

 
<aspectLibrary>

 
<groupId>xxxxxxxxx</groupId>

 
<artifactId>xxxxxxxxx</artifactId>

 
</aspectLibrary>

 
</aspectLibraries>

 

 
</configuration>

 

 
<goals>

 
<goal>compile</goal>

 
<goal>test-compile</goal>

 
</goals>

 
</execution>

 
</executions>

 

                                               </plugin>

Reply via email to