To run my application on a CI server (jenkins) I am trying to create a headless assembly.
To do this, I follow the Eclipse Con Tutorial with some minor changes (using Indigo instead of Eclipse 4), which can be found here: https://github.com/jsievers/tycho-demo/tree/master/exercises
I managed to finish the first part (it was not very difficult, mvn clean install), but now I have run out of the target folder and the jar file, similar to my project: mail-1.0.0-SNAPSHOT.jar, but I am very confused since I I can not start it.
I tried java -jar mail-1.0.0-SNAPSHOT.jarthat causes the following failure:
there is no main attribute of the manifest, in mail-1.0.0-SNAPSHOT.jar
There are no further tips in the tutorial, so I'm not sure what the purpose of this step is.
source
share