2 Replies Latest reply on Sep 13, 2018 10:28 AM by cidicacidic

    Can't build JBoss quickstarts

    bwell

      Hi! I am new to JBoss and tried following online tutorials for starting my first sample app. I have Maven 3.5.4, JBoss EAP 7.1, and am using Red Hat Developer Studio.
      Specifically, I am working on helloworld-rs, but the following error appears for all quickstarts.

       

      When I try to build, I get the following output:

       

      [INFO] Scanning for projects...

      Downloading from jboss-public-repository: https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/jboss-parent/26/jboss-parent-26.pom

      Downloading from jboss-enterprise-maven-repository: https://maven.repository.redhat.com/ga/org/jboss/jboss-parent/26/jboss-parent-26.pom

      Downloading from jboss-enterprise-maven-repository-ea: https://maven.repository.redhat.com/earlyaccess/all/org/jboss/jboss-parent/26/jboss-parent-26.pom

      Downloading from jboss-public-repository-group: https://repository.jboss.org/nexus/content/groups/public/org/jboss/jboss-parent/26/jboss-parent-26.pom

      Downloading from central: https://repo.maven.apache.org/maven2/org/jboss/jboss-parent/26/jboss-parent-26.pom

      [ERROR] [ERROR] Some problems were encountered while processing the POMs:

      [FATAL] Non-resolvable parent POM for org.wildfly.quickstarts:quickstart-parent:14.0.0-SNAPSHOT: Could not transfer artifact org.jboss:jboss-parent:pom:26 from/to jboss-public-repository (https://repository.jboss.org/nexus/content/groups/public-jboss/): Connect to repository.jboss.org:443 [repository.jboss.org/209.132.182.97] failed: Connection timed out: connect and 'parent.relativePath' points at no local POM @ org.wildfly.quickstarts:quickstart-parent:14.0.0-SNAPSHOT, C:\Users\local\Desktop\quickstarts\quickstart-master\pom.xml, line 21, column 13

       

      I have tried changing the version from 26 to 26.0.0.redhat-1 because that's what it's under in maven.repository.redhat. The error doesn't change and it tries to download jboss-parent-26 from all 5 sources no matter what.

      Kind of at a loss because I followed all the steps from the tutorial and didn't change anything, but this error still works. Any advice is appreciated. Thanks!

       

      I'll also add what I think is relevant in the parent pom.xml and helloworld-rs's pom.xml

      Parent: I have also tried adding an empty <relativePath/>

      <parent>

              <groupId>org.jboss</groupId>

              <artifactId>jboss-parent</artifactId>

              <version>26</version>

      </parent>

      <groupId>org.wildfly.quickstarts</groupId>

      <artifactId>quickstart-parent</artifactId>

      <version>14.0.0-SNAPSHOT</version>

       

      helloworld-rs

      <parent>

              <groupId>org.wildfly.quickstarts</groupId>

              <artifactId>quickstart-parent</artifactId>

              <version>14.0.0-SNAPSHOT</version>

              <relativePath>../pom.xml</relativePath>

      </parent>

      <artifactId>helloworld-rs</artifactId>

      <packaging>war</packaging>

      <name>Quickstart: helloworld-rs</name>

      <description>A simple Hello World project that uses JAX-RS</description>