I always had to exclude sisu-guava when I wanted to use newer guava
versions in my plugins.
Regards Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
https://bitbucket.org/mfriedenhagen/


On Fri, Nov 7, 2014 at 6:51 PM, Stuart McCulloch <[email protected]> wrote:
> That should work, or you could remove that transitive dependency from the 
> build-time classpath by adding a dependency exclusion.
>
> At runtime the plugin realm is isolated from maven-core except for the 
> specific packages exposed by DefaultClassRealmManager.
>
> --
> Cheers, Stuart
>
>
> On Friday, 7 November 2014 at 17:13, Benson Margulies wrote:
>
>> See https://github.com/benson-basis/github-release-note-maven-plugin.
>> IntelliJ is sure that sisu-guava is in the class path. I am now trying
>> reordering the pom to see if it works to put real Guava at the head of
>> the line.
>>
>> dependency:tree:
>>
>> org.apache.maven:maven-plugin-api:jar:3.0.5:provided
>> [INFO] | +- org.apache.maven:maven-model:jar:3.0.5:provided
>> [INFO] | +- org.apache.maven:maven-artifact:jar:3.0.5:provided
>> [INFO] | \- org.sonatype.sisu:sisu-inject-plexus:jar:2.3.0:provided
>> [INFO] | \- org.sonatype.sisu:sisu-inject-bean:jar:2.3.0:provided
>> [INFO] | \- org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0:provided
>> [INFO] | \- org.sonatype.sisu:sisu-guava:jar:0.9.9:provided
>>
>> On Fri, Nov 7, 2014 at 12:08 PM, Benson Margulies <[email protected] 
>> (mailto:[email protected])> wrote:
>> > Oh, I thought this was old hat. Stand by ...
>> >
>> > On Fri, Nov 7, 2014 at 12:06 PM, Stuart McCulloch <[email protected] 
>> > (mailto:[email protected])> wrote:
>> > > AFAIK none of the Guava packages are exposed from maven core, so I’d be 
>> > > interested to know more about where these types are leaking and how to 
>> > > recreate this.
>> > >
>> > > --
>> > > Cheers, Stuart
>> > >
>> > >
>> > > On Friday, 7 November 2014 at 16:59, Benson Margulies wrote:
>> > >
>> > > > Is there any possible way of insulating 3.0.x pipelines from the old
>> > > > version of Guava that leaks in with Sisu-guice? (Other than shading a
>> > > > current version of guice and using it?)
>> > > >
>> > > > ---------------------------------------------------------------------
>> > > > To unsubscribe, e-mail: [email protected] 
>> > > > (mailto:[email protected])
>> > > > For additional commands, e-mail: [email protected] 
>> > > > (mailto:[email protected])
>> > > >
>> > >
>> > >
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected] 
>> (mailto:[email protected])
>> For additional commands, e-mail: [email protected] 
>> (mailto:[email protected])
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to