maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart McCulloch <mccu...@gmail.com>
Subject Re: Could not initialize class org.sonatype.guice.bean.reflect.Logs
Date Mon, 10 Jun 2013 13:38:10 GMT
I'm still unable to recreate this locally, even when using a project with
exactly the same layout/hierarchy as the one from that gist.

Does this happen when building from the command-line, or is there another
step involved? Such as building from an IDE or from CI?


On 30 May 2013 08:50, Simone Tripodi <simonetripodi@apache.org> wrote:

> Hi Stuart,
>
> thanks again for your kind feedbacks, much more than appreciated!
>
> >
> > Actually by guice-bean/plexus-* I meant guice-bean-* and guice-plexus-*
> (ie. the modules that eventually feed into sisu-inject-bean and
> sisu-inject-plexus respectively)
> >
> > I didn't see any guice-bean-* dependency when I took your POM (without
> parent) and ran it through dependency:tree so maybe the parent POM is
> affecting the dependencies.
> >
> > Any chance you could post the results of dependency:tree from your real
> project? (with internal details redacted of course)
> >
>
> I just published another gist[1] with the result, I just masked the
> internal stuff with `acme` :P Many thanks in advance for having a look
> at it.
>
> > I also took your POM and pasted it into a sample mojo project plus tests
> and was able to get it to work once I added a dependency to
> "org.apache.maven:maven-compat" (provides some legacy APIs used by the
> plugin test harness)
> >
> > Also note that the Aether API will change in Maven 3.1.0
> (org.sonatype.aether->org.eclipse.aether) so where possible it's better to
> stick to the standard Maven APIs, otherwise you have to be prepared to
> handle the upcoming package change.
> >
>
> Thanks for the advice, will take it in consideration!
> All the best, have a nice day,
> -Simo
>
> [1] https://gist.github.com/simonetripodi/5676291
>
> http://people.apache.org/~simonetripodi/
> http://twitter.com/simonetripodi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Cheers, Stuart

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