1 Reply Latest reply on Sep 13, 2010 2:02 PM by Mike Bria

    Problems while running sample app in authz

    Prasad B L V Newbie

      Hi ,

       

           I am getting the following error when running the secure pojo application. Below given is the log.

      [INFO] Scanning for projects...
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Samples demonstrating POJO security
      [INFO]    task-segment: [test]
      [INFO] ------------------------------------------------------------------------
      Downloading: http://download.java.net/maven/2//org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom
      [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugin:pom:2.3' from repository java.net maven repository (http://download.java.net/maven/2/): Error transferring file: Connection refused: connect
      Downloading: http://snapshots.repository.codehaus.org//org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom
      [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugin:pom:2.3' from repository codehaus snapshot repository (http://snapshots.repository.codehaus.org/): Error transferring file: Connection refused: connect
      Downloading: http://repository.jboss.org/maven2//org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom
      [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugin:pom:2.3' from repository jboss snapshot repository (http://repository.jboss.org/maven2/): Error transferring file: Connection refused: connect
      Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom
      [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugin:pom:2.3' from repository central (http://repo1.maven.org/maven2): Error transferring file: Connection refused: connect
      Downloading: http://repository.jboss.org/maven2//org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom
      [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugin:pom:2.3' from repository repository.jboss.org (http://repository.jboss.org/maven2/): Error transferring file: Connection refused: connect
      Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom
      [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugin:pom:2.3' from repository central (http://repo1.maven.org/maven2): Error transferring file: Connection refused: connect
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error building POM (may not be this project's POM).

       


      Project ID: org.apache.maven.plugins:maven-resources-plugin

       

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

       

        org.apache.maven.plugins:maven-resources-plugin:pom:2.3

       

      from the specified remote repositories:
        java.net maven repository (http://download.java.net/maven/2/),
        central (http://repo1.maven.org/maven2),
        jboss snapshot repository (http://repository.jboss.org/maven2/),
        repository.jboss.org (http://repository.jboss.org/maven2/),
        codehaus snapshot repository (http://snapshots.repository.codehaus.org/),
        snapshots.jboss.org (http://snapshots.jboss.org/maven2/)

       

      for project org.apache.maven.plugins:maven-resources-plugin

       


      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 7 seconds
      [INFO] Finished at: Tue Apr 13 17:45:57 IST 2010
      [INFO] Final Memory: 1M/4M
      [INFO] ------------------------------------------------------------------------

       

       

      Please help me.

       

      With Regards

      Prasad