You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@curator.apache.org by Techy Teck <co...@gmail.com> on 2013/11/08 02:27:40 UTC

Apache Curator 2.3.0 maven?

Can we use Apache Curator 2.3.0 that got released today in the maven
project or not?

I tried adding dependency 2.3.0 in my maven project but it doesn't work.

Re: Apache Curator 2.3.0 maven?

Posted by Techy Teck <co...@gmail.com>.
Thanks Luciano for the suggestion. Can you please tell me where I should
add the above repository in my pom.xml file? Below is my full pom.xml file
-

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.test.zookepeer</groupId>
    <artifactId>Zook</artifactId>
    <version>1.0.0</version>
    <packaging>jar</packaging>

    <name>Zook</name>
    <url>http://maven.apache.org</url>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.zookeeper</groupId>
            <artifactId>zookeeper</artifactId>
            <version>3.4.5</version>
            <exclusions>
                <exclusion>
                    <groupId>com.sun.jmx</groupId>
                    <artifactId>jmxri</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.sun.jdmk</groupId>
                    <artifactId>jmxtools</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>javax.jms</groupId>
                    <artifactId>jms</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.apache.curator</groupId>
            <artifactId>curator-recipes</artifactId>
            <version>2.3.0</version>
        </dependency>
    </dependencies>
</project>





On Thu, Nov 7, 2013 at 8:19 PM, Luciano Resende <lu...@gmail.com>wrote:

> You could add repository.apache.org to your pom, while the release might
> still be replicating to maven central.
>
>
> On Thu, Nov 7, 2013 at 7:12 PM, Techy Teck <co...@gmail.com>wrote:
>
>> I guess, its not working for me.. My full pom.xml file.. Incase you can
>> figure out what's the problem - Currently I am using incubating version but
>> as soon as I add 2.3.0 it gives me the same above error in my previous
>> email -
>>
>> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance"
>>     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> http://maven.apache.org/xsd/maven-4.0.0.xsd">
>>     <modelVersion>4.0.0</modelVersion>
>>
>>     <groupId>com.host.zookepeer</groupId>
>>     <artifactId>Zook</artifactId>
>>     <version>1.0.0</version>
>>     <packaging>jar</packaging>
>>
>>     <name>Zook</name>
>>     <url>http://maven.apache.org</url>
>>
>>     <properties>
>>         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>>     </properties>
>>
>>     <dependencies>
>>         <dependency>
>>             <groupId>junit</groupId>
>>             <artifactId>junit</artifactId>
>>             <version>3.8.1</version>
>>             <scope>test</scope>
>>         </dependency>
>>         <dependency>
>>             <groupId>org.apache.zookeeper</groupId>
>>             <artifactId>zookeeper</artifactId>
>>             <version>3.4.5</version>
>>             <exclusions>
>>                 <exclusion>
>>                     <groupId>com.sun.jmx</groupId>
>>                     <artifactId>jmxri</artifactId>
>>                 </exclusion>
>>                 <exclusion>
>>                     <groupId>com.sun.jdmk</groupId>
>>                     <artifactId>jmxtools</artifactId>
>>                 </exclusion>
>>                 <exclusion>
>>                     <groupId>javax.jms</groupId>
>>                     <artifactId>jms</artifactId>
>>                 </exclusion>
>>             </exclusions>
>>         </dependency>
>>
>>         <dependency>
>>             <groupId>org.apache.curator</groupId>
>>             <artifactId>curator-recipes</artifactId>
>>             <version>2.2.0-incubating</version>
>>         </dependency>
>>     </dependencies>
>> </project>
>>
>>
>>
>>
>>
>>
>> On Thu, Nov 7, 2013 at 6:14 PM, Jordan Zimmerman <
>> jordan@jordanzimmerman.com> wrote:
>>
>>> Works for me.
>>>
>>> On Nov 7, 2013, at 5:44 PM, Techy Teck <co...@gmail.com> wrote:
>>>
>>> This is what I am getting after adding that dependency into my maven
>>> project -
>>>
>>> Missing artifact org.apache.curator:curator-recipes:jar:2.3.0
>>>
>>> <dependency>
>>>             <groupId>org.apache.curator</groupId>
>>>             <artifactId>curator-recipes</artifactId>
>>>             <version>2.3.0</version>
>>>   </dependency>
>>>
>>>
>>>
>>> On Thu, Nov 7, 2013 at 5:37 PM, Jordan Zimmerman <
>>> jordan@jordanzimmerman.com> wrote:
>>>
>>>> It's there. I just checked.
>>>>
>>>>
>>>> http://search.maven.org/#artifactdetails%7Corg.apache.curator%7Ccurator-recipes%7C2.3.0%7Cbundle
>>>>
>>>> ====================
>>>> Jordan Zimmerman
>>>>
>>>> On Nov 7, 2013, at 5:27 PM, Techy Teck <co...@gmail.com> wrote:
>>>>
>>>> Can we use Apache Curator 2.3.0 that got released today in the maven
>>>> project or not?
>>>>
>>>> I tried adding dependency 2.3.0 in my maven project but it doesn't work.
>>>>
>>>>
>>>
>>>
>>
>
>
> --
> Luciano Resende
> http://people.apache.org/~lresende
> http://twitter.com/lresende1975
> http://lresende.blogspot.com/
>

