jolokia-agent-war
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-agent-war</artifactId>
<version>2.5.1</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-agent-war</artifactId>
<version>2.5.1</version>
<packaging>war</packaging>
<name>jolokia-agent-war</name>
<description>Jolokia :: Agent :: WAR</description>
<parent>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-parent</artifactId>
<version>2.5.1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<url>https://jolokia.org/</url>
<dependencies>
<!-- Jolokia own artifacts -->
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-server-core</artifactId>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-server-detector</artifactId>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-service-serializer</artifactId>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-service-jmx</artifactId>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-service-discovery</artifactId>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-service-history</artifactId>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-service-jsr160</artifactId>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-service-notif-pull</artifactId>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-service-notif-sse</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<!--
With `mvn jetty:run` we can test authenticated access. For example:
$ curl -i -u jolokia:jolokia http://localhost:8080/jolokia/
$ curl -i -u jolokia:jolokia http://localhost:8080/jolokia/read/JMImplementation:type=MBeanServerDelegate/SpecificationVersion
$ curl -s -u jolokia:jolokia http://localhost:8080/jolokia/read/java.lang:type=Runtime/Name | jq .value
$ curl -s -u jolokia:jolokia http://localhost:8080/jolokia/read/java.lang:type=OperatingSystem/Version | jq .value
-->
<groupId>org.eclipse.jetty.ee10</groupId>
<artifactId>jetty-ee10-maven-plugin</artifactId>
<version>${version.org.eclipse.jetty}</version>
<configuration>
<scan>10</scan>
<webApp>
<contextPath>/jolokia</contextPath>
</webApp>
<loginServices>
<loginService implementation="org.eclipse.jetty.security.HashLoginService">
<name>jolokia</name>
<config>${project.basedir}/etc/realm.properties</config>
</loginService>
</loginServices>
</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>