File tree Expand file tree Collapse file tree 1 file changed +20
-23
lines changed Expand file tree Collapse file tree 1 file changed +20
-23
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 >
377
+ <groupId >org.apache.maven.plugins</groupId >
378
+ <artifactId >maven-antrun-plugin</artifactId >
379
+ <executions >
380
+ <execution >
381
+ <phase >package</phase >
382
+ <configuration >
383
+ <target >
384
+ <unzip src =" ${project.build.directory}/${project.artifactId}-jakarta-${project.version}.jar" dest =" ${project.build.directory}/jakarta" >
385
+ <patternset >
386
+ <include name =" META-INF/maven/**/pom.xml" />
387
+ </patternset >
388
+ </unzip >
389
+ </target >
390
+ </configuration >
391
+ <goals >
392
+ <goal >run</goal >
393
+ </goals >
394
+ </execution >
395
+ </executions >
396
+ </plugin >
400
397
<plugin >
401
398
<groupId >org.apache.maven.plugins</groupId >
402
399
<artifactId >maven-deploy-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments