mirror of https://github.com/apache/activemq.git
[AMQ-9237] Add META-INF/services to activemq-client-jakarta (#995)
(cherry picked from commit f8695b59f3
)
This commit is contained in:
parent
6edfdf7c17
commit
1083d8533d
|
@ -88,7 +88,7 @@
|
||||||
<classifier>sources</classifier>
|
<classifier>sources</classifier>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<outputDirectory>${project.build.directory}/copied-sources/activemq-client</outputDirectory>
|
<outputDirectory>${project.build.directory}/copied-sources/activemq-client</outputDirectory>
|
||||||
<excludes>**/META-INF/**,**/zeroconf/**</excludes>
|
<excludes>**/META-INF/*,**/META-INF/maven/**,**/zeroconf/**</excludes>
|
||||||
<includes>**/**</includes>
|
<includes>**/**</includes>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
</artifactItems>
|
</artifactItems>
|
||||||
|
@ -122,7 +122,7 @@
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-resources</id>
|
<id>copy-java-source</id>
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>copy-resources</goal>
|
<goal>copy-resources</goal>
|
||||||
|
@ -131,7 +131,22 @@
|
||||||
<outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
|
<outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>${project.build.directory}/copied-sources/activemq-client</directory>
|
<directory>${project.build.directory}/copied-sources/activemq-client/org</directory>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>copy-resources</id>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>copy-resources</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<outputDirectory>${project.build.directory}/generated-resources/META-INF</outputDirectory>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>${project.build.directory}/copied-sources/activemq-client/META-INF</directory>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -154,6 +169,20 @@
|
||||||
</sources>
|
</sources>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>add-resource</id>
|
||||||
|
<phase>generate-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>add-resource</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>${project.build.directory}/generated-resources</directory>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|
Loading…
Reference in New Issue