1 Reply Latest reply on Apr 3, 2014 10:59 AM by dpalmer

    Maven repo issue with: https://community.jboss.org/wiki/SwitchYardOnKaraf

    ldimaggio

      In following the instructions defined in: https://community.jboss.org/wiki/SwitchYardOnKaraf

       

      I hit this error:

       

      karaf@root> features:addurl mvn:org.switchyard/switchyard-deploy-karaf/2.0.0-SNAPSHOT/xml/features
      Error executing command: Unable to add repositories:
          URL [mvn:org.switchyard/switchyard-deploy-karaf/2.0.0-SNAPSHOT/xml/features] could not be resolved.
      

       

      Even though my settings.xml file includes:

       

      <profile>
          <id>jboss-maven-repos</id>
          <repositories>
            <repository>
              <id>jboss-releases</id>
              <url>https://repository.jboss.org/nexus/content/repositories/releases</url>
              <releases><enabled>true</enabled></releases> <!-- Default: true -->
            </repository>
            <repository>
              <id>jboss-snapshots-repository</id>
              <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
              <snapshots><enabled>true</enabled></snapshots> <!-- Default: false -->
            </repository>
            <repository>
              <id>jbosstools-experiments</id>
              <url>https://repository.jboss.org/nexus/content/repositories/jbosstools-experiments/</url>
              <releases><enabled>true</enabled></releases> <!-- Default: true -->
              <snapshots><enabled>true</enabled></snapshots> <!-- Default: true -->
            </repository>
          </repositories>
        </profile>
      

       

      I got around the problem by downloading and building SwitchYard core, components, quickstarts to populate the maven repo.

       

      But - should this step be necessary with the profile in the above settings.xml?  Thanks!