[jboss-jira] [JBoss JIRA] Closed: (JBAOP-447) maven-jbossaop-plugin uses wrong location of target/classes
Stale Pedersen (JIRA)
jira-events at lists.jboss.org
Sun Aug 5 19:10:02 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAOP-447?page=all ]
Stale Pedersen closed JBAOP-447.
--------------------------------
> maven-jbossaop-plugin uses wrong location of target/classes
> -----------------------------------------------------------
>
> Key: JBAOP-447
> URL: http://jira.jboss.com/jira/browse/JBAOP-447
> Project: JBoss AOP
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: unix OSX 10.4.10
> java 1.5
> Reporter: Anders Andersen
> Assigned To: Stale Pedersen
>
> the plugin uses target/classes as the location of classes.
> This is wrong when you use mvn -f xxxxx/pom.xml clean process-classes
> class: maven-jbossaop-plugin/src/main/java/org/jboss/maven/plugins/JBossAOPCMojo.java
> code error ****
> if(isTest())
> cl.addArguments(new String[] { project.getBuild().getTestOutputDirectory()});
> else
> cl.addArguments(new String[] { "target/classes"});
> better code******
> if(isTest())
> cl.addArguments(new String[] { project.getBuild().getTestOutputDirectory()});
> else
> cl.addArguments(new String[] { project.getBuild().getOutputDirectory()});
--
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