1 Reply Latest reply on Dec 18, 2014 4:21 AM by Ângelo Ricardo Costa

    Problems building quickstarts

    Anton Hughes Master

      Hi

       

      Im trying build the rest quickstart, but am getting the following error:

       

      [INFO]                                                                        

      [INFO] ------------------------------------------------------------------------

      [INFO] Building SwitchYard Quickstart: rest-binding 2.0.0.Beta1

      [INFO] ------------------------------------------------------------------------

      [WARNING] The POM for org.switchyard:switchyard-plugin:jar:2.0.0.Beta1 is missing, no dependency information available

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 2.782s

      [INFO] Finished at: Tue Dec 16 21:07:35 CET 2014

      [INFO] Final Memory: 11M/319M

      [INFO] ------------------------------------------------------------------------

      [ERROR] Plugin org.switchyard:switchyard-plugin:2.0.0.Beta1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.switchyard:switchyard-plugin:jar:2.0.0.Beta1: Failure to find org.switchyard:switchyard-plugin:pom:2.0.0.Beta1 in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced -> [Help 1]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

      anton@anton-magickpad:~/git/quickstarts/rest-binding$ /home/anton/git/quickstarts/rest-binding

       

      I have the following in my settings.xml:

       

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
        <localRepository>/home/anton/.m2/repository</localRepository>
        <servers>
          <server>
            <username>admin</username>
            <password>admin</password>
            <id>fabric8.upload.repo</id>
          </server>
        </servers>
        <profiles>
          <profile>
            <repositories>
              <repository>
                <releases>
                  <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                  <enabled>false</enabled>
                  <updatePolicy>never</updatePolicy>
                </snapshots>
                <id>repository-apache-org</id>
                <name>Apache Repository</name>
                <url>https://repository.apache.org/content/groups/public/</url>
              </repository>
      
      
        <repository>
                          <id>jboss-public-repository-group</id>
                          <name>JBoss Public Repository Group</name>
                          <url>http://repository.jboss.org/nexus/content/groups/public/</url>
                          <layout>default</layout>
                          <releases>
                              <enabled>true</enabled>
                              <updatePolicy>never</updatePolicy>
                          </releases>
                          <snapshots>
                              <enabled>true</enabled>
                              <updatePolicy>never</updatePolicy>
                          </snapshots>
              </repository>
      
      
      
      
                      <repository>
                          <id>jboss-enterprise-repository-group</id>
                          <name>JBoss Enterprise Maven Repository Group</name>
                          <url>http://maven.repository.redhat.com/techpreview/all/</url>
                          <layout>default</layout>
                          <releases>
                              <enabled>true</enabled>
                              <updatePolicy>never</updatePolicy>
                          </releases>
                          <snapshots>
                              <enabled>true</enabled>
                              <updatePolicy>never</updatePolicy>
                          </snapshots>
                      </repository>
                      <repository>
                          <id>fusesource-public-release-repository-group</id>
                          <url>https://repository.jboss.org/nexus/content/repositories/fs-releases</url>
                          <releases>
                              <enabled>true</enabled>
                              <updatePolicy>never</updatePolicy>
                          </releases>
                          <snapshots>
                              <enabled>true</enabled>
                              <updatePolicy>never</updatePolicy>
                          </snapshots>
                      </repository>
      
      
            </repositories>
            <pluginRepositories>
        <pluginRepository>
                <id>jboss-public-repository-group</id>
                <name>JBoss Public Maven Repository Group</name>
                <url>https://repository.jboss.org/nexus/content/groups/public/</url>
                <layout>default</layout>
                <releases>
                  <enabled>true</enabled>
                  <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                  <enabled>true</enabled>
                  <updatePolicy>never</updatePolicy>
                </snapshots>
              </pluginRepository>
      
      
      
      
      
      
              <pluginRepository>
                <releases>
                  <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                  <enabled>false</enabled>
                  <updatePolicy>never</updatePolicy>
                </snapshots>
                <id>repository-apache-org</id>
                <name>Apache Repository</name>
                <url>https://repository.apache.org/content/groups/public/</url>
              </pluginRepository>
            </pluginRepositories>
            <id>repository-apache-org</id>
          </profile>
          <profile>
            <repositories>
              <repository>
                <releases>
                  <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                  <enabled>false</enabled>
                  <updatePolicy>never</updatePolicy>
                </snapshots>
                <id>jboss-public-repository</id>
                <name>JBoss Public</name>
                <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
              </repository>
            </repositories>
            <pluginRepositories>
              <pluginRepository>
                <releases>
                  <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                  <enabled>false</enabled>
                  <updatePolicy>never</updatePolicy>
                </snapshots>
                <id>jboss-public-repository</id>
                <name>JBoss Public</name>
                <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
              </pluginRepository>
            </pluginRepositories>
            <id>jboss-public-repository</id>
          </profile>
        <profile>
            <id>redhat-techpreview-all-repository</id>
            <repositories>
              <repository>
                <id>redhat-techpreview-all-repository</id>
                <name>Red Hat Tech Preview repository (all)</name>
                <url>http://maven.repository.redhat.com/techpreview/all/</url>
                <releases>
                  <enabled>true</enabled>
                  <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                  <enabled>false</enabled>
                  <updatePolicy>daily</updatePolicy>
                </snapshots>
              </repository>
            </repositories>
            <pluginRepositories>
              <pluginRepository>
                <id>redhat-techpreview-all-repository</id>
                <name>Red Hat Tech Preview repository (all)</name>
                <url>http://maven.repository.redhat.com/techpreview/all/</url>
                <releases>
                  <enabled>true</enabled>
                  <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                  <enabled>false</enabled>
                  <updatePolicy>daily</updatePolicy>
                </snapshots>
              </pluginRepository>
            </pluginRepositories>
          </profile>
        </profiles>
        <activeProfiles>
          <activeProfile>repository-apache-org</activeProfile>
          <activeProfile>jboss-public-repository</activeProfile>
        <activeProfile>redhat-techpreview-all-repository</activeProfile>
        </activeProfiles>
        <pluginGroups>
          <pluginGroup>org.apache.maven.plugins</pluginGroup>
          <pluginGroup>org.codehaus.mojo</pluginGroup>
        </pluginGroups>
      </settings>