Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include new subproject to retain src compatibility using Jakarta/Ecl… #653

Merged
merged 3 commits into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<plugin.shade.version>3.5.0</plugin.shade.version>
<plugin.surefire.version>3.1.2</plugin.surefire.version>
<plugin.versions.version>2.7</plugin.versions.version>
<plugin.transformer-tools-mvn.version>1.0.15.Final</plugin.transformer-tools-mvn.version>

<annotations.version>24.0.1</annotations.version>
<checker-qual.version>3.36.0</checker-qual.version>
Expand Down
196 changes: 196 additions & 0 deletions cli-qpid-jms-1x/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2017 Red Hat, Inc.
~
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.redhat.cli-java</groupId>
<artifactId>parent</artifactId>
<version>1.2.2-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

<artifactId>cli-qpid-jms-1x</artifactId>
<packaging>jar</packaging>

<properties>
<bundle.symbolic.name.suffix>jms</bundle.symbolic.name.suffix>
<jar.main.class>com.redhat.mqe.jms.Main</jar.main.class>
<qpid.jms.1x.client.version>1.9.0</qpid.jms.1x.client.version>
<library.version>${qpid.jms.1x.client.version}</library.version>
<tcnative.version>2.0.61.Final</tcnative.version>
<tcnative.classifier>linux-x86_64-fedora</tcnative.classifier>
<jaeger-client.version>1.8.1</jaeger-client.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.qpid</groupId>
<artifactId>qpid-jms-parent</artifactId>
<version>${qpid.jms.1x.client.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.junit-pioneer</groupId>
<artifactId>junit-pioneer</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.redhat.cli-java</groupId>
<artifactId>jmslib</artifactId>
</dependency>

<dependency>
<groupId>org.apache.qpid</groupId>
<artifactId>qpid-jms-client</artifactId>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jms_2.0_spec</artifactId>
</dependency>

<dependency>
<groupId>io.opentracing</groupId>
<artifactId>opentracing-util</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.opentracing</groupId>
<artifactId>opentracing-api</artifactId>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>io.jaegertracing</groupId>
<artifactId>jaeger-client</artifactId>
<version>${jaeger-client.version}</version>
</dependency>

<dependency>
<groupId>com.redhat.cli-java</groupId>
<artifactId>tests</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.redhat.cli-java</groupId>
<artifactId>jmslib</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>artemis-amqp-protocol</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.redhat.cli-java</groupId>
<artifactId>broker</artifactId>
<version>1.2.2-SNAPSHOT</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<!--https://github.com/wildfly-extras/batavia/blob/master/tools/mvn/src/main/java/org/wildfly/extras/transformer/tool/maven/MavenPluginTransformer.java-->
<plugin>
<groupId>org.wildfly.extras.batavia</groupId>
<artifactId>transformer-tools-mvn</artifactId>
<version>${plugin.transformer-tools-mvn.version}</version>
<executions>
<execution>
<id>transform-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>transform-sources</goal>
</goals>
<configuration>
<source-project>${project.basedir}/../cli-qpid-jms</source-project>
<invert>true</invert>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.wildfly.extras.batavia</groupId>
<artifactId>transformer-impl-eclipse</artifactId>
<version>${plugin.transformer-tools-mvn.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>tcnative-boringssl-static</id>
<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative-boringssl-static</artifactId>
<version>${tcnative.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>tcnative-openssl-dynamic</id>
<activation>
<property>
<name>!disableTcnativeOpensslDynamic</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative</artifactId>
<version>${tcnative.version}</version>
<classifier>${tcnative.classifier}</classifier>
</dependency>
</dependencies>
</profile>
</profiles>

</project>
38 changes: 38 additions & 0 deletions cli-qpid-jms-1x/src/main/resources/log4j2.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
rootLogger=WARN, console

logger.lib.name=com.redhat.mqe.lib
logger.lib.level=INFO

logger.netty.name=io.netty
logger.netty.level=WARN

# Log transport.traceBytes=true messages
logger.NettyTcpTransport.name=org.apache.qpid.jms.transports.netty.NettyTcpTransport
logger.NettyTcpTransport.level=DEBUG

# Uncomment this to get debug logs from qpid-jms
#logger.qpid.name=org.slf4j.simpleLogger.log.org.apache.qpid
#logger.qpid.level=DEBUG

# Console appender
appender.console.type=Console
appender.console.name=console
appender.console.target=SYSTEM_ERR
Loading