[jboss-jira] [JBoss JIRA] Created: (JBAOP-447) maven plugin org.jboss.maven.plugins uses wrong location of target/classes

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


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