[
http://jira.jboss.com/jira/browse/JBAOP-448?page=comments#action_12371150 ]
Anders Andersen commented on JBAOP-448:
---------------------------------------
I would like to know where the plugin is maven deployed.
maven-jbossaop-plugin cannot use include of classes
---------------------------------------------------
Key: JBAOP-448
URL:
http://jira.jboss.com/jira/browse/JBAOP-448
Project: JBoss AOP
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Environment: any maven2
Reporter: Anders Andersen
Assigned To: Stale Pedersen
The ant target
<taskdef
name="aopc"
classname="org.jboss.aop.ant.AopC"
classpathref="jbossaop.task.classpath"/>
is cabable of including specific classes
Sample:
<aopc compilerclasspathref="aop.classpath"
verbose="true">
<classpath refid="aopc.classpath"/>
<src path="${build.classes}"/>
<aoppath
path="${build.resources}/portal-wsrp-sar/wsrp-aop.xml"/>
<include
name="org/jboss/portal/wsrp/consumer/ConsumerRegistryService.class"/>
</aopc>
Sample of what it could look like in maven2
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jbossaop-plugin</artifactId>
<executions>
<execution>
<phase>process-classes</phase>
<configuration>
<aoppath>${basedir}/../portal-wsrp-sar/src/main/resources/wsrp-aop.xml</aoppath>
<verbose>true</verbose>
<includes>
<include>org/jboss/portal/wsrp/consumer/ConsumerRegistryService.class</include>
</includes>
</configuration>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira