directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <>
Subject Re: building the API in Eclipse
Date Wed, 07 Aug 2013 05:45:19 GMT
On Wed, Aug 7, 2013 at 11:08 AM, Richard Sand <> wrote:

> Hi all - just sharing some things I learned today setting up the API source
> in Eclipse.
> If you try to check out the entire API trunk (i.e.
> into a single
> Eclipse project, you will get an epic failure. The problem seems to be with
> the Eclipse Maven (m2e) integration. Doing "New-->Checkout Project from
> SVN"
personally I(guess most of us) never use this plugin, we all use terminal
to do the checkout,
building and then run mvn eclipse:eclipse to finally import the projects
into eclipse.
most of the times these maven plugins in IDE download the whole internet
whenever a file is
saved (cause of the maven builder)

> puts everything into 1 project, and the maven plugin for eclipse doesn't
> resolve the dependencies of the maven subprojects. There may be a way to
> fix
> that, but after some tinkering I got this to work instead: do
> "New-->Maven-->Checkout Maven Project from SCM" and then specify the trunk
> (you'll need to have the m2e plugin for svn). What this does is create a
> distinct Eclipse project for every subproject - so you'll end up with 15 or
> so projects, but everything will build correctly...
> ...with one exception. The project "api-ldap-schema-data" (i.e.
> gave me a strange error message on line 1 of the pom.xml, the error message
> being:
> org.codehaus.plexus.archiver.jar.Manifest.merge(org.codehaus.plexus.archiver
> .jar.Manifest). This seems to be caused by a known problem with
> maven-kar-plugin:2.4. Someone else had the same problem with an unrelated
> project and his workaround was to explicitly set the maven-jar-plugin to
> version 2.3.2. That work for me, and after that I was able to build the who
> API in Eclipse.
> Hope this helps someone. Thanks!
> thanks for sharing

> Best regards,
> Richard

Kiran Ayyagari

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message