Skip to content

Commit 2f1a6a7

Browse files
author
dlopez
committed
added -jar main class option
1 parent 9fcc99a commit 2f1a6a7

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

pom.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,36 @@
2727
<release>11</release>
2828
</configuration>
2929
</plugin>
30+
<plugin>
31+
<artifactId>maven-assembly-plugin</artifactId>
32+
<configuration>
33+
<archive>
34+
<manifest>
35+
<mainClass>es.jdlopez.sqlcmd.MainRunner</mainClass>
36+
</manifest>
37+
</archive>
38+
<descriptorRefs>
39+
<descriptorRef>jar-with-dependencies</descriptorRef>
40+
</descriptorRefs>
41+
</configuration>
42+
<executions>
43+
<execution>
44+
<id>make-assembly</id>
45+
<phase>package</phase>
46+
<goals>
47+
<goal>single</goal>
48+
</goals>
49+
</execution>
50+
</executions>
51+
</plugin>
3052
</plugins>
3153
</build>
54+
55+
<distributionManagement>
56+
<repository>
57+
<id>github</id>
58+
<name>GitHub OWNER Apache Maven Packages</name>
59+
<url>https://maven.pkg.github.com/jdlopez/sqlcmd</url>
60+
</repository>
61+
</distributionManagement>
3262
</project>

0 commit comments

Comments
 (0)