File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 392
392
<goal >run</goal >
393
393
</goals >
394
394
</execution >
395
+ <execution >
396
+ <id >antrun-delete-file</id >
397
+ <phase >package</phase >
398
+ <configuration >
399
+ <target >
400
+ <!-- ompakker jar fil uten pom.xml -->
401
+ <jar destfile =" ${project.build.directory}/${project.artifactId}-jakarta-${project.version}-TOBEDEPLOYED.jar" >
402
+ <zipfileset src =" ${project.build.directory}/${project.artifactId}-jakarta-${project.version}.jar" excludes =" META-INF/maven/**" />
403
+ </jar >
404
+ </target >
405
+ </configuration >
406
+ <goals >
407
+ <goal >run</goal >
408
+ </goals >
409
+ </execution >
410
+
395
411
</executions >
396
412
</plugin >
397
413
<plugin >
408
424
<!-- må matche unpacked pom.xml fra over (disse endrer ikke path ved transform p.t.) -->
409
425
<pomFile >${project.build.directory} /jakarta/META-INF/maven/${project.groupId} /${project.artifactId} /pom.xml</pomFile >
410
426
<url >${project.distributionManagement.repository.url} </url >
411
- <file >${project.build.directory} /${project.artifactId} -jakarta-${project.version} .jar</file >
427
+ <file >${project.build.directory} /${project.artifactId} -jakarta-${project.version} -TOBEDEPLOYED .jar</file >
412
428
</configuration >
413
429
</execution >
414
430
</executions >
You can’t perform that action at this time.
0 commit comments