Skip to content

Commit

Permalink
chore(engine-rest): consolidate engine-rest artifacts
Browse files Browse the repository at this point in the history
Merges the functionality of the `org.camunda.bpm:camunda-engine-rest-jaxrs2` artifact into the `org.camunda.bpm:camunda-engine-rest-core` artifact. Previously, only the `jaxrs2` artifact had the long-polling capability. Since we dropped support for IBM WebSphere Application Server 8.5, we no longer need to maintain two artifacts.

related to CAM-14862, closes camunda#2011
  • Loading branch information
tasso94 authored Sep 16, 2022
1 parent 42d3fca commit b1ce8bd
Show file tree
Hide file tree
Showing 53 changed files with 71 additions and 1,957 deletions.
2 changes: 0 additions & 2 deletions .ci/config/matrices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ engine-rest:
- 'engine-rest-unit-jersey-2'
- 'engine-rest-unit-resteasy'
- 'engine-rest-unit-cxf'
- 'engine-rest-unit-jaxrs2-jersey-2'
- 'engine-rest-unit-jaxrs2-resteasy'
- 'engine-rest-unit-compatibility-wildfly'
- 'engine-rest-IT-embedded-wildfly'
daily-stages:
Expand Down
16 changes: 0 additions & 16 deletions .ci/config/stage-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,22 +127,6 @@ engine-rest-unit-cxf:
labels:
- 'rest-api'
nodeLabel: 'h2'
engine-rest-unit-jaxrs2-jersey-2:
directory: 'engine-rest/engine-rest-jaxrs2'
command: 'clean install -Pjersey2'
stash:
runtimeStash: true
labels:
- 'rest-api'
nodeLabel: 'h2'
engine-rest-unit-jaxrs2-resteasy:
directory: 'engine-rest/engine-rest-jaxrs2'
command: 'clean install -Presteasy'
stash:
runtimeStash: true
labels:
- 'rest-api'
nodeLabel: 'h2'
engine-rest-unit-compatibility-wildfly:
directory: 'engine-rest/engine-rest'
command: 'clean install -Pwildfly-compatibility'
Expand Down
5 changes: 0 additions & 5 deletions bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@
<artifactId>camunda-engine-rest</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-engine-rest-jaxrs2</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.camunda.bpm.identity</groupId>
<artifactId>camunda-identity-ldap</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion distro/run/modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
</dependency>
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-engine-rest-jaxrs2</artifactId>
<artifactId>camunda-engine-rest-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
9 changes: 6 additions & 3 deletions engine-rest/assembly/assembly-war-tomcat.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@
<useTransitiveFiltering>true</useTransitiveFiltering>
<scope>provided</scope>
<includes>
<include>org.camunda.bpm:camunda-engine-rest-jaxrs2:jar:*</include>
<include>org.camunda.bpm:camunda-engine-rest-core:jar</include>
<include>org.jboss.resteasy:resteasy-jaxrs:jar:*</include>
<include>org.jboss.resteasy:async-http-servlet-3.0:jar:*</include>
<include>org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.1_spec:jar:*</include>
</includes>
<excludes>
<exclude>org.camunda.bpm:camunda-engine-rest-core:jar:tests</exclude>
<exclude>org.camunda.bpm:camunda-engine-rest-core:jar:sources</exclude>
</excludes>
</dependencySet>

<dependencySet>
Expand All @@ -32,8 +36,7 @@
<unpack>true</unpack>
<unpackOptions>
<excludes>
<exclude>**/web.xml</exclude>
<exclude>**/camunda-engine-rest-core-*</exclude>
<exclude>**/web.xml</exclude>
</excludes>
</unpackOptions>
</dependencySet>
Expand Down
7 changes: 5 additions & 2 deletions engine-rest/assembly/assembly-war-was9.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,21 @@
<useTransitiveFiltering>true</useTransitiveFiltering>
<scope>provided</scope>
<includes>
<include>org.camunda.bpm:camunda-engine-rest-jaxrs2:jar:*</include>
<include>org.camunda.bpm:camunda-engine-rest-core:jar</include>
<include>org.glassfish.jersey.containers:jersey-container-servlet:*</include>
<include>org.glassfish.jersey.inject:jersey-hk2:*</include>
</includes>
<excludes>
<exclude>org.camunda.bpm:camunda-engine-rest-core:jar:tests</exclude>
<exclude>org.camunda.bpm:camunda-engine-rest-core:jar:sources</exclude>
</excludes>
</dependencySet>
<dependencySet>
<outputDirectory>/</outputDirectory>
<unpack>true</unpack>
<unpackOptions>
<excludes>
<exclude>**/web.xml</exclude>
<exclude>**/camunda-engine-rest-core-*</exclude>
</excludes>
</unpackOptions>
<includes>
Expand Down
7 changes: 5 additions & 2 deletions engine-rest/assembly/assembly-war-wildfly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@
<useTransitiveFiltering>true</useTransitiveFiltering>
<scope>provided</scope>
<includes>
<include>org.camunda.bpm:camunda-engine-rest-jaxrs2:jar:*</include>
<include>org.camunda.bpm:camunda-engine-rest-core:jar</include>
</includes>
<excludes>
<exclude>org.camunda.bpm:camunda-engine-rest-core:jar:tests</exclude>
<exclude>org.camunda.bpm:camunda-engine-rest-core:jar:sources</exclude>
</excludes>
</dependencySet>

<dependencySet>
Expand All @@ -38,7 +42,6 @@
<excludes>
<exclude>**/jboss-deployment-structure.xml</exclude>
<exclude>**/web.xml</exclude>
<exclude>**/camunda-engine-rest-core-*</exclude>
</excludes>
</unpackOptions>
</dependencySet>
Expand Down
7 changes: 5 additions & 2 deletions engine-rest/assembly/assembly-war-wls.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@
<useTransitiveFiltering>true</useTransitiveFiltering>
<scope>provided</scope>
<includes>
<include>org.camunda.bpm:camunda-engine-rest-jaxrs2:jar:*</include>
<include>org.camunda.bpm:camunda-engine-rest-core:jar</include>
<include>org.glassfish.jersey.containers:jersey-container-servlet:*</include>
<include>org.glassfish.jersey.inject:jersey-hk2:*</include>
</includes>
<excludes>
<exclude>org.camunda.bpm:camunda-engine-rest-core:jar:tests</exclude>
<exclude>org.camunda.bpm:camunda-engine-rest-core:jar:sources</exclude>
</excludes>
</dependencySet>

<dependencySet>
Expand All @@ -36,7 +40,6 @@
<unpackOptions>
<excludes>
<exclude>**/web.xml</exclude>
<exclude>**/camunda-engine-rest-core-*</exclude>
</excludes>
</unpackOptions>
<includes>
Expand Down
7 changes: 0 additions & 7 deletions engine-rest/assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-engine-rest-jaxrs2</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>

<!-- dependencies only used for assemblies should be scope provided -->
<dependency>
<groupId>org.camunda.bpm</groupId>
Expand Down
Loading

0 comments on commit b1ce8bd

Please sign in to comment.