File tree Expand file tree Collapse file tree 1 file changed +26
-4
lines changed Expand file tree Collapse file tree 1 file changed +26
-4
lines changed Original file line number Diff line number Diff line change 374
374
</executions >
375
375
</plugin >
376
376
<plugin >
377
+ <groupId >org.apache.maven.plugins</groupId >
378
+ <artifactId >maven-dependency-plugin</artifactId >
379
+ <executions >
380
+ <execution >
381
+ <id >unpack</id >
382
+ <phase >generate-sources</phase >
383
+ <goals >
384
+ <goal >unpack</goal >
385
+ </goals >
386
+ <configuration >
387
+ <artifactItems >
388
+ <artifactItem >
389
+ <groupId >${project.groupId} </groupId >
390
+ <artifactId >${project.artifactId}-jakarta</artifactId >
391
+ <version >${project.version} </version >
392
+ <outputDirectory >${project.build.directory} /jakarta</outputDirectory >
393
+ <includes >**\/pom.xml</includes >
394
+ </artifactItem >
395
+ </artifactItems >
396
+ </configuration >
397
+ </execution >
398
+ </executions >
399
+ </plugin >
400
+ <plugin >
377
401
<groupId >org.apache.maven.plugins</groupId >
378
402
<artifactId >maven-deploy-plugin</artifactId >
379
403
<executions >
384
408
</goals >
385
409
<configuration >
386
410
<repositoryId >github</repositoryId >
387
- <packaging >jar</packaging >
411
+ <!-- må matche unpacked pom.xml fra over (disse endrer ikke path ved transform p.t.) -->
412
+ <pomFile >${project.build.directory} /jakarta/META-INF/maven/${project.groupId} /${project.artifactId} /pom.xml</pomFile >
388
413
<url >${project.distributionManagement.repository.url} </url >
389
- <artifactId >${project.artifactId}-jakarta</artifactId >
390
- <groupId >${project.groupId} </groupId >
391
- <version >${project.version} </version >
392
414
<file >${project.build.directory} /${project.artifactId} -jakarta-${project.version} .jar</file >
393
415
</configuration >
394
416
</execution >
You can’t perform that action at this time.
0 commit comments