Skip to content

Commit 3516bd4

Browse files
authored
Update pom.xml
1 parent 16355ac commit 3516bd4

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

pom.xml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.ravi.cal</groupId>
55
<artifactId>RaviCalculator</artifactId>
6-
<version>0.1.1</version>
6+
<version>0.1.2</version>
77
<packaging>jar</packaging>
88
<name>RaviCalculator</name>
99
<url>http://maven.apache.org</url>
@@ -18,5 +18,22 @@
1818
<scope>test</scope>
1919
</dependency>
2020
</dependencies>
21-
21+
<build>
22+
<plugins>
23+
<plugin>
24+
<!-- Building an executable jar -->
25+
<groupId>org.apache.maven.plugins</groupId>
26+
<artifactId>maven-jar-plugin</artifactId>
27+
<version>3.1.0</version>
28+
<configuration>
29+
<archive>
30+
<manifest>
31+
<!-- give full qualified name of your main class-->
32+
<mainClass>com.ravi.cal.RaviCalculator.Calculator</mainClass>
33+
</manifest>
34+
</archive>
35+
</configuration>
36+
</plugin>
37+
</plugins>
38+
</build>
2239
</project>

0 commit comments

Comments
 (0)