Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-3316

Project examples offline groovy script doesn't run successfully

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 8.0.1.GA, 8.0.2.GA
    • central, project-examples
    • None
    • Hide

      Don't use mvn 3.2.2

      Show
      Don't use mvn 3.2.2
    • NEW

    Description

      Groovy 2.1.9 is installed and correctly configured.
      Maven settings.xml lists jboss-public repo and Red Hat tech preview repo.

      Running groovy command gives maven errors for every project, sample output for first project is given here:

      groovy "/Applications/jboss-devstudio/workspace/.metadata/.plugins/org.jboss.tools.project.examples/offline/go_offline_2.0.0.Final_v20141209_0359_B110.groovy" http://download.jboss.org/jbosstools/examples/project-examples-category-jbds-8.0.xml http://download.jboss.org/jbosstools/examples/project-examples-shared-4.2.GA.xml http://download.jboss.org/jbosstools/examples/project-examples-jbds80.xml -q -e
      Quiet mode : true
      Descriptors : [http://download.jboss.org/jbosstools/examples/project-examples-category-jbds-8.0.xml, http://download.jboss.org/jbosstools/examples/project-examples-shared-4.2.GA.xml, http://download.jboss.org/jbosstools/examples/project-examples-jbds80.xml]
      creating offline/.jbosstools/cache
      parsing http://download.jboss.org/jbosstools/examples/project-examples-category-jbds-8.0.xml
      parsing http://download.jboss.org/jbosstools/examples/project-examples-shared-4.2.GA.xml
      parsing http://download.jboss.org/jbosstools/examples/project-examples-jbds80.xml
      Downloaded http://download.jboss.org/jbosstools/examples/4.2.0.GA/eap/jboss-helloworld-jms.zip (13 KB) to offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-helloworld-jms.zip
      Downloaded http://download.jboss.org/jbosstools/examples/4.2.0.GA/eap/jboss-helloworld.zip (11 KB) to offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-helloworld.zip
          [unzip] Expanding: /Users/michelle/offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-helloworld-jms.zip into /Users/michelle/offline/workDir/jboss-helloworld-jms.zip    [unzip] Expanding: /Users/michelle/offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-helloworld.zip into /Users/michelle/offline/workDir/jboss-helloworld.zip
      
      Downloaded http://download.jboss.org/jbosstools/examples/4.2.0.GA/eap/jboss-numberguess.zip (14 KB) to offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-numberguess.zip
          [unzip] Expanding: /Users/michelle/offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-numberguess.zip into /Users/michelle/offline/workDir/jboss-numberguess.zip
      Downloaded http://download.jboss.org/jbosstools/examples/4.2.0.GA/wfk/jboss-kitchensink-rf.zip (141 KB) to offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/wfk/jboss-kitchensink-rf.zip
          [unzip] Expanding: /Users/michelle/offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/wfk/jboss-kitchensink-rf.zip into /Users/michelle/offline/workDir/jboss-kitchensink-rf.zip
      Downloaded http://download.jboss.org/jbosstools/examples/4.2.0.GA/eap/jboss-helloworld-mdb.zip (20 KB) to offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-helloworld-mdb.zip
          [unzip] Expanding: /Users/michelle/offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-helloworld-mdb.zip into /Users/michelle/offline/workDir/jboss-helloworld-mdb.zip
          [unzip] Downloaded http://download.jboss.org/jbosstools/examples/4.2.0.GA/wfk/jboss-kitchensink-html5-mobile.zip (460 KB) to offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/wfk/jboss-kitchensink-html5-mobile.zip
      Downloaded http://download.jboss.org/jbosstools/examples/4.2.0.GA/eap/jboss-helloworld-rs.zip (14 KB) to offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-helloworld-rs.zip
          [unzip] Expanding: /Users/michelle/offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/wfk/jboss-kitchensink-html5-mobile.zip into /Users/michelle/offline/workDir/jboss-kitchensink-html5-mobile.zip
          [unzip] Expanding: /Users/michelle/offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-helloworld-rs.zip into /Users/michelle/offline/workDir/jboss-helloworld-rs.zip
      Downloaded http://download.jboss.org/jbosstools/examples/4.2.0.GA/wfk/jboss-deltaspike-helloworld-jms.zip (24 KB) to offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/wfk/jboss-deltaspike-helloworld-jms.zip
          [unzip] Expanding: /Users/michelle/offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/wfk/jboss-deltaspike-helloworld-jms.zip into /Users/michelle/offline/workDir/jboss-deltaspike-helloworld-jms.zip
      Downloaded http://download.jboss.org/jbosstools/examples/4.2.0.GA/eap/jboss-jax-rs-client.zip (9 KB) to offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-jax-rs-client.zip
          [unzip] Expanding: /Users/michelle/offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-jax-rs-client.zip into /Users/michelle/offline/workDir/jboss-jax-rs-client.zip
      Downloaded http://download.jboss.org/jbosstools/examples/4.2.0.GA/wfk/jboss-kitchensink-backbone.zip (483 KB) to offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/wfk/jboss-kitchensink-backbone.zip
          [unzip] Expanding: /Users/michelle/offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/wfk/jboss-kitchensink-backbone.zip into /Users/michelle/offline/workDir/jboss-kitchensink-backbone.zip
      Downloaded http://download.jboss.org/jbosstools/examples/4.2.0.GA/eap/jboss-kitchensink.zip (88 KB) to offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-kitchensink.zip
          [unzip] Expanding: /Users/michelle/offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-kitchensink.zip into /Users/michelle/offline/workDir/jboss-kitchensink.zip
      Downloaded http://download.jboss.org/jbosstools/examples/4.2.0.GA/wfk/jboss-kitchensink-angularjs.zip (205 KB) to offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/wfk/jboss-kitchensink-angularjs.zip
          [unzip] Expanding: /Users/michelle/offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/wfk/jboss-kitchensink-angularjs.zip into /Users/michelle/offline/workDir/jboss-kitchensink-angularjs.zip
      Downloaded http://download.jboss.org/jbosstools/examples/4.2.0.GA/eap/jboss-greeter.zip (22 KB) to offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-greeter.zip
          [unzip] Expanding: /Users/michelle/offline/.jbosstools/cache/jbosstools/examples/4.2.0.GA/eap/jboss-greeter.zip into /Users/michelle/offline/workDir/jboss-greeter.zip
      Downloaded http://dl.bintray.com/jbosstools/examples/contacts-mobile-basic/0.0.1/contacts-mobile.zip (7 MB) to offline/.jbosstools/cache/jbosstools/examples/contacts-mobile-basic/0.0.1/contacts-mobile.zip
          [unzip] Expanding: /Users/michelle/offline/.jbosstools/cache/jbosstools/examples/contacts-mobile-basic/0.0.1/contacts-mobile.zip into /Users/michelle/offline/workDir/contacts-mobile.zip
      Building org.jboss.tools.example.html5:contacts-mobile-basic-services:0.0.1-SNAPSHOT default,openshift,minify,arq-jbossas-managed
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]   
      [ERROR]   The project org.jboss.tools.example.html5:contacts-mobile-basic-services:0.0.1-SNAPSHOT (/Users/michelle/offline/workDir/contacts-mobile.zip/contacts-mobile-basic-services/pom.xml) has 14 errors
      [ERROR]     Non-resolvable import POM: Could not find artifact org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central (http://repo.maven.apache.org/maven2) @ org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], /Users/michelle/offline/.m2/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, line 42, column 25 -> [Help 2]
      [ERROR]     Non-resolvable import POM: Could not find artifact org.jboss.bom:jboss-javaee-6.0-with-hibernate:pom:1.0.4.Final-redhat-9 in central (http://repo.maven.apache.org/maven2) @ line 82, column 25 -> [Help 2]
      [ERROR]     'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is missing. @ line 96, column 21
      [ERROR]     'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar is missing. @ line 103, column 21
      [ERROR]     'dependencies.dependency.version' for org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec:jar is missing. @ line 110, column 21
      [ERROR]     'dependencies.dependency.version' for org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar is missing. @ line 117, column 21
      [ERROR]     'dependencies.dependency.version' for org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar is missing. @ line 124, column 21
      [ERROR]     'dependencies.dependency.version' for org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:jar is missing. @ line 131, column 21
      [ERROR]     'dependencies.dependency.version' for org.hibernate:hibernate-validator:jar is missing. @ line 140, column 21
      [ERROR]     'dependencies.dependency.version' for org.hibernate:hibernate-jpamodelgen:jar is missing. @ line 155, column 21
      [ERROR]     'dependencies.dependency.version' for junit:junit:jar is missing. @ line 162, column 21
      [ERROR]     'dependencies.dependency.version' for org.jboss.arquillian.junit:arquillian-junit-container:jar is missing. @ line 170, column 21
      [ERROR]     'dependencies.dependency.version' for org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar is missing. @ line 176, column 21
      [ERROR]     'dependencies.dependency.version' for org.jboss.as:jboss-as-arquillian-container-managed:jar is missing. @ line 323, column 29
      [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/ProjectBuildingException
      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
      Result: 1
      

      Tried resolving by deleting contents of .m2/repository directory, but same error.

      Attachments

        Issue Links

          Activity

            People

              fbricon@redhat.com Fred Bricon
              mmurray1@redhat.com Michelle Murray (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: