PlanetJava
Custom Search

java-clojure-storm
[Top] [All Lists]

Re: curator-recipes Dependency Exclusions

Subject: Re: curator-recipes Dependency Exclusions
Date: Mon, 20 Aug 2012 02:30:28 -0700
There's an issue open to allow you to use your own versions of libraries
(that differ from Storm versions) safely:
https://github.com/nathanmarz/storm/issues/115 This issue is very high
priority.
On Sun, Aug 19, 2012 at 11:53 PM, Ji Zhang 
<[email protected]> wrote:
> I need to use curator-recipes in my storm project. Since storm.jar is
> already dependent on curator-framework, I write the following into pom.xml:
>
>         <dependency>
>             <groupId>com.netflix.curator</groupId>
>             <artifactId>curator-recipes</artifactId>
>             <version>1.0.1</version>
>             <scope>compile</scope>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.zookeeper</groupId>
>                     <artifactId>zookeeper</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>com.netflix.curator</groupId>
>                     <artifactId>curator-framework</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>com.google.guava</groupId>
>                     <artifactId>guava</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>
> Obviously it's not pretty. How to shrink it into a simple config, like:
>
>         <dependency>
>             <groupId>com.netflix.curator</groupId>
>             <artifactId>curator-recipes</artifactId>
>             <version>1.0.1</version>
>             <scope>compile</scope>
>             <nodependencies>true</nodependencies>
>         </dependency>
>
> Thanks.
>
-- 
Twitter: @nathanmarz
http://nathanmarz.com
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
  • curator-recipes Dependency Exclusions
    • Re: curator-recipes Dependency Exclusions,
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy