[jboss-user] [JBoss AOP Users] - Re: Jboss AOP maven plugin problems.
ruado
do-not-reply at jboss.com
Sun Sep 13 06:12:05 EDT 2009
After trying one day, I discovered one strange thing about the jbossaop maven plugin.When I commented out
| <aoppaths>
| <aoppath>${project.build.outputDirectory}/jboss-aop.xml</aoppath>
| </aoppaths> in pom, both of the jbossaop:compile and jbossaop:run goal didn't use the jboss-aop.xml file at src/main/resources as the default value of aoppaths property.
Here are the debug output:
anonymous wrote :
| [DEBUG]Configuring mojo 'org.jboss.maven.plugins:maven-jbossaop-plugin:2.1.3.GA:run' -->
| [DEBUG] (f) aoppaths = []
| [DEBUG] (f) executable = demo.simple.Driver
| [DEBUG] (f) includeProjectDependency = false
| [DEBUG] (f) loadtime = true
| [DEBUG] (f) pluginArtifacts = [org.codehaus.plexus:plexus-utils:jar:1.4.9:runtime, org.apache.maven.plugins:maven-surefire-plugin:jar:2.4:runtime, org.apache.maven.surefire:surefire-booter:jar:2.4:runtime, org.apache.maven.surefire:surefire-api:jar:2.4:runtime, org.jboss.aop:jboss-aop:jar:2.1.3.GA:runtime, org.apache.ant:ant:jar:1.7.0:runtime, org.apache.ant:ant-launcher:jar:1.7.0:runtime, javassist:javassist:jar:3.10.0.GA:runtime, org.jboss:jboss-reflect:jar:2.0.2.GA:runtime, org.jboss.logging:jboss-logging-spi:jar:2.0.5.GA:runtime, org.jboss:jboss-common-core:jar:2.2.11.GA:runtime, org.jboss:jboss-mdr:jar:2.0.1.GA:runtime, trove:trove:jar:2.1.1:runtime, org.jboss.logging:jboss-logging-log4j:jar:2.0.5.GA:runtime, org.apache.maven:maven-plugin-api:jar:2.0.9:runtime, org.apache.maven:maven-project:jar:2.0.9:runtime]
| [DEBUG] (f) project = MavenProject: org.jboss.aop:constructor-execution:1.0.0 @ /home/ruado/NetBeansProjects/simple/pom.xml
| [DEBUG] (f) verbose = false
| [DEBUG]-- end configuration --
| [jbossaop:run]
| [DEBUG]Executing aop: /bin/sh -c "cd /home/ruado/NetBeansProjects/simple/target/classes && java -javaagent:/home/ruado/.m2/repository/org/jboss/aop/jboss-aop/2.1.3.GA/jboss-aop-2.1.3.GA.jar -cp /home/ruado/.m2/repository/org/jboss/aop/jboss-aop/2.1.3.GA/jboss-aop-2.1.3.GA.jar:/home/ruado/.m2/repository/javassist/javassist/3.10.0.GA/javassist-3.10.0.GA.jar:/home/ruado/.m2/repository/org/jboss/jboss-reflect/2.0.2.GA/jboss-reflect-2.0.2.GA.jar:/home/ruado/.m2/repository/org/jboss/logging/jboss-logging-spi/2.0.5.GA/jboss-logging-spi-2.0.5.GA.jar:/home/ruado/.m2/repository/org/jboss/jboss-common-core/2.2.11.GA/jboss-common-core-2.2.11.GA.jar:/home/ruado/.m2/repository/org/jboss/jboss-mdr/2.0.1.GA/jboss-mdr-2.0.1.GA.jar:/home/ruado/.m2/repository/trove/trove/2.1.1/trove-2.1.1.jar:/home/ruado/.m2/repository/org/jboss/logging/jboss-logging-log4j/2.0.5.GA/jboss-logging-log4j-2.0.5.GA.jar:/home/ruado/NetBeansProjects/simple/target/classes -Djboss.aop.verbose=false demo.simple.Driv!
er"
| --- new POJO(); ---
| empty constructor
| --- new POJO(String); ---
| String constructor
| --- new POJO(int); ---
| int constructor
|
Any idea about this problem?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254943#4254943
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254943
More information about the jboss-user
mailing list