I am trying to put this in my pom.xml-
com.limetray.helper.App
The <configuration>
snippet you have posted belongs inside a <plugin>
tag. Specifically, it belongs inside the Apache Maven Jar Plugin. Refer to the sample below to get an idea of what you are doing wrong.
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<archive>
<manifest>
<mainClass>com.limetray.helper.App</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
Refer to the Apache Maven Jar Plugin documentation here: https://maven.apache.org/plugins/maven-jar-plugin/index.html