File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed
Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change 111111 </repository >
112112 </repositories >
113113
114- <!-- to introduce Vlado's favourite COMMITrev file into the released .jar files -->
115114 <build >
116115 <plugins >
116+ <!-- to introduce Vlado's favourite COMMITrev file into the released .jar files -->
117+ <!-- fetches git parameters/status -->
117118 <plugin >
118119 <groupId >pl.project13.maven</groupId >
119120 <artifactId >git-commit-id-plugin</artifactId >
136137 </includeOnlyProperties >
137138 </configuration >
138139 </plugin >
140+ <!-- creates the COMMITrev tag file -->
139141 <plugin >
140142 <groupId >org.apache.maven.plugins</groupId >
141143 <artifactId >maven-antrun-plugin</artifactId >
156158 </target >
157159 </configuration >
158160 </plugin >
161+ <!-- creates a fat jar with all dependencies to simply run: java -jar target/far.jar -->
162+ <plugin >
163+ <artifactId >maven-assembly-plugin</artifactId >
164+ <version >3.6.0</version >
165+ <configuration >
166+ <descriptorRefs >
167+ <descriptorRef >jar-with-dependencies</descriptorRef >
168+ </descriptorRefs >
169+ <archive >
170+ <manifest >
171+ <mainClass >net.celltrackingchallenge.measures.util.BgMaskCreator</mainClass >
172+ </manifest >
173+ </archive >
174+ </configuration >
175+ <executions >
176+ <execution >
177+ <id >make-assembly</id >
178+ <phase >package</phase >
179+ <goals >
180+ <goal >single</goal >
181+ </goals >
182+ </execution >
183+ </executions >
184+ </plugin >
159185 </plugins >
160186 </build >
161187</project >
You can’t perform that action at this time.
0 commit comments