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)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.12.0.Final
    • 4.11.0.Final
    • maven
    • None
    • 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
    • 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]

      Attachments

        Activity

          People

            jmaury@redhat.com Jeff MAURY
            zcervink Zbyněk Červinka (Inactive)
            Zbyněk Červinka Zbyněk Červinka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: