File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 1111
1212 <properties >
1313 <kotlin .version>1.0.1-2</kotlin .version>
14- <junit .version>4.10 </junit .version>
15-
14+ <junit .version>4.12 </junit .version>
15+ < main .class>hello.HelloKt</ main .class>
1616 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1717 </properties >
1818
6565 </execution >
6666 </executions >
6767 </plugin >
68+ <plugin >
69+ <groupId >org.apache.maven.plugins</groupId >
70+ <artifactId >maven-jar-plugin</artifactId >
71+ <version >2.6</version >
72+ <configuration >
73+ <archive >
74+ <manifest >
75+ <addClasspath >true</addClasspath >
76+ <mainClass >${main.class} </mainClass >
77+ </manifest >
78+ </archive >
79+ </configuration >
80+ </plugin >
6881 <plugin >
6982 <groupId >org.codehaus.mojo</groupId >
7083 <artifactId >exec-maven-plugin</artifactId >
7891 </execution >
7992 </executions >
8093 <configuration >
81- <mainClass >hello.HelloKt </mainClass >
94+ <mainClass >${main.class} </mainClass >
8295 </configuration >
8396 </plugin >
8497 </plugins >
You can’t perform that action at this time.
0 commit comments