Re: Apache Curator 2.3.0 maven?

Posted by Luciano Resende <lu...@gmail.com>.
You could add repository.apache.org to your pom, while the release might
still be replicating to maven central.


On Thu, Nov 7, 2013 at 7:12 PM, Techy Teck <co...@gmail.com> wrote:

> I guess, its not working for me.. My full pom.xml file.. Incase you can
> figure out what's the problem - Currently I am using incubating version but
> as soon as I add 2.3.0 it gives me the same above error in my previous
> email -
>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"
>     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd">
>     <modelVersion>4.0.0</modelVersion>
>
>     <groupId>com.host.zookepeer</groupId>
>     <artifactId>Zook</artifactId>
>     <version>1.0.0</version>
>     <packaging>jar</packaging>
>
>     <name>Zook</name>
>     <url>http://maven.apache.org</url>
>
>     <properties>
>         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>     </properties>
>
>     <dependencies>
>         <dependency>
>             <groupId>junit</groupId>
>             <artifactId>junit</artifactId>
>             <version>3.8.1</version>
>             <scope>test</scope>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.zookeeper</groupId>
>             <artifactId>zookeeper</artifactId>
>             <version>3.4.5</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>com.sun.jmx</groupId>
>                     <artifactId>jmxri</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>com.sun.jdmk</groupId>
>                     <artifactId>jmxtools</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>javax.jms</groupId>
>                     <artifactId>jms</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>
>         <dependency>
>             <groupId>org.apache.curator</groupId>
>             <artifactId>curator-recipes</artifactId>
>             <version>2.2.0-incubating</version>
>         </dependency>
>     </dependencies>
> </project>
>
>
>
>
>
>
> On Thu, Nov 7, 2013 at 6:14 PM, Jordan Zimmerman <
> jordan@jordanzimmerman.com> wrote:
>
>> Works for me.
>>
>> On Nov 7, 2013, at 5:44 PM, Techy Teck <co...@gmail.com> wrote:
>>
>> This is what I am getting after adding that dependency into my maven
>> project -
>>
>> Missing artifact org.apache.curator:curator-recipes:jar:2.3.0
>>
>> <dependency>
>>             <groupId>org.apache.curator</groupId>
>>             <artifactId>curator-recipes</artifactId>
>>             <version>2.3.0</version>
>>   </dependency>
>>
>>
>>
>> On Thu, Nov 7, 2013 at 5:37 PM, Jordan Zimmerman <
>> jordan@jordanzimmerman.com> wrote:
>>
>>> It's there. I just checked.
>>>
>>>
>>> http://search.maven.org/#artifactdetails%7Corg.apache.curator%7Ccurator-recipes%7C2.3.0%7Cbundle
>>>
>>> ====================
>>> Jordan Zimmerman
>>>
>>> On Nov 7, 2013, at 5:27 PM, Techy Teck <co...@gmail.com> wrote:
>>>
>>> Can we use Apache Curator 2.3.0 that got released today in the maven
>>> project or not?
>>>
>>> I tried adding dependency 2.3.0 in my maven project but it doesn't work.
>>>
>>>
>>
>>
>


-- 
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/

Re: Apache Curator 2.3.0 maven?

Posted by Techy Teck <co...@gmail.com>.
I guess, its not working for me.. My full pom.xml file.. Incase you can
figure out what's the problem - Currently I am using incubating version but
as soon as I add 2.3.0 it gives me the same above error in my previous
email -

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.host.zookepeer</groupId>
    <artifactId>Zook</artifactId>
    <version>1.0.0</version>
    <packaging>jar</packaging>

    <name>Zook</name>
    <url>http://maven.apache.org</url>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.zookeeper</groupId>
            <artifactId>zookeeper</artifactId>
            <version>3.4.5</version>
            <exclusions>
                <exclusion>
                    <groupId>com.sun.jmx</groupId>
                    <artifactId>jmxri</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.sun.jdmk</groupId>
                    <artifactId>jmxtools</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>javax.jms</groupId>
                    <artifactId>jms</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.apache.curator</groupId>
            <artifactId>curator-recipes</artifactId>
            <version>2.2.0-incubating</version>
        </dependency>
    </dependencies>
</project>





On Thu, Nov 7, 2013 at 6:14 PM, Jordan Zimmerman <jordan@jordanzimmerman.com
> wrote:

> Works for me.
>
> On Nov 7, 2013, at 5:44 PM, Techy Teck <co...@gmail.com> wrote:
>
> This is what I am getting after adding that dependency into my maven
> project -
>
> Missing artifact org.apache.curator:curator-recipes:jar:2.3.0
>
> <dependency>
>             <groupId>org.apache.curator</groupId>
>             <artifactId>curator-recipes</artifactId>
>             <version>2.3.0</version>
>   </dependency>
>
>
>
> On Thu, Nov 7, 2013 at 5:37 PM, Jordan Zimmerman <
> jordan@jordanzimmerman.com> wrote:
>
>> It's there. I just checked.
>>
>>
>> http://search.maven.org/#artifactdetails%7Corg.apache.curator%7Ccurator-recipes%7C2.3.0%7Cbundle
>>
>> ====================
>> Jordan Zimmerman
>>
>> On Nov 7, 2013, at 5:27 PM, Techy Teck <co...@gmail.com> wrote:
>>
>> Can we use Apache Curator 2.3.0 that got released today in the maven
>> project or not?
>>
>> I tried adding dependency 2.3.0 in my maven project but it doesn't work.
>>
>>
>
>

Re: Apache Curator 2.3.0 maven?

Posted by Jordan Zimmerman <jo...@jordanzimmerman.com>.
Works for me.

On Nov 7, 2013, at 5:44 PM, Techy Teck <co...@gmail.com> wrote:

> This is what I am getting after adding that dependency into my maven project - 
> 
> Missing artifact org.apache.curator:curator-recipes:jar:2.3.0
> 
> <dependency>
>             <groupId>org.apache.curator</groupId>
>             <artifactId>curator-recipes</artifactId>
>             <version>2.3.0</version>
>   </dependency>
> 
> 
> 
> On Thu, Nov 7, 2013 at 5:37 PM, Jordan Zimmerman <jo...@jordanzimmerman.com> wrote:
> It's there. I just checked. 
> 
> http://search.maven.org/#artifactdetails%7Corg.apache.curator%7Ccurator-recipes%7C2.3.0%7Cbundle
> 
> ====================
> Jordan Zimmerman
> 
> On Nov 7, 2013, at 5:27 PM, Techy Teck <co...@gmail.com> wrote:
> 
>> Can we use Apache Curator 2.3.0 that got released today in the maven project or not?
>> 
>> I tried adding dependency 2.3.0 in my maven project but it doesn't work.
> 


Re: Apache Curator 2.3.0 maven?

Posted by Techy Teck <co...@gmail.com>.
This is what I am getting after adding that dependency into my maven
project -

Missing artifact org.apache.curator:curator-recipes:jar:2.3.0

<dependency>
            <groupId>org.apache.curator</groupId>
            <artifactId>curator-recipes</artifactId>
            <version>2.3.0</version>
  </dependency>



On Thu, Nov 7, 2013 at 5:37 PM, Jordan Zimmerman <jordan@jordanzimmerman.com
> wrote:

> It's there. I just checked.
>
>
> http://search.maven.org/#artifactdetails%7Corg.apache.curator%7Ccurator-recipes%7C2.3.0%7Cbundle
>
> ====================
> Jordan Zimmerman
>
> On Nov 7, 2013, at 5:27 PM, Techy Teck <co...@gmail.com> wrote:
>
> Can we use Apache Curator 2.3.0 that got released today in the maven
> project or not?
>
> I tried adding dependency 2.3.0 in my maven project but it doesn't work.
>
>

Re: Apache Curator 2.3.0 maven?

Posted by Jordan Zimmerman <jo...@jordanzimmerman.com>.
It's there. I just checked. 

http://search.maven.org/#artifactdetails%7Corg.apache.curator%7Ccurator-recipes%7C2.3.0%7Cbundle

====================
Jordan Zimmerman

> On Nov 7, 2013, at 5:27 PM, Techy Teck <co...@gmail.com> wrote:
> 
> Can we use Apache Curator 2.3.0 that got released today in the maven project or not?
> 
> I tried adding dependency 2.3.0 in my maven project but it doesn't work.