Skip to content

Commit

Permalink
Merge pull request quarkusio#31283 from gsmet/fix-narayana-jakarta
Browse files Browse the repository at this point in the history
Nayarana LRA - Fix artifact coordinates in resource removal
  • Loading branch information
gsmet authored Feb 20, 2023
2 parents b88d236 + 4856254 commit c0c0f70
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ private void handleRemovedResources(ClassLoadingConfig classLoadingConfig, Curat
}
if (!removed.isEmpty()) {
log.warn("Could not remove configured resources from the following artifacts as they were not found in the model: "
+ removed.keySet());
+ removed);
}
}

Expand Down
4 changes: 2 additions & 2 deletions extensions/narayana-lra/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
<configuration>
<removedResources>
<artifact>
<key>org.jboss.narayana.rts:narayana-lra-jakarta</key>
<key>org.jboss.narayana.rts:narayana-lra</key>
<resources>META-INF/services/jakarta.ws.rs.client.ClientBuilder</resources>
</artifact>
<artifact>
<key>org.jboss.narayana.rts:lra-client-jakarta</key>
<key>org.jboss.narayana.rts:lra-client</key>
<resources>META-INF/services/jakarta.ws.rs.client.ClientBuilder</resources>
</artifact>
</removedResources>
Expand Down
75 changes: 25 additions & 50 deletions integration-tests/narayana-lra/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@
<properties>
<quarkus.http.test-port>8081</quarkus.http.test-port>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<version>${arquillian.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
Expand All @@ -35,6 +24,31 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-rest-client</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-narayana-lra</artifactId>
</dependency>

<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-junit5</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<scope>test</scope>
</dependency>

<!-- Minimal test dependencies to *-deployment artifacts for consistent build order -->
<dependency>
Expand Down Expand Up @@ -76,45 +90,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>commons-logging-jboss-logging</artifactId>
<version>1.0.0.Final</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-narayana-lra</artifactId>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<exclusion>
<groupId>org.jboss.spec.javax.servlet</groupId>
<artifactId>jboss-servlet-api_3.1_spec</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-junit5</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ quarkus.http.host=${HOST:localhost}
quarkus.log.console.enable=true
quarkus.log.console.format=%d{HH:mm:ss} %-5p [%c{2.}] (%t) %s%e%n
quarkus.log.console.level=INFO
quarkus.log.console.color=false
quarkus.log.category."io.quarkus".level=INFO

0 comments on commit c0c0f70

Please sign in to comment.