In JavaSW, an executable jarW file specifies its main class in the MANIFEST.MF file in that jar file. For a mavenSW project that features "jar" packaging, we can specify the main class for the MANIFEST.MF file by specifying it in our pom.xml, as shown here: pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ma
![How do I specify a main class in the manifest of my generated jar file? - Web Tutorials - avajava.com](https://cdn-ak-scissors.b.st-hatena.com/image/square/a6af80276a416331e4dc987a55fe8378324fc06f/height=288;version=1;width=512/http%3A%2F%2Fwww.avajava.com%2Ftutorials%2Fmaven%2Fhow-do-i-specify-a-main-class-in-the-manifest-of-my-generated-jar-file%2Fhow-do-i-specify-a-main-class-in-the-manifest-of-my-generated-jar-file-01.gif)