[jboss-jira] [JBoss JIRA] Updated: (JBAOP-447) maven-jbossaop-plugin uses wrong location of target/classes

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


     [ http://jira.jboss.com/jira/browse/JBAOP-447?page=all ]

Anders Andersen updated JBAOP-447:
----------------------------------

    Summary: maven-jbossaop-plugin uses wrong location of target/classes  (was: maven plugin org.jboss.maven.plugins uses wrong location of target/classes)

> 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
>
> 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