[jbosstools-issues] [JBoss JIRA] (JBIDE-13769) Import maven project fails: "Could not import project null"

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Tue Apr 23 17:50:55 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-13769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-13769:
-------------------------------------

    Steps to Reproduce: 
# 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:

!could-not-maven-import-null.png!


  was:
# 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, try to import it a 2nd time: You have to provide a custom git clone location

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:

!could-not-maven-import-null.png!



    
> Import maven project fails: "Could not import project null"
> -----------------------------------------------------------
>
>                 Key: JBIDE-13769
>                 URL: https://issues.jboss.org/browse/JBIDE-13769
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.1.0.Alpha2
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>            Priority: Minor
>             Fix For: 4.1.x
>
>         Attachments: could-not-maven-import-null.png
>
>
> 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*. 
> !could-not-maven-import-null.png!
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list