Hi,

you must add a pluginReporitory to your maven settings:

<settings>
  <profiles>
    <profile>
      <id>incubating</id>
      <repositories>
        <repository>
          <id>apache-incubating</id>
          <url>http://people.apache.org/repo/m2-incubating-repository</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>apache-plugin-incubating</id>
          <url>http://people.apache.org/repo/m2-incubating-repository</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
  <activeProfiles>
    <activeProfile>incubating</activeProfile>
  </activeProfiles>
</settings>

Andrea


zul wrote:
> 
> Hi,
> 
> I tried to run the loan-broker-bpel example (version 3.0) by first running
> (to install) :
> 
> C:\servicemix\servicemix-3.0\examples\loan-broker-bpel>mvn install
> 
> It gives the message:
> [INFO] Scanning for projects...
> Downloading:
> http://people.apache.org/maven-snapshot-repository/org/apache/servicemix/samples/3.0-incubating/samples-3.0
> -incubating.pom
> [WARNING] Unable to get resource from repository apache.snapshots
> (http://people.apache.org/maven-snapshot-repository)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.0-incubating/samples-3.0-incubating.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> GroupId: org.apache.servicemix
> ArtifactId: samples
> Version: 3.0-incubating
> 
> Reason: Unable to download the artifact from any repository
> 
>   org.apache.servicemix:samples:pom:3.0-incubating
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://people.apache.org/maven-snapshot-repository)
> -------------------------
> 
> When I checked, it seems that the path and filename to the artifact is not
> correct.
> SOS,
>  zul
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Installing-loan-broker-bpel-example-tf2374581.html#a6783204
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to