jolokia-client-jmx-adapter
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-client-jmx-adapter</artifactId>
<version>2.4.2</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2009-2020 Roland Huss
~
~ Licensed 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>
<artifactId>jolokia-client-jmx-adapter</artifactId>
<version>2.4.2</version>
<packaging>bundle</packaging>
<name>jolokia-client-jmx-adapter</name>
<description>Jolokia :: Client :: JMX Adapter</description>
<parent>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-parent</artifactId>
<version>2.4.2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<url>https://jolokia.org/</url>
<dependencies>
<!-- Jolokia own artifacts -->
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-tools-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-json</artifactId>
</dependency>
<!--
NOTE: jolokia-jvm dependency must come before jolokia-core
as it is shaded and the combination does not work
hence unconventionally listing test deps first
-->
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-agent-jvm</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-server-core</artifactId>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-service-serializer</artifactId>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-client-java</artifactId>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>org.jolokia.client.jmx-adapter</Bundle-SymbolicName>
<Bundle-Description>Jolokia JMX adapter</Bundle-Description>
<Import-Package>
<!-- JDK -->
javax.management,
javax.management.openmbean,
javax.management.remote,
javax.security.auth,
<!-- jolokia-json -->
org.jolokia.json;version="[2.2,3)",
<!-- jolokia-client-java -->
org.jolokia.client;version="[2.2,3)",
org.jolokia.client.exception;version="[2.2,3)",
org.jolokia.client.request;version="[2.2,3)",
<!-- jolokia-server-core -->
org.jolokia.server.core.util;version="[2.2,3)",
<!-- jolokia-service-serializer -->
org.jolokia.service.serializer;version="[2.2,3)"
</Import-Package>
<Export-Package>
org.jolokia.client.jmxadapter
</Export-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/standalone.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<reuseForks>false</reuseForks>
<forkCount>1</forkCount>
<argLine>-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=45888 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost</argLine>
<!--<argLine>-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=45888 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000</argLine>-->
</configuration>
</plugin>
</plugins>
</build>
</project>