1 Reply Latest reply on Sep 8, 2011 10:46 PM by Xiaofeng Feng

    project package: Maven is not working

    Xiaofeng Feng Newbie

      Downloading: http://repository.jboss.com/maven2//org/richfaces/cdk/maven-cdk-pluhttp://repository.jboss.com/maven2//org/richfaces/cdk/maven-cdk-plugin/3.3.3.Final/maven-cdk-plugin-3.3.3.Final.pom
      [WARNING] Unable to get resource 'org.richfaces.cdk:maven-cdk-plugin:pom:3.3.3.Final' from repository repository.jboss.com (http://repository.jboss.com/maven2/): Error transferring file: repository.jboss.com
      Downloading: http://repo1.maven.org/maven2/org/richfaces/cdk/maven-cdk-plugin/3.3.3.Final/maven-cdk-plugin-3.3.3.Final.pom
      [WARNING] Unable to get resource 'org.richfaces.cdk:maven-cdk-plugin:pom:3.3.3.F
      inal' from repository central (http://repo1.maven.org/maven2): Error transferring file: repo1.maven.org
      Downloading: http://download.java.net/maven/1/org.richfaces.cdk/poms/maven-cdk-phttp://download.java.net/maven/1/org.richfaces.cdk/poms/maven-cdk-plugin-3.3.3.Final.pom
      [WARNING] Unable to get resource 'org.richfaces.cdk:maven-cdk-plugin:pom:3.3.3.Final' from repository maven2-repository.dev.java.net (http://download.java.net/mhttp://download.java.net/maven/1): Error transferring file: download.java.net
      Downloading: http://repository.jboss.com/maven2//org/richfaces/cdk/maven-cdk-plugin/3.3.3.Final/maven-cdk-plugin-3.3.3.Final.pom
      [WARNING] Unable to get resource 'org.richfaces.cdk:maven-cdk-plugin:pom:3.3.3.Final' from repository repository.jboss.com (http://repository.jboss.com/maven2/): Error transferring file: repository.jboss.com
      Downloading: http://repo1.maven.org/maven2/org/richfaces/cdk/maven-cdk-plugin/3.3.3.Final/maven-cdk-plugin-3.3.3.Final.pom
      [WARNING] Unable to get resource 'org.richfaces.cdk:maven-cdk-plugin:pom:3.3.3.Final' from repository central (http://repo1.maven.org/maven2):Error transferring file: repo1.maven.org
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error building POM (may not be this project's POM).


      Project ID: org.richfaces.cdk:maven-cdk-plugin

      Reason: POM 'org.richfaces.cdk:maven-cdk-plugin' not found in repository: Unable
      to download the artifact from any repository

        org.richfaces.cdk:maven-cdk-plugin:pom:3.3.3.Final

      from the specified remote repositories:repository.jboss.com (http://repository.jboss.com/maven2/),central (http://repo1.maven.org/maven2),maven2-repository.dev.java.net (http://download.java.net/maven/1),
        maven.jboss.org (http://snapshots.jboss.org/maven2/)

      for project org.richfaces.cdk:maven-cdk-plugin

        • 1. Re: project package: Maven is not working
          Xiaofeng Feng Newbie

          Original jboss library may be added access control http://repository.jboss.com/maven2/

          Edit maven setting.xml

           

          <profile>
            <id>cdk</id>
            <repositories>
            
             <repository>
              <releases>
               <enabled>true</enabled>
              </releases>
              <snapshots>
               <enabled>false</enabled>
               <updatePolicy>never</updatePolicy>
              </snapshots>

              <id>repository.jboss.com</id>
              <name>Jboss Repository for Maven</name>
              <url>https://maven.atlassian.com/content/groups/public</url>
              <layout>default</layout>
             </repository>
            </repositories>
            <pluginRepositories>
             <pluginRepository>
              <id>maven.jboss.org</id>
              <name>JBoss Repository for Maven Snapshots</name>
              <url>http://snapshots.jboss.org/maven2/</url>
              <releases>
               <enabled>false</enabled>
              </releases>
              <snapshots>
               <enabled>true</enabled>
               <updatePolicy>always</updatePolicy>
              </snapshots>
            </pluginRepository>
            <pluginRepository>
            <releases>
            <enabled>true</enabled>
            </releases>
            <snapshots>
            <enabled>false</enabled>
            <updatePolicy>never</updatePolicy>
            </snapshots>
            <id>repository.jboss.com</id>
            <name>Jboss Repository for Maven</name>
            <url>https://maven.atlassian.com/content/groups/public</url>
            <layout>default</layout>
            </pluginRepository>
            </pluginRepositories>
          </profile>