Skip to content

Commit b8d5d33

Browse files
authored
Remove jmslib code and replace it with generated code (from jakartalib) (#650)
These message provider classes were removed due to being no longer relevant to the current project. The removal of these classes helps to streamline the project's codebase by eliminating redundant or unused code, which in turn simplifies code maintenance and increases overall efficiency.
1 parent 03b70b8 commit b8d5d33

34 files changed

+32
-4462
lines changed

jmslib/pom.xml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
~ Copyright (c) 2017 Red Hat, Inc.
3+
~ Copyright (c) 2023 Red Hat, Inc.
44
~
55
~ Licensed to the Apache Software Foundation (ASF) under one or more
66
~ contributor license agreements. See the NOTICE file distributed with
@@ -31,6 +31,9 @@
3131
</parent>
3232

3333
<artifactId>jmslib</artifactId>
34+
<properties>
35+
<transformer-tools-mvn.version>1.0.15.Final</transformer-tools-mvn.version>
36+
</properties>
3437

3538
<dependencies>
3639
<dependency>
@@ -71,6 +74,32 @@
7174

7275
<build>
7376
<plugins>
77+
<!--https://github.com/wildfly-extras/batavia/blob/master/tools/mvn/src/main/java/org/wildfly/extras/transformer/tool/maven/MavenPluginTransformer.java-->
78+
<plugin>
79+
<groupId>org.wildfly.extras.batavia</groupId>
80+
<artifactId>transformer-tools-mvn</artifactId>
81+
<version>${transformer-tools-mvn.version}</version>
82+
<executions>
83+
<execution>
84+
<id>transform-sources</id>
85+
<phase>generate-sources</phase>
86+
<goals>
87+
<goal>transform-sources</goal>
88+
</goals>
89+
<configuration>
90+
<source-project>${project.basedir}/../jakartalib</source-project>
91+
<invert>true</invert>
92+
</configuration>
93+
</execution>
94+
</executions>
95+
<dependencies>
96+
<dependency>
97+
<groupId>org.wildfly.extras.batavia</groupId>
98+
<artifactId>transformer-impl-eclipse</artifactId>
99+
<version>${transformer-tools-mvn.version}</version>
100+
</dependency>
101+
</dependencies>
102+
</plugin>
74103
<plugin>
75104
<!-- https://stackoverflow.com/questions/174560/sharing-test-code-in-maven#174670 -->
76105
<artifactId>maven-jar-plugin</artifactId>

jmslib/src/main/java/com/redhat/mqe/lib/AMQPJmsMessageFormatter.java

Lines changed: 0 additions & 39 deletions
This file was deleted.

jmslib/src/main/java/com/redhat/mqe/lib/Args.java

Lines changed: 0 additions & 26 deletions
This file was deleted.

jmslib/src/main/java/com/redhat/mqe/lib/Client.java

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)