testing is not integrated in pde plugin
---------------------------------------

                 Key: MOJO-920
                 URL: http://jira.codehaus.org/browse/MOJO-920
             Project: Mojo
          Issue Type: Bug
          Components: pde
         Environment: Eclipse 3.3.1, ubuntu linux 7.10
            Reporter: Mark Howard


The pde plugin does not handle unit testing gracefully. 
If I have unit tests in src/test/java, which require classes from src/main/java 
and dependencies in order to run, mvn package should be able to compile these 
successfully and run the tests. This does not currently happen.

All the builds are handled by a headless pde build. When the tests are 
compiled, this fails due to missing class files (pde places them in 
/target/pdeTemp/plugins/<app>/@dot/, instead of target/classes). If you fudge 
the tests compile to look here too, then the tests themselves fail since the 
pde dependencies aren't included on the classpath. 

Note that this could simply be a documentation issue, since dependency 
resolution in maven-pde-plugin is currently undocumented. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to