I have a Maven project with only one JUnit test, and no production code. The test is created in src/test/java/mypackage. I need to upload this test on a box and run it from the command line without using Maven.
I tried several approaches, including creating a jar from Maven and running it, but it keeps returning "no main manifest attribute, in project.jar".
I created in src/main/resources a folder called META-INF, containing MANIFEST.MF, with only one property: Main-Class:mypackage.Test, however I keep getting the above error. Please advise.