This project aims at providing jdmkrt
, jdmktk
and jmxremote_optional
in a Maven structure. It is built from the 1.0-b02 Sources of OpenDMK using Maven and Open JDK 14.0.1 with 1.8 bytecode.
The SNAPSHOT build is available at this repository's gh-pages and can be used as follows:
In your $HOME/.m2/settings.xml
add:
<settings>
<profiles>
<!-- more profiles -->
<profile>
<id>opendmk-dev</id>
<repositories>
<repository>
<id>central</id>
<url>http://repo.maven.apache.org/maven2</url>
</repository>
<repository>
<id>xtreemfs-opendmk</id>
<url>https://xtreemfs.github.io/opendmk</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</profile>
<!-- more profiles -->
</profiles>
</settings>
In your pom.xml
add:
<project>
<!-- more project configuration -->
<dependencies>
<dependency>
<groupId>org.xtreemfs.opendmk</groupId>
<artifactId>jdmkrt</artifactId>
<version>1.0-b02-SNAPSHOT</version>
</dependency>
<!-- jdmkrt bundles the following artifacts -->
<!--
<dependency>
<groupId>org.xtreemfs.opendmk</groupId>
<artifactId>core</artifactId>
<version>1.0-b02-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.xtreemfs.opendmk</groupId>
<artifactId>core-rmic</artifactId>
<version>1.0-b02-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.xtreemfs.opendmk</groupId>
<artifactId>snmp_manager</artifactId>
<version>1.0-b02-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.xtreemfs.opendmk</groupId>
<artifactId>snmp_agent</artifactId>
<version>1.0-b02-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.xtreemfs.opendmk</groupId>
<artifactId>binary-plug</artifactId>
<version>1.0-b02</version>
</dependency>
-->
<dependency>
<groupId>org.xtreemfs.opendmk</groupId>
<artifactId>jdmktk</artifactId>
<version>1.0-b02-SNAPSHOT</version>
</dependency>
<!-- jdmktk bundles the following artifact -->
<!--
<dependency>
<groupId>org.xtreemfs.opendmk</groupId>
<artifactId>toolkit</artifactId>
<version>1.0-b02-SNAPSHOT</version>
</dependency>
-->
<dependency>
<groupId>org.xtreemfs.opendmk</groupId>
<artifactId>jmxremote_optional</artifactId>
<version>1.0-b02-SNAPSHOT</version>
</dependency>
<!-- jmxremote_optional bundles the following artifact -->
<!--
<dependency>
<groupId>org.xtreemfs.opendmk</groupId>
<artifactId>jmx_optional</artifactId>
<version>1.0-b02-SNAPSHOT</version>
</dependency>
-->
</dependencies>
<!-- more project configuration -->
</project>
And build your project like so:
mvn install -Popendmk-dev
OpenDMK comes with a dual license (GPL and CDDL) and this project uses the same dual licensing scheme. This project uses OpenDMK's binary plug which comes with a seperate binary license.
Added the following to ~/m2/settings.xml so that it can build:
<mirror>
<id>objectweb-mirror</id>
<mirrorOf>objectweb</mirrorOf>
<name>Objectweb mirror</name>
<url>https://repository.ow2.org/nexus/content/repositories/public</url>
</mirror>