
META-INF.maven.org.apache.pulsar.pulsar-client.pom.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.pulsar-client
Show all versions of org.apache.servicemix.bundles.pulsar-client
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
The newest version!
<?xml version="1.0" ?> <!-- 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="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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>org.apache.pulsar</groupId> <artifactId>pulsar</artifactId> <version>4.0.5</version> </parent> <artifactId>pulsar-client</artifactId> <name>Pulsar Client Java</name> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>pulsar-client-api</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>pulsar-client-original</artifactId> <version>${project.version}</version> <exclusions> <exclusion> <groupId>it.unimi.dsi</groupId> <artifactId>fastutil</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>pulsar-client-dependencies-minimized</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>pulsar-client-messagecrypto-bc</artifactId> <version>${project.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack</id> <phase>prepare-package</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>${project.groupId}</groupId> <artifactId>pulsar-client-original</artifactId> <version>${project.version}</version> <type>jar</type> <overWrite>true</overWrite> <includes>**/ProtobufSchema.class</includes> <outputDirectory>${project.build.directory}/classes</outputDirectory> </artifactItem> <artifactItem> <groupId>org.asynchttpclient</groupId> <artifactId>async-http-client</artifactId> <version>${asynchttpclient.version}</version> <type>jar</type> <overWrite>true</overWrite> <includes>org/asynchttpclient/config/ahc-default.properties</includes> <outputDirectory>${project.build.directory}/classes</outputDirectory> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>shade-ahc-properties</id> <phase>prepare-package</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <!-- shade the AsyncHttpClient ahc-default.properties files --> <replace file="${project.build.directory}/classes/org/asynchttpclient/config/ahc-default.properties" token="org.asynchttpclient." value="org.apache.pulsar.shade.org.asynchttpclient."/> </target> </configuration> </execution> </executions> </plugin> <plugin> <!-- Shade all the dependencies to avoid conflicts --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>${shadePluginPhase}</phase> <goals> <goal>shade</goal> </goals> <configuration> <createDependencyReducedPom>true</createDependencyReducedPom> <promoteTransitiveDependencies>true</promoteTransitiveDependencies> <minimizeJar>false</minimizeJar> <artifactSet> <includes> <include>com.fasterxml.jackson.*:*</include> <include>com.google.code.findbugs:*</include> <include>com.google.code.gson:gson</include> <include>com.google.errorprone:*</include> <include>com.google.guava:*</include> <include>com.google.j2objc:*</include> <include>com.google.re2j:re2j</include> <include>com.spotify:completable-futures</include> <include>com.sun.activation:jakarta.activation</include> <!-- Avro transitive dependencies --> <include>com.thoughtworks.paranamer:paranamer</include> <include>com.typesafe.netty:netty-reactive-streams</include> <include>com.yahoo.datasketches:*</include> <include>com.yahoo.datasketches:sketches-core</include> <include>commons-*:*</include> <include>commons-codec:commons-codec</include> <include>commons-collections:commons-collections</include> <include>io.airlift:*</include> <include>io.netty.incubator:*</include> <include>io.netty:*</include> <include>io.netty:netty-codec-http</include> <include>io.netty:netty-transport-native-epoll</include> <include>io.perfmark:*</include> <include>io.swagger:*</include> <include>jakarta.activation:jakarta.activation-api</include> <include>jakarta.annotation:jakarta.annotation-api</include> <include>jakarta.ws.rs:jakarta.ws.rs-api</include> <include>jakarta.xml.bind:jakarta.xml.bind-api</include> <include>javax.ws.rs:*</include> <include>net.jcip:jcip-annotations</include> <include>org.apache.avro:*</include> <include>org.apache.bookkeeper:*</include> <include>org.apache.commons:commons-compress</include> <include>org.apache.commons:commons-lang3</include> <!-- Issue #6834, Since Netty ByteBuf shaded, we need also shade this module --> <include>org.apache.pulsar:pulsar-client-messagecrypto-bc</include> <include>org.apache.pulsar:pulsar-client-original</include> <include>org.apache.pulsar:pulsar-common</include> <include>org.asynchttpclient:*</include> <include>org.checkerframework:*</include> <include>org.eclipse.jetty:*</include> <include>org.javassist:javassist</include> <include>org.objenesis:*</include> <include>org.reactivestreams:reactive-streams</include> <include>org.tukaani:xz</include> <include>org.yaml:snakeyaml</include> <include>org.apache.pulsar:pulsar-client-dependencies-minimized</include> <include>org.roaringbitmap:RoaringBitmap</include> </includes> <excludes> <exclude>com.fasterxml.jackson.core:jackson-annotations</exclude> </excludes> </artifactSet> <filters> <filter> <artifact>org.apache.pulsar:pulsar-client-original</artifact> <includes> <include>**</include> </includes> <excludes> <!-- bouncycastle jars could not be shaded, or the signatures will be wrong --> <exclude>org/bouncycastle/**</exclude> </excludes> </filter> <filter> <artifact>*:*</artifact> <excludes> <exclude>**/module-info.class</exclude> <exclude>findbugsExclude.xml</exclude> <exclude>META-INF/*-LICENSE</exclude> <exclude>META-INF/*-NOTICE</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/DEPENDENCIES*</exclude> <exclude>META-INF/io.netty.versions.properties</exclude> <exclude>META-INF/LICENSE*</exclude> <exclude>META-INF/license/**</exclude> <exclude>META-INF/MANIFEST.MF</exclude> <exclude>META-INF/maven/**</exclude> <exclude>META-INF/native-image/**</exclude> <exclude>META-INF/NOTICE*</exclude> <exclude>META-INF/proguard/**</exclude> </excludes> </filter> </filters> <relocations> <!-- Rename Netty native libraries to include the shaded prefix --> <relocation> <pattern>(META-INF/native/(lib)?)(netty.+\.(so|jnilib|dll))$</pattern> <shadedPattern>$1org_apache_pulsar_shade_$3</shadedPattern> <rawString>true</rawString> </relocation> <relocation> <pattern>com.fasterxml.jackson</pattern> <shadedPattern>org.apache.pulsar.shade.com.fasterxml.jackson</shadedPattern> <excludes> <exclude>com.fasterxml.jackson.annotation.*</exclude> </excludes> </relocation> <relocation> <pattern>com.google</pattern> <shadedPattern>org.apache.pulsar.shade.com.google</shadedPattern> <excludes> <exclude>com.google.protobuf.*</exclude> </excludes> </relocation> <relocation> <pattern>com.spotify.futures</pattern> <shadedPattern>org.apache.pulsar.shade.com.spotify.futures</shadedPattern> </relocation> <relocation> <pattern>com.sun.activation</pattern> <shadedPattern>org.apache.pulsar.shade.com.sun.activation</shadedPattern> </relocation> <relocation> <pattern>com.thoughtworks.paranamer</pattern> <shadedPattern>org.apache.pulsar.shade.com.thoughtworks.paranamer</shadedPattern> </relocation> <relocation> <pattern>com.typesafe</pattern> <shadedPattern>org.apache.pulsar.shade.com.typesafe</shadedPattern> </relocation> <relocation> <pattern>com.yahoo.datasketches</pattern> <shadedPattern>org.apache.pulsar.shade.com.yahoo.datasketches</shadedPattern> </relocation> <relocation> <pattern>com.yahoo.memory</pattern> <shadedPattern>org.apache.pulsar.shade.com.yahoo.memory</shadedPattern> </relocation> <relocation> <pattern>com.yahoo.sketches</pattern> <shadedPattern>org.apache.pulsar.shade.com.yahoo.sketches</shadedPattern> </relocation> <relocation> <pattern>io.airlift</pattern> <shadedPattern>org.apache.pulsar.shade.io.airlift</shadedPattern> </relocation> <relocation> <pattern>io.netty</pattern> <shadedPattern>org.apache.pulsar.shade.io.netty</shadedPattern> </relocation> <relocation> <pattern>io.swagger</pattern> <shadedPattern>org.apache.pulsar.shade.io.swagger</shadedPattern> </relocation> <relocation> <pattern>it.unimi.dsi.fastutil</pattern> <shadedPattern>org.apache.pulsar.shade.it.unimi.dsi.fastutil</shadedPattern> </relocation> <relocation> <pattern>javax.activation</pattern> <shadedPattern>org.apache.pulsar.shade.javax.activation</shadedPattern> </relocation> <relocation> <pattern>javax.annotation</pattern> <shadedPattern>org.apache.pulsar.shade.javax.annotation</shadedPattern> </relocation> <relocation> <pattern>javax.ws</pattern> <shadedPattern>org.apache.pulsar.shade.javax.ws</shadedPattern> </relocation> <relocation> <pattern>META-INF/versions/(\d+)/com/fasterxml/jackson/core/</pattern> <shadedPattern>META-INF/versions/$1/org/apache/pulsar/shade/com/fasterxml/jackson/core/ </shadedPattern> <rawString>true</rawString> </relocation> <relocation> <pattern>META-INF/versions/(\d+)/org/roaringbitmap/</pattern> <shadedPattern>META-INF/versions/$1/org/apache/pulsar/shade/org/roaringbitmap/</shadedPattern> <rawString>true</rawString> </relocation> <relocation> <pattern>META-INF/versions/(\d+)/org/yaml/</pattern> <shadedPattern>META-INF/versions/$1/org/apache/pulsar/shade/org/yaml/</shadedPattern> <rawString>true</rawString> </relocation> <relocation> <pattern>net.jcip</pattern> <shadedPattern>org.apache.pulsar.shade.net.jcip</shadedPattern> </relocation> <relocation> <pattern>org.apache.avro</pattern> <shadedPattern>org.apache.pulsar.shade.org.apache.avro</shadedPattern> <excludes> <exclude>org.apache.avro.reflect.AvroAlias</exclude> <exclude>org.apache.avro.reflect.AvroDefault</exclude> <exclude>org.apache.avro.reflect.AvroEncode</exclude> <exclude>org.apache.avro.reflect.AvroIgnore</exclude> <exclude>org.apache.avro.reflect.AvroMeta</exclude> <exclude>org.apache.avro.reflect.AvroName</exclude> <exclude>org.apache.avro.reflect.AvroSchema</exclude> <exclude>org.apache.avro.reflect.Nullable</exclude> <exclude>org.apache.avro.reflect.Stringable</exclude> <exclude>org.apache.avro.reflect.Union</exclude> </excludes> </relocation> <relocation> <pattern>org.apache.bookkeeper</pattern> <shadedPattern>org.apache.pulsar.shade.org.apache.bookkeeper</shadedPattern> </relocation> <relocation> <pattern>org.apache.commons</pattern> <shadedPattern>org.apache.pulsar.shade.org.apache.commons</shadedPattern> </relocation> <relocation> <pattern>org.apache.pulsar.policies</pattern> <shadedPattern>org.apache.pulsar.shade.org.apache.pulsar.policies</shadedPattern> <!-- exclude references to unshaded classes and interfaces in https://github.com/apache/pulsar/tree/master/pulsar-client-admin-api/src/main/java/org/apache/pulsar/policies/data/loadbalancer --> <excludes> <exclude>org.apache.pulsar.policies.data.loadbalancer.LoadManagerReport</exclude> <exclude>org.apache.pulsar.policies.data.loadbalancer.NamespaceBundleStats</exclude> <exclude>org.apache.pulsar.policies.data.loadbalancer.ResourceUsage</exclude> <exclude>org.apache.pulsar.policies.data.loadbalancer.ServiceLookupData</exclude> </excludes> </relocation> <relocation> <pattern>org.asynchttpclient</pattern> <shadedPattern>org.apache.pulsar.shade.org.asynchttpclient</shadedPattern> </relocation> <relocation> <pattern>org.checkerframework</pattern> <shadedPattern>org.apache.pulsar.shade.org.checkerframework</shadedPattern> </relocation> <!-- Avro transitive dependencies --> <relocation> <pattern>org.codehaus.jackson</pattern> <shadedPattern>org.apache.pulsar.shade.org.codehaus.jackson</shadedPattern> </relocation> <relocation> <pattern>org.eclipse.jetty</pattern> <shadedPattern>org.apache.pulsar.shade.org.eclipse</shadedPattern> </relocation> <relocation> <pattern>org.objenesis</pattern> <shadedPattern>org.apache.pulsar.shade.org.objenesis</shadedPattern> </relocation> <relocation> <pattern>org.reactivestreams</pattern> <shadedPattern>org.apache.pulsar.shade.org.reactivestreams</shadedPattern> </relocation> <relocation> <pattern>org.roaringbitmap</pattern> <shadedPattern>org.apache.pulsar.shade.org.roaringbitmap</shadedPattern> </relocation> <relocation> <pattern>org.tukaani</pattern> <shadedPattern>org.apache.pulsar.shade.org.tukaani</shadedPattern> </relocation> <relocation> <pattern>org.yaml</pattern> <shadedPattern>org.apache.pulsar.shade.org.yaml</shadedPattern> </relocation> </relocations> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> <transformer implementation="org.apache.maven.plugins.shade.resource.PluginXmlResourceTransformer"/> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <manifestEntries> <Multi-Release>true</Multi-Release> </manifestEntries> </transformer> </transformers> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <executions> <execution> <id>spotbugs</id> <phase>verify</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy