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

Import maven project fails: "Could not import project null"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 4.1.0.Beta1
    • 4.1.0.Alpha2
    • openshift
    • None
    • Hide
      1. ASSERT: make sure you have a java/maven application on OpenShift (ex. jbossas-7, jbosseap-6, springeap-6)
      2. EXEC: import your application to your workspace via Import-wizard
      3. EXEC: once it's imported, modify the pom.xml to get invalid: ex. and a "!" in front of an xml-tag.
      4. EXEC: commit the change and push it to OpenShift
      5. EXEC: once it's pushed, remove the project and re-import it.

      Result:
      The import starts, the cloning happens, but when the maven import is executed, the wizard reports that the maven project null could not be imported:

      Show
      ASSERT: make sure you have a java/maven application on OpenShift (ex. jbossas-7, jbosseap-6, springeap-6) EXEC: import your application to your workspace via Import-wizard EXEC: once it's imported, modify the pom.xml to get invalid: ex. and a "!" in front of an xml-tag. EXEC: commit the change and push it to OpenShift EXEC: once it's pushed, remove the project and re-import it. Result: The import starts, the cloning happens, but when the maven import is executed, the wizard reports that the maven project null could not be imported:
    • Hide

      Rename your project before importing it a 2nd time.

      Show
      Rename your project before importing it a 2nd time.

    Description

      You cannot import an OpenShift java/maven project twice since the project name has to be unique within the very same Eclipse workspace. The OpenShift import wizard errors while importing and reports that it could not import the maven project null.

      We cannot change the wizard to error before importing since we have to clone the application repo and look into the pom to find out about the name clash.
      Nevertheless, we should fix the lacking error message that's missing the project name.

      Attachments

        Issue Links

          Activity

            People

              adietish@redhat.com André Dietisheim
              adietish@redhat.com André Dietisheim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: