I had no such problem with your POM here. Is there anything else in the POM, a system property, etc? Did you build a version of the snapshot that might have called itself 1.4.0? For the latter, try cleaning the camel artifacts from the repository.
- Brett 2008/9/26 cmoulliard <[EMAIL PROTECTED]>: > > Hi, > > I'm confronted to a strange problem using Maven 2.0.9. When I execute the > following maven command (mvn compile), I see in the maven log that maven try > to download snapshot dependency instead of official release. > > Here is a snapshot of my 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/maven-v4_0_0.xsd"> > > <modelVersion>4.0.0</modelVersion> > <groupId>com.example</groupId> > <artifactId>cxfcamelexample</artifactId> > <version>1.0.0</version> > <repositories> > <!-- for JAXB dependency --> > <repository> > <id>java.net</id> > <name>java.net Maven Repository</name> > <url>http://download.java.net/maven/1/</url> > <layout>legacy</layout> > <releases> > <enabled>true</enabled> > </releases> > <snapshots> > <enabled>false</enabled> > </snapshots> > </repository> > </repositories> > <properties> > <spring-version>2.5.5</spring-version> > <cxf-version>2.1.2</cxf-version> > <camel-version>1.4.0</camel-version> > <activemq-version>5.1.0</activemq-version> > </properties> > > <dependencies> > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-core</artifactId> > <version>${camel-version}</version> > </dependency> > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-jms</artifactId> > <version>${camel-version}</version> > </dependency> > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-cxf</artifactId> > <version>${camel-version}</version> > </dependency> > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring-core</artifactId> > <version>${spring-version}</version> > </dependency> > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring-beans</artifactId> > <version>${spring-version}</version> > </dependency> > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring-aop</artifactId> > <version>${spring-version}</version> > </dependency> > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring-jmx</artifactId> > <version>2.0.8</version> > </dependency> > > <dependency> > <groupId>log4j</groupId> > <artifactId>log4j</artifactId> > <version>1.2.14</version> > </dependency> > <!-- Depending on your requirements you may need more or less > modules from > cxf --> > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-rt-core</artifactId> > <version>${cxf-version}</version> > </dependency> > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-rt-frontend-jaxws</artifactId> > <version>${cxf-version}</version> > </dependency> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>3.8.2</version> > </dependency> > </dependencies> > > and the log > > Downloading: > http://people.apache.org/maven-snapshot-repository/org/apache/camel/camel-core/1.4-SNAPSHOT/camel-core-1.4- > SNAPSHOT.pom > Downloading: > http://repo1.maven.org/maven2//org/apache/camel/camel-core/1.4-SNAPSHOT/camel-core-1.4-SNAPSHOT.pom > Downloading: > http://people.apache.org/maven-snapshot-repository/org/apache/camel/camel-jms/1.4-SNAPSHOT/camel-jms-1.4-SN > APSHOT.pom > Downloading: > http://repo1.maven.org/maven2//org/apache/camel/camel-jms/1.4-SNAPSHOT/camel-jms-1.4-SNAPSHOT.pom > Downloading: > http://people.apache.org/maven-snapshot-repository/org/apache/camel/camel-cxf/1.4-SNAPSHOT/camel-cxf-1.4-SN > APSHOT.pom > Downloading: > http://repo1.maven.org/maven2//org/apache/camel/camel-cxf/1.4-SNAPSHOT/camel-cxf-1.4-SNAPSHOT.pom > Downloading: > http://people.apache.org/maven-snapshot-repository/org/apache/camel/camel-core/1.4-SNAPSHOT/camel-core-1.4- > SNAPSHOT.jar > Downloading: > http://repo1.maven.org/maven2//org/apache/camel/camel-core/1.4-SNAPSHOT/camel-core-1.4-SNAPSHOT.jar > > Kind regards, > > Charles Moulliard > > ----- > Enterprise Architect > > Xpectis > 12, route d'Esch > L-1470 Luxembourg > > Phone +352 25 10 70 470 > Mobile +352 621 45 36 22 > > e-mail : [EMAIL PROTECTED] > web site : www.xpectis.com www.xpectis.com > My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/ > -- > View this message in context: > http://www.nabble.com/SNAPSHOT-downloaded-instead-of-official-release-tp19685178p19685178.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Brett Porter Blog: http://blogs.exist.com/bporter/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
