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

"Enterprise Application Project" project maven build is failing (after conversion to maven project)

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.11.0.Final
    • Fix Version/s: 4.12.0.Final
    • Component/s: maven
    • Labels:
      None
    • Environment:

      OS X 10.14.4

    • Steps to Reproduce:
      Hide

      1) create new "Enterprise Application Project" project

      • fill in Project name and click next
      • click on "New Module..." button and make sure all 4 default modules are checked to be created
      • click Finish

      2) In package Explorer -> right click on each modul and project itself -> Configure -> Convert to maven project -> Finish
      3) Build all 4 modules - Client, Connector, EJB, web (build should be successful) - right click on module -> Run As -> Maven build... -> insert "clean install" into "Goals:" input and click "Run"
      4) Build the whole project (same steps as building modules) -> fail

      Show
      1) create new "Enterprise Application Project" project fill in Project name and click next click on "New Module..." button and make sure all 4 default modules are checked to be created click Finish 2) In package Explorer -> right click on each modul and project itself -> Configure -> Convert to maven project -> Finish 3) Build all 4 modules - Client, Connector, EJB, web (build should be successful) - right click on module -> Run As -> Maven build... -> insert "clean install" into "Goals:" input and click "Run" 4) Build the whole project (same steps as building modules) -> fail
    • Estimated Difficulty:
      Low

      Description

      "Enterprise Application Project" project maven build after conversion to maven project is failing - it looks like the project cant see the modules' pom.xml:

      [ERROR] Failed to execute goal on project ear: Could not resolve dependencies for project ear:ear:ear:0.0.1-SNAPSHOT: The following artifacts could not be resolved: earClient:earClient:jar:0.0.1-SNAPSHOT, earEJB:earEJB:jar:0.0.1-SNAPSHOT, earConnector:earConnector:rar:0.0.1-SNAPSHOT, earWeb:earWeb:war:0.0.1-SNAPSHOT: Could not find artifact earClient:earClient:jar:0.0.1-SNAPSHOT -> [Help 1]

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jeffmaury Jeff MAURY
                Reporter:
                zcervink Zbyněk Červinka
                Tester:
                Zbyněk Červinka
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: