Some followup info, my test classes are in src/test/java but were
built and output to target/classes, and surefire seems to be looking
for tests in the target/test-classes folder. This seems like it
might be Tycho lumping all files into target/classes rather than
splitting them to classes/test-classes?
Thanks,
David
On 2/19/2012 12:11 AM, David Erickson wrote:
Working
on moving from 0.10->0.14 and ran into another issue where my
regular surefire tests inside an eclipse-plugin are no longer
being run. I've attached the parent and child POMs if anyone has
a suggestion on what the issue might be.
Here is the log output..
[INFO]
------------------------------------------------------------------------
[INFO] Building Beacon Packet Library 1.0.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- tycho-packaging-plugin:0.14.0:build-qualifier
(default-build-qualifier) @ net.beaconcontroller.packet ---
[INFO]
[INFO] --- tycho-packaging-plugin:0.14.0:validate-id
(default-validate-id) @ net.beaconcontroller.packet ---
[INFO]
[INFO] --- tycho-packaging-plugin:0.14.0:validate-version
(default-validate-version) @ net.beaconcontroller.packet ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources
(default-resources) @ net.beaconcontroller.packet ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/d/git/beacon/net.beaconcontroller.packet/src/main/resources
[INFO]
[INFO] --- tycho-compiler-plugin:0.14.0:compile (default-compile)
@ net.beaconcontroller.packet ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources
(default-testResources) @ net.beaconcontroller.packet ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/d/git/beacon/net.beaconcontroller.packet/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (compiletests)
@ net.beaconcontroller.packet ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (test) @
net.beaconcontroller.packet ---
[INFO] No tests to run.
[INFO] Surefire report directory:
/home/d/git/beacon/net.beaconcontroller.packet/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
Thanks,
David
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
|