File tree Expand file tree Collapse file tree 1 file changed +39
-3
lines changed Expand file tree Collapse file tree 1 file changed +39
-3
lines changed Original file line number Diff line number Diff line change 10
10
<resource >
11
11
<directory >src/main/java</directory >
12
12
</resource >
13
- </resources >
13
+ </resources >
14
+ <plugins >
15
+ <plugin >
16
+ <groupId >org.apache.maven.plugins</groupId >
17
+ <artifactId >maven-jar-plugin</artifactId >
18
+ <version >3.1.0</version >
19
+ <configuration >
20
+ <archive >
21
+ <manifest >
22
+ <addClasspath >true</addClasspath >
23
+ <mainClass >com.m.ibrahimhanif.View.main</mainClass >
24
+ </manifest >
25
+ </archive >
26
+ <excludes >
27
+ <exclude >**/*.java</exclude >
28
+ </excludes >
29
+ </configuration >
30
+ </plugin >
31
+ <plugin >
32
+ <groupId >org.apache.maven.plugins</groupId >
33
+ <artifactId >maven-shade-plugin</artifactId >
34
+ <version >3.2.4</version >
35
+ <executions >
36
+ <execution >
37
+ <phase >package</phase >
38
+ <goals >
39
+ <goal >shade</goal >
40
+ </goals >
41
+ <configuration >
42
+ <createDependencyReducedPom >false</createDependencyReducedPom >
43
+ <shadedArtifactAttached >true</shadedArtifactAttached >
44
+ <shadedClassifierName >release</shadedClassifierName >
45
+ </configuration >
46
+ </execution >
47
+ </executions >
48
+ </plugin >
49
+ </plugins >
14
50
</build >
15
51
<dependencies >
16
52
<dependency >
44
80
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
45
81
<maven .compiler.source>19</maven .compiler.source>
46
82
<maven .compiler.target>19</maven .compiler.target>
47
- <exec .mainClass>com.m.ibrahimhanif.App </exec .mainClass>
83
+ <exec .mainClass>com.m.ibrahimhanif.View.main </exec .mainClass>
48
84
</properties >
49
- </project >
85
+ </project >
You can’t perform that action at this time.
0 commit comments