Robert,
I build Mina with jdk 1.6, but you have to force the "1.5" maven profile with "mvn -Pjdk1.5 package"

Regards,
Nicolas

----- Original Message ----- From: "Robert Greig" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, October 18, 2006 10:08 AM
Subject: Building MINA using JDK 1.6


Hi all,

I generally use JDK 1.6 now due to its significant performance
improvements over 1.5.

I and my colleagues have had a problem building MINA with 1.6. I
believe the problem is related to Maven and not MINA, but I was
wondering if anyone else has seen similar issues?

If I have a clean maven repository/cache and try to build MINA, Maven
will try to download various plugins but it fails with this error:

Reason: Cannot find parent: org.apache.directory:build for project: org.apache.m
ina:build:pom:1.1.0-SNAPSHOT


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.apache
.directory:build for project: org.apache.mina:build:pom:1.1.0-SNAPSHOT
       at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

If I do the same thing with JDK 1.5 it all works fine.

I have googled for the error but found nothing that seems relevant.

Any else seen this?

Robert


Reply via email to