hi, please take a look at the pom.xml file in the method-execution example 
provided in the distro; 
jboss-aop-2.0.0.GA/docs/aspect-framework/examples/method-execution/pom.xml. 
there you'll see an example of a 2-step process where the classes are compile 
time woven, and then executed with the jboss-aop.xml referenced in the run step.
      <plugin>
  |         <groupId>org.jboss.maven.plugins</groupId>
  |         <artifactId>maven-jbossaop-plugin</artifactId>
  |         <version>${jboss.aop.plugin.version}</version>
  |         <executions>
  |           <execution>
  |             <id>compile</id>
  |             <configuration>
  |               <aoppaths>
  |                 <aoppath>jboss-aop.xml</aoppath>
  |               </aoppaths>
  |             </configuration>
  |             <goals>
  |               <goal>compile</goal>
  |             </goals>
  |           </execution>
  |           <execution>
  |             <id>run</id>
  |             <configuration>
  |               <aoppaths>
  |                 <aoppath>jboss-aop.xml</aoppath>
  |               </aoppaths>
  |               <executable>Driver</executable>
  |             </configuration>
  |             <goals>
  |               <goal>run</goal>
  |             </goals>
  |           </execution>
  |         </executions>
  |       </plugin>

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215539#4215539

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215539
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to