[jboss-jira] [JBoss JIRA] Created: (JBAOP-448) maven plugin org.jboss.maven.plugins cannot use include of classes

Anders Andersen (JIRA) jira-events at lists.jboss.org
Sat Jul 28 05:44:47 EDT 2007


maven plugin org.jboss.maven.plugins 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


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

        



More information about the jboss-jira mailing list