File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 <dependency >
3131 <groupId >ch.jalu</groupId >
3232 <artifactId >configme</artifactId >
33+ <scope >compile</scope >
3334 </dependency >
3435 <dependency >
3536 <groupId >org.junit.jupiter</groupId >
6667 </resources >
6768
6869 <plugins >
70+ <plugin >
71+ <groupId >org.apache.maven.plugins</groupId >
72+ <artifactId >maven-shade-plugin</artifactId >
73+ <executions >
74+ <execution >
75+ <id >shade</id >
76+ <phase >package</phase >
77+ <goals >
78+ <goal >shade</goal >
79+ </goals >
80+ </execution >
81+ </executions >
82+ </plugin >
6983 <plugin >
7084 <groupId >org.apache.maven.plugins</groupId >
7185 <artifactId >maven-resources-plugin</artifactId >
110124 </execution >
111125 </executions >
112126 </plugin >
127+ <plugin >
128+ <groupId >org.apache.maven.plugins</groupId >
129+ <artifactId >maven-antrun-plugin</artifactId >
130+ <executions >
131+ <execution >
132+ <id >remove-original-shaded-jar</id >
133+ <phase >package</phase >
134+ <goals >
135+ <goal >run</goal >
136+ </goals >
137+ <configuration >
138+ <target >
139+ <delete file =" ${project.build.directory}/original-${project.build.finalName}.jar" quiet =" true" />
140+ </target >
141+ </configuration >
142+ </execution >
143+ </executions >
144+ </plugin >
113145 <plugin >
114146 <groupId >org.apache.maven.plugins</groupId >
115147 <artifactId >maven-source-plugin</artifactId >
Original file line number Diff line number Diff line change 2929 <dependency >
3030 <groupId >ch.jalu</groupId >
3131 <artifactId >configme</artifactId >
32+ <scope >compile</scope >
3233 </dependency >
3334 <dependency >
3435 <groupId >org.junit.jupiter</groupId >
6667 </resources >
6768
6869 <plugins >
70+ <plugin >
71+ <groupId >org.apache.maven.plugins</groupId >
72+ <artifactId >maven-shade-plugin</artifactId >
73+ <executions >
74+ <execution >
75+ <id >shade</id >
76+ <phase >package</phase >
77+ <goals >
78+ <goal >shade</goal >
79+ </goals >
80+ </execution >
81+ </executions >
82+ </plugin >
6983 <plugin >
7084 <groupId >org.apache.maven.plugins</groupId >
7185 <artifactId >maven-resources-plugin</artifactId >
110124 </execution >
111125 </executions >
112126 </plugin >
127+ <plugin >
128+ <groupId >org.apache.maven.plugins</groupId >
129+ <artifactId >maven-antrun-plugin</artifactId >
130+ <executions >
131+ <execution >
132+ <id >remove-original-shaded-jar</id >
133+ <phase >package</phase >
134+ <goals >
135+ <goal >run</goal >
136+ </goals >
137+ <configuration >
138+ <target >
139+ <delete file =" ${project.build.directory}/original-${project.build.finalName}.jar" quiet =" true" />
140+ </target >
141+ </configuration >
142+ </execution >
143+ </executions >
144+ </plugin >
113145 <plugin >
114146 <groupId >org.apache.maven.plugins</groupId >
115147 <artifactId >maven-source-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments