[arin-tech-discuss] ARIN RDAP testing information

Andy Newton andy at arin.net
Fri Apr 17 11:07:42 EDT 2015

> On Apr 16, 2015, at 3:05 PM, Aaron Hughes <aaronh at tcp0.com> wrote:
> On Thu, Apr 16, 2015 at 07:02:42PM +0000, Andy Newton wrote:
>>> java -version
>>> java version "1.7.0_75"
>>> OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~utopic1)
>>> OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
>>> Ubuntu 14.10
>>> uname -a
>>> Linux 1-dev.6connect.com 3.16.0-31-generic #41-Ubuntu SMP Tue Feb 10 15:24:04 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>> Thanks. I’ll attempt to replicate this. Can you also give me the output of ‘mvn -v’?
> Thank you sir.
> mvn -v
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.7.0_75, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.16.0-31-generic", arch: "amd64", family: "unix"


I think we found the problem and fix.

Short answer:
Do a ‘git pull origin master’ and try again. We modified the pom.xml file to explicitly use the a more modern Maven compiler plugin and to specify the Java version compatibility.

Long answer:
For reasons I cannot understand, the Maven package for Ubuntu 14.10 pulls in the maven-compiler-plugin 2.0.2. I cannot find that version in the Maven archives. It is old. For comparison, the same version of Maven (3.0.5) on CentOS 7 pulls down version 2.3.2 of the plugin. So I don’t really understand what the Ubuntu package is doing. I also noticed that the Ubuntu package uses the Java JRE as a dependency, but the Java JDK is actually needed for Java compilation.

I hope this helps.


More information about the arin-tech-discuss mailing list