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

Example Archetypes don't resolve correctly if their remote repository is not declared in the settings.xml

    Details

    • Steps to Reproduce:
      Hide
      • Check that no reference to the JBoss Nexus repos are present in your settings.xml
      • from JBoss central, create a new project from one of the JavaEE 6 Quickstarts
      • ASSERT some properties should be displayed in the Wizard page <- Fails
      Show
      Check that no reference to the JBoss Nexus repos are present in your settings.xml from JBoss central, create a new project from one of the JavaEE 6 Quickstarts ASSERT some properties should be displayed in the Wizard page <- Fails

      Description

      While testing the EAP6 repository, it occured to me that Archetype properties were not resolved correctly for our AS7 archetype based examples. Since the required properties cannot be resolved, they're not displayed to the user. Eventually, the project creation fails due to these missing properties.

      This is similar to an upstream issue (https://bugs.eclipse.org/bugs/show_bug.cgi?id=359855), where the maven/aether session is not correctly provided to the resolver.

      Actually, there already is a hack in m2e that deals with that remote archetype resolution issue. This need to be reproduced in JBT.

        Gliffy Diagrams

          Activity

          Hide
          fbricon Fred Bricon added a comment -

          Using similar hack to m2e to actually download archetypes before actual properties resolution.

          Show
          fbricon Fred Bricon added a comment - Using similar hack to m2e to actually download archetypes before actual properties resolution.
          Hide
          maxandersen Max Rydahl Andersen added a comment -

          in M4 for consideration.

          Show
          maxandersen Max Rydahl Andersen added a comment - in M4 for consideration.
          Hide
          fbricon Fred Bricon added a comment -

          fixed in trunk and 3.3.0.M4 branch.

          Show
          fbricon Fred Bricon added a comment - fixed in trunk and 3.3.0.M4 branch.
          Hide
          rawagner Rastislav Wagner added a comment -

          Verified in JBT 3.3.0.M4a

          Show
          rawagner Rastislav Wagner added a comment - Verified in JBT 3.3.0.M4a

            People

            • Assignee:
              fbricon Fred Bricon
              Reporter:
              fbricon Fred Bricon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development