Skip to content

Commit

Permalink
Include the deployment descriptors in the output artifact. (#1338)
Browse files Browse the repository at this point in the history
* Include the deployment descriptors in the output artifact.
Related to #1336


Signed-off-by: Scott M Stark <[email protected]>
  • Loading branch information
starksm64 authored Jul 14, 2024
1 parent a042ee5 commit 1d4984a
Show file tree
Hide file tree
Showing 22 changed files with 274 additions and 2 deletions.
13 changes: 13 additions & 0 deletions appclient/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,19 @@
</dependencies>

<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
12 changes: 12 additions & 0 deletions assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>
<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
15 changes: 15 additions & 0 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,19 @@
</dependency>
</dependencies>

<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.properties</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>
</build>
</project>
12 changes: 12 additions & 0 deletions connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>
<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
13 changes: 13 additions & 0 deletions ejb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,19 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
13 changes: 13 additions & 0 deletions ejb30-ws/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,19 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
12 changes: 12 additions & 0 deletions ejb30/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,18 @@
</dependencies>

<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>
<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
13 changes: 13 additions & 0 deletions ejb32/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,19 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
13 changes: 13 additions & 0 deletions integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,19 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
13 changes: 13 additions & 0 deletions javaee/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,19 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
13 changes: 13 additions & 0 deletions javamail/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,19 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
13 changes: 13 additions & 0 deletions jaxws-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,19 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
13 changes: 13 additions & 0 deletions jaxws/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,19 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
13 changes: 13 additions & 0 deletions jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,19 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
13 changes: 13 additions & 0 deletions jms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,19 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
13 changes: 13 additions & 0 deletions jta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,19 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
13 changes: 13 additions & 0 deletions jws-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,19 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
13 changes: 13 additions & 0 deletions jws/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,19 @@
</dependencies>

<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j</groupId>
<artifactId>project</artifactId>
<version>1.0.7</version>
<version>1.0.9</version>
</parent>

<groupId>jakarta.tck</groupId>
Expand Down Expand Up @@ -762,7 +762,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
Expand Down
13 changes: 13 additions & 0 deletions samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,19 @@
</dependency>
</dependencies>
<build>
<!-- Include the container descriptors in the output artifact -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/build.xml</exclude>
</excludes>
</resource>
</resources>

<plugins>
<!-- do not publish this artifact to Maven repositories -->
<plugin>
Expand Down
Loading

0 comments on commit 1d4984a

Please sign in to comment.