camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Anstey <jans...@gmail.com>
Subject Re: Running Camel Examples with Maven in version 2.0.0
Date Thu, 15 Oct 2009 13:21:27 GMT
Whoa, that is bad. I tried out the latest from
http://repo2.maven.org/maven2/org/apache/camel/apache-camel/2.0.0/apache-camel-2.0.0.tar.gzand
it only seems that examples/camel-example-tracer/pom.xml has the
SNAPSHOT (still bad of course but not as bad as all examples containing
SNAPSHOTs!).

Btw where did you download the distribution?

On Thu, Oct 15, 2009 at 6:52 AM, Ryadh Amar <magnetic.ganesh@gmail.com>wrote:

>
> Hello Camel Riders,
> I wanted to tryout some of the examples bundled with the current
> downloadable distribution of Camel (2.0.0)
> Maven fails, but I have pinpointed the culprit; in each example, the parent
> pom (which can be found in the examples directory) is referenced this way:
> ==================================
>    <parent>
>        <groupId>org.apache.camel</groupId>
>        <artifactId>examples</artifactId>
>        <version>2.0-SNAPSHOT</version>
>    </parent>
> ==================================
> So obviously, since the preconfigured repositories don't allow the download
> of snapshots, the Maven build fails.
> The snippet above should be replaced with
> ==================================
>    <parent>
>        <groupId>org.apache.camel</groupId>
>        <artifactId>examples</artifactId>
>        <version>2.0.0</version>
>    </parent>
> ==================================
> I believe it is important to fix this issue, as newcomers with cursory
> Maven
> experience will quickly give up on running the examples.
> ps. looks like all the examples are affected with the version problem
> --
> View this message in context:
> http://www.nabble.com/Running-Camel-Examples-with-Maven-in-version-2.0.0-tp25905465p25905465.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Jon

http://janstey.blogspot.com/

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