jolokia-server-core
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-server-core</artifactId>
<version>2.4.2</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2009-2013 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-server-core</artifactId>
<version>2.4.2</version>
<packaging>bundle</packaging>
<name>jolokia-server-core</name>
<description>Jolokia :: Server :: Core</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>
<!-- JakartaEE dependencies -->
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- OSGi dependencies -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.servlet</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.cm</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.log</artifactId>
<scope>provided</scope>
</dependency>
<!-- Other dependencies -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<project.version>${project.version}</project.version>
</systemPropertyVariables>
</configuration>
<executions>
<execution>
<id>default-test</id>
<goals>
<goal>test</goal>
</goals>
<phase>test</phase>
<configuration>
<argLine>
-Djava.net.preferIPv4Stack=false
</argLine>
</configuration>
</execution>
<execution>
<id>default-test-ip4-only</id>
<goals>
<goal>test</goal>
</goals>
<phase>test</phase>
<configuration>
<argLine>
-Djava.net.preferIPv4Stack=true
</argLine>
<includes>
<include>**/NetworkUtilTest.java</include>
<include>**/StaticConfigurationTest.java</include>
</includes>
</configuration>
</execution>
<execution>
<id>default-test-ip6-preferred</id>
<goals>
<goal>test</goal>
</goals>
<phase>test</phase>
<configuration>
<argLine>
-Djava.net.preferIPv6Addresses=true
</argLine>
<includes>
<include>**/NetworkUtilTest.java</include>
<include>**/StaticConfigurationTest.java</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- For mock objects usable by other tests -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>org.jolokia.server.core</Bundle-SymbolicName>
<Bundle-Description>Jolokia API and core classes</Bundle-Description>
<Bundle-Activator>org.jolokia.server.core.osgi.OsgiAgentActivator</Bundle-Activator>
<Import-Package>
<!-- JDK -->
javax.crypto,
javax.crypto.spec,
javax.management,
javax.management.openmbean,
javax.management.relation,
javax.security.auth,
javax.security.auth.callback,
javax.security.auth.login,
javax.xml.datatype,
javax.xml.parsers,
org.w3c.dom,
org.xml.sax,
<!-- Jakarta EE -->
jakarta.servlet;version="[5.0,7.0)",
jakarta.servlet.http;version="[5.0,7.0)",
<!-- jolokia-json -->
org.jolokia.json;version="[2.2,3)",
org.jolokia.json.parser;version="[2.2,3)",
<!-- OSGi Core -->
org.osgi.framework;version="[1.8,2)",
org.osgi.util.tracker;version="[1.5,2)",
<!-- OSGi ConfigAdmin -->
org.osgi.service.cm;version="[1.6,2)";resolution:=optional,
<!-- OSGi Log Service -->
org.osgi.service.log;version="[1.3,2)";resolution:=optional,
<!-- OSGi Servlet Whiteboard -->
org.osgi.service.servlet.context;version="[2.0,3)"
</Import-Package>
<Export-Package>
org.jolokia.server.core,
org.jolokia.server.core.auth,
org.jolokia.server.core.backend,
org.jolokia.server.core.config,
org.jolokia.server.core.detector,
org.jolokia.server.core.http,
org.jolokia.server.core.http.security,
org.jolokia.server.core.osgi,
org.jolokia.server.core.osgi.security,
org.jolokia.server.core.osgi.util,
org.jolokia.server.core.request,
org.jolokia.server.core.request.notification,
org.jolokia.server.core.restrictor,
org.jolokia.server.core.restrictor.policy,
org.jolokia.server.core.service.api,
org.jolokia.server.core.service.container,
org.jolokia.server.core.service.notification,
org.jolokia.server.core.service.request,
org.jolokia.server.core.service.serializer,
org.jolokia.server.core.util,
org.jolokia.server.core.util.jmx,
org.jolokia.server.core.vm
</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>dependencies</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>