Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16273

Java EE Web Project archetype from Central cannot find dependencies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.1.Final
    • 4.1.1.Final
    • central
    • None
    • Hide

      1. Have JBDS started with an EAP server added (6.1.1 or 6.2.0)
      2. Click the Java EE Web project archetype
      3. In the dialog, you will be shown a missing dependency - jboss-eap-bom-parent-6.2.0-build-5.pom .
      4. Click the "repository" link to see suggestion for your settings.xml - it will add http://jboss-developer.github.io/temp-maven-repo/ - problem #1 - what is this repo? we've never seen it. But it actually seems to contain the missing dependency.
      5. After fixing your settings.xml, the warming of the missing repo will still be displayed - problem #2

      Show
      1. Have JBDS started with an EAP server added (6.1.1 or 6.2.0) 2. Click the Java EE Web project archetype 3. In the dialog, you will be shown a missing dependency - jboss-eap-bom-parent-6.2.0-build-5.pom . 4. Click the "repository" link to see suggestion for your settings.xml - it will add http://jboss-developer.github.io/temp-maven-repo/ - problem #1 - what is this repo? we've never seen it. But it actually seems to contain the missing dependency. 5. After fixing your settings.xml, the warming of the missing repo will still be displayed - problem #2

      When I try to create the Java EE Web Project from Central, I am given a warning that dependencies are missing.

      When I click on the "repository" link to fix the problem, I am offered to add the Red Hat Tech Preview repo which I already have in my settings.xml (along with jboss developer repo at github.io - on clue what that is for).

      Note that the behavior is a little unpredictable. Rastislav was able to reproduce the issue, but later it disappeared for him and for me, too. Then I removed my local maven repo and tried again and the error is back. Now I even added the recommended repos, but the warning stayed displayed (even after there was no progress in the bottom right corner of the IDE). But when I finished the dialog, there is no build error.

        1. java-ee-web-1.png
          107 kB
          Martin Malina
        2. java-ee-web-2.png
          106 kB
          Martin Malina

            fbricon@redhat.com Fred Bricon
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: