Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: pde (retired)
-
Labels:None
-
Environment:Eclipse 3.3.1, ubuntu linux 7.10
-
Complexity:Intermediate
Description
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.
I have some PDE JUnit tests in my plugins and I want also, that this tests are executed if i run pde:test.