File tree 1 file changed +27
-1
lines changed 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change 111
111
</repository >
112
112
</repositories >
113
113
114
- <!-- to introduce Vlado's favourite COMMITrev file into the released .jar files -->
115
114
<build >
116
115
<plugins >
116
+ <!-- to introduce Vlado's favourite COMMITrev file into the released .jar files -->
117
+ <!-- fetches git parameters/status -->
117
118
<plugin >
118
119
<groupId >pl.project13.maven</groupId >
119
120
<artifactId >git-commit-id-plugin</artifactId >
136
137
</includeOnlyProperties >
137
138
</configuration >
138
139
</plugin >
140
+ <!-- creates the COMMITrev tag file -->
139
141
<plugin >
140
142
<groupId >org.apache.maven.plugins</groupId >
141
143
<artifactId >maven-antrun-plugin</artifactId >
156
158
</target >
157
159
</configuration >
158
160
</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 >
159
185
</plugins >
160
186
</build >
161
187
</project >
You can’t perform that action at this time.
0 commit comments