Skip to content

Commit 840854a

Browse files
authored
Updated Manifest info in POM file
1 parent 9e489de commit 840854a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,19 @@
6060

6161
<build>
6262
<plugins>
63-
63+
<plugin>
64+
<!-- Build an executable JAR -->
65+
<groupId>org.apache.maven.plugins</groupId>
66+
<artifactId>maven-jar-plugin</artifactId>
67+
<version>2.4</version>
68+
<configuration>
69+
<archive>
70+
<manifest>
71+
<mainClass>com.example.javamavenjunithelloworld.HelloApp</mainClass>
72+
</manifest>
73+
</archive>
74+
</configuration>
75+
</plugin>
6476
<plugin>
6577
<!-- Configures the compiler. -->
6678
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)