|
9 | 9 | <version>1.1.5-SNAPSHOT</version> |
10 | 10 | </parent> |
11 | 11 | <artifactId>cli</artifactId> |
12 | | - <name>Threema Messsge Gateway CLI</name> |
13 | | - <properties> |
14 | | - <source.encoding>UTF-8</source.encoding> |
15 | | - <project.build.sourceEncoding>${source.encoding}</project.build.sourceEncoding> |
16 | | - <project.reporting.outputEncoding>${source.encoding}</project.reporting.outputEncoding> |
17 | | - </properties> |
| 12 | + <name>Threema Messsage Gateway CLI</name> |
18 | 13 | <url>https://github.com/lordyavin/threema-msgapi-sdk-java</url> |
19 | 14 | <licenses> |
20 | 15 | <license> |
|
23 | 18 | <distribution>repo</distribution> |
24 | 19 | </license> |
25 | 20 | </licenses> |
26 | | - |
| 21 | + <properties> |
| 22 | + <mainClass>net.klesatschke.threema.cli.ConsoleMain</mainClass> |
| 23 | + </properties> |
27 | 24 | <build> |
28 | 25 | <plugins> |
29 | | - <plugin> |
30 | | - <groupId>org.apache.maven.plugins</groupId> |
31 | | - <artifactId>maven-compiler-plugin</artifactId> |
32 | | - <version>3.10.1</version> |
33 | | - <configuration> |
34 | | - <encoding>${source.encoding}</encoding> |
35 | | - <source>17</source> |
36 | | - <target>17</target> |
37 | | - </configuration> |
38 | | - </plugin> |
39 | 26 | <plugin> |
40 | 27 | <!-- Build an executable JAR --> |
41 | 28 | <groupId>org.apache.maven.plugins</groupId> |
|
46 | 33 | <manifest> |
47 | 34 | <addClasspath>true</addClasspath> |
48 | 35 | <classpathPrefix>lib/</classpathPrefix> |
49 | | - <mainClass>ch.threema.apitool.Console</mainClass> |
| 36 | + <mainClass>${mainClass}</mainClass> |
50 | 37 | </manifest> |
51 | 38 | </archive> |
52 | 39 | </configuration> |
|
58 | 45 | <configuration> |
59 | 46 | <archive> |
60 | 47 | <manifest> |
61 | | - <mainClass>ch.threema.apitool.ConsoleMain</mainClass> |
| 48 | + <mainClass>${mainClass}</mainClass> |
62 | 49 | </manifest> |
63 | 50 | </archive> |
64 | 51 | <descriptorRefs> |
|
77 | 64 | </plugin> |
78 | 65 | </plugins> |
79 | 66 | </build> |
80 | | - <distributionManagement> |
81 | | - <repository> |
82 | | - <id>github</id> |
83 | | - <name>GitHub lordyavin Apache Maven Packages</name> |
84 | | - <url>https://maven.pkg.github.com/lordyavin/threema-msgapi-sdk-java</url> |
85 | | - </repository> |
86 | | - </distributionManagement> |
87 | 67 | <dependencies> |
88 | 68 | <dependency> |
89 | 69 | <groupId>net.klesatschke.threema</groupId> |
90 | 70 | <artifactId>api</artifactId> |
91 | 71 | <version>1.1.5-SNAPSHOT</version> |
92 | 72 | </dependency> |
93 | 73 | </dependencies> |
| 74 | + <distributionManagement> |
| 75 | + <repository> |
| 76 | + <id>github</id> |
| 77 | + <name>GitHub lordyavin Apache Maven Packages</name> |
| 78 | + <url>https://maven.pkg.github.com/lordyavin/threema-msgapi-sdk-java</url> |
| 79 | + </repository> |
| 80 | + </distributionManagement> |
94 | 81 | </project> |
0 commit comments