You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ankelee <an...@gmail.com> on 2010/03/16 11:36:29 UTC

How to use SNAPSHOTs.

Hi

I want to use the 2.3.0 SNAPSHOT but I don't know much about Maven. How do I
download it? I tried getting Maven to download it using the
"apache-camel-2.3-SNAPSHOT.pom" but it asks for a goal.

Any pointers?
-- 
View this message in context: http://old.nabble.com/How-to-use-SNAPSHOTs.-tp27915840p27915840.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: How to use SNAPSHOTs.

Posted by Willem Jiang <wi...@gmail.com>.
You just need to add the dependency of the camel components into the pom.xml

Willem

ankelee wrote:
> Thanks, got it working now that I actually created a pom.xml :)
> 
> There's no way to make Maven download all of camel? - I need to add a
> dependency for each .jar/component?
> 
> 
> 
> Claus Ibsen-2 wrote:
>> On Tue, Mar 16, 2010 at 11:36 AM, ankelee <an...@gmail.com> wrote:
>>> Hi
>>>
>>> I want to use the 2.3.0 SNAPSHOT but I don't know much about Maven. How
>>> do I
>>> download it? I tried getting Maven to download it using the
>>> "apache-camel-2.3-SNAPSHOT.pom" but it asks for a goal.
>>>
>>> Any pointers?
>>>
>> Just change the version in your maven pom.xml to use 2.3-SNAPSHOT
>> instead of 2.2.0.
>>
>> And the download page got more details
>> http://camel.apache.org/download.html
>>
>> There is no ZIP file of 2.3-SNAPSHOT. Only the various .jars which you
>> can use Maven to download and install automatic.
>>
>>  --
>>> View this message in context:
>>> http://old.nabble.com/How-to-use-SNAPSHOTs.-tp27915840p27915840.html
>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> -- 
>> Claus Ibsen
>> Apache Camel Committer
>>
>> Author of Camel in Action: http://www.manning.com/ibsen/
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>>
>>
> 


Re: How to use SNAPSHOTs.

Posted by Hadrian Zbarcea <hz...@gmail.com>.
You should not include all the jars, just the ones you need. For each component you need you have to add a <dependency> in your pom(s).



On Mar 16, 2010, at 7:13 AM, ankelee wrote:

> 
> Thanks, got it working now that I actually created a pom.xml :)
> 
> There's no way to make Maven download all of camel? - I need to add a
> dependency for each .jar/component?
> 
> 
> 
> Claus Ibsen-2 wrote:
>> 
>> On Tue, Mar 16, 2010 at 11:36 AM, ankelee <an...@gmail.com> wrote:
>>> 
>>> Hi
>>> 
>>> I want to use the 2.3.0 SNAPSHOT but I don't know much about Maven. How
>>> do I
>>> download it? I tried getting Maven to download it using the
>>> "apache-camel-2.3-SNAPSHOT.pom" but it asks for a goal.
>>> 
>>> Any pointers?
>>> 
>> 
>> Just change the version in your maven pom.xml to use 2.3-SNAPSHOT
>> instead of 2.2.0.
>> 
>> And the download page got more details
>> http://camel.apache.org/download.html
>> 
>> There is no ZIP file of 2.3-SNAPSHOT. Only the various .jars which you
>> can use Maven to download and install automatic.
>> 
>> --
>>> View this message in context:
>>> http://old.nabble.com/How-to-use-SNAPSHOTs.-tp27915840p27915840.html
>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>> 
>>> 
>> 
>> 
>> 
>> -- 
>> Claus Ibsen
>> Apache Camel Committer
>> 
>> Author of Camel in Action: http://www.manning.com/ibsen/
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>> 
>> 
> 
> -- 
> View this message in context: http://old.nabble.com/How-to-use-SNAPSHOTs.-tp27915840p27916204.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
> 


Re: How to use SNAPSHOTs.

Posted by ankelee <an...@gmail.com>.
Thanks, got it working now that I actually created a pom.xml :)

There's no way to make Maven download all of camel? - I need to add a
dependency for each .jar/component?



Claus Ibsen-2 wrote:
> 
> On Tue, Mar 16, 2010 at 11:36 AM, ankelee <an...@gmail.com> wrote:
>>
>> Hi
>>
>> I want to use the 2.3.0 SNAPSHOT but I don't know much about Maven. How
>> do I
>> download it? I tried getting Maven to download it using the
>> "apache-camel-2.3-SNAPSHOT.pom" but it asks for a goal.
>>
>> Any pointers?
>>
> 
> Just change the version in your maven pom.xml to use 2.3-SNAPSHOT
> instead of 2.2.0.
> 
> And the download page got more details
> http://camel.apache.org/download.html
> 
> There is no ZIP file of 2.3-SNAPSHOT. Only the various .jars which you
> can use Maven to download and install automatic.
> 
>  --
>> View this message in context:
>> http://old.nabble.com/How-to-use-SNAPSHOTs.-tp27915840p27915840.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> 
> 

-- 
View this message in context: http://old.nabble.com/How-to-use-SNAPSHOTs.-tp27915840p27916204.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: How to use SNAPSHOTs.

Posted by Willem Jiang <wi...@gmail.com>.
You may also need to add this SNAPSHOT repo into your pom.xml.

<repository>
         <id>apache.snapshot</id>
         <name>Apache Snapshot Repository</name>
 
<url>http://repository.apache.org/content/groups/snapshots-group</url>
         <releases>
            <enabled>false</enabled>
         </releases>
         <snapshots>
            <enabled>true</enabled>
         </snapshots>
       </repository>

Willem

Claus Ibsen wrote:
> On Tue, Mar 16, 2010 at 11:36 AM, ankelee <an...@gmail.com> wrote:
>> Hi
>>
>> I want to use the 2.3.0 SNAPSHOT but I don't know much about Maven. How do I
>> download it? I tried getting Maven to download it using the
>> "apache-camel-2.3-SNAPSHOT.pom" but it asks for a goal.
>>
>> Any pointers?
>>
> 
> Just change the version in your maven pom.xml to use 2.3-SNAPSHOT
> instead of 2.2.0.
> 
> And the download page got more details
> http://camel.apache.org/download.html
> 
> There is no ZIP file of 2.3-SNAPSHOT. Only the various .jars which you
> can use Maven to download and install automatic.
> 
>  --
>> View this message in context: http://old.nabble.com/How-to-use-SNAPSHOTs.-tp27915840p27915840.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 


Re: How to use SNAPSHOTs.

Posted by Claus Ibsen <cl...@gmail.com>.
On Tue, Mar 16, 2010 at 11:36 AM, ankelee <an...@gmail.com> wrote:
>
> Hi
>
> I want to use the 2.3.0 SNAPSHOT but I don't know much about Maven. How do I
> download it? I tried getting Maven to download it using the
> "apache-camel-2.3-SNAPSHOT.pom" but it asks for a goal.
>
> Any pointers?
>

Just change the version in your maven pom.xml to use 2.3-SNAPSHOT
instead of 2.2.0.

And the download page got more details
http://camel.apache.org/download.html

There is no ZIP file of 2.3-SNAPSHOT. Only the various .jars which you
can use Maven to download and install automatic.

 --
> View this message in context: http://old.nabble.com/How-to-use-SNAPSHOTs.-tp27915840p27915840.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus