> Running org.jason.ShadowInnovations.AppTest > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec ... > when I run java -cp target\TestAppTest-1.0-SNAPSHOT.jar > (and then)org.jason.ShadowInnovations.App (that didnt work [Error: Could not > find or load main class jar] so I put > in)org.jason.ShadowInnovations.AppTest (and i got [Error: Could not find or > load main class]
Maven does not package your test files into the primary project artifact. Thus you will not get java -jar xyz.jar blah.AppTest to work without additional configuration in the pom file. Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org