What I usually do is to use a profile in my .m2/settings.xml file.

And then run using -Pstaging on the mvn command line


<!--
    <profile>
           <id>staging</id>
           <repositories>
           <repository>
          <id>repo.apache.staging</id>
          
<url>https://repository.apache.org/content/repositories/orgapachecamel-023/</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <releases>
            <enabled>true</enabled>
          </releases>           
                </repository>
            </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>repo.apache.staging</id>
          
<url>https://repository.apache.org/content/repositories/orgapachecamel-023/</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <releases>
            <enabled>true</enabled>
          </releases>
        </pluginRepository>
      </pluginRepositories>
     </profile> 
-->
  </profiles>



On Fri, Jul 15, 2011 at 11:15 AM, bvahdat <babak.vah...@swissonline.ch> wrote:
> Hi,
>
> I just wanted to give a try for upgrading from 2.7.2 to 2.8.0 and
> (temporarily) added the following repository into my parent pom of a
> multi-module maven project until it gets populated to the official maven
> repo next week (http://repo1.maven.org/maven2/ &
> http://repo2.maven.org/maven2/)
>
>                <repository>
>                        <id>apache camel 2.8.0 staging repo</id>
>                        <name>try apache camel new release</name>
>
> <url>https://repository.apache.org/content/repositories/orgapachecamel-023</url>
>                        <releases>
>                                <enabled>true</enabled>
>                        </releases>
>                        <snapshots>
>                                <enabled>false</enabled>
>                        </snapshots>
>                </repository>
>
> But somehow maven is not able to download the artifacts from the staging
> repo above! Has anybody experienced the same problem?
>
> Regards, Babak
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Some-indication-on-when-2-8-0-could-be-released-tp4585340p4589994.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to