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

Backport to 4.0.x - Null Java EE Web Project Archetype

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 4.0.0.Final
    • Fix Version/s: 4.0.1.Final
    • Component/s: maven
    • Labels:
    • Environment:

      Windows 7 64b, Eclipse Juno Service Release 1 Build id: 20120920-0800, Java 1.7_07, JBoss Tools 4.0.0.Final

    • Steps to Reproduce:
      Hide

      Try to create a Java EE Web Project. It was working fine until not long ago and out of the blue that issue came up - now I'm no longer able to create a project

      Show
      Try to create a Java EE Web Project. It was working fine until not long ago and out of the blue that issue came up - now I'm no longer able to create a project
    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      The project wizards in JBoss central are based on Maven archetypes and stacks.yml holds information defining the archetype for each project. Occasionally, stacks.yml would not load correctly and archetype information necessary for building the project would not be available. As a result, the wizard description would show "Project based on the null:null:null Maven archetype" and the project would fail to be created, with the error "Root cause: For artifact null:null:null:pom". The tooling has been modified to ensure stack.yml is always correctly loaded. Consequently, the wizard does not show null in the Maven archetype information and the project is successfully created.
      Show
      The project wizards in JBoss central are based on Maven archetypes and stacks.yml holds information defining the archetype for each project. Occasionally, stacks.yml would not load correctly and archetype information necessary for building the project would not be available. As a result, the wizard description would show "Project based on the null:null:null Maven archetype" and the project would fail to be created, with the error "Root cause: For artifact null:null:null:pom". The tooling has been modified to ensure stack.yml is always correctly loaded. Consequently, the wizard does not show null in the Maven archetype information and the project is successfully created.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      When trying to create a new Java EE Web Project, the following description is presented:

      This is your project! It's a sample, deployable Maven 3 project to help you get your foot in the door developing with Java EE 6 on JBoss Enterprise Application Platform 6 or JBoss Application Server 7.1.
      This project is setup to allow you to create a compliant Java EE 6 application using JSF 2.0, CDI 1.0, EJB 3.1, JPA 2.0 and Bean Validation 1.0.

      Project based on the null:null:null Maven archetype

      If I go forward with the creation of the project, I get the following error message:

      Failed to create project.

      Root cause: For artifact null:null:null:pom : The group id cannot be empty.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dgolovin Denis Golovin
                  Reporter:
                  fbricon Fred Bricon
                  Writer:
                  Michelle Murray
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: