[jbosstools-issues] [JBoss JIRA] (JBIDE-14546) Could not import maven project when creating jbossews apps

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Tue May 21 07:34:06 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775581#comment-12775581 ] 

Andre Dietisheim edited comment on JBIDE-14546 at 5/21/13 7:33 AM:
-------------------------------------------------------------------

IMHO the bug is in the OpenShift templates:

* If you create a jbossas-7 application you get a project with an *artifactId (in the pom.xml) which matches the OpenShift application name*:
Create a *jbossas-7* application called *as76* and get:
{code}
<groupId>as76</groupId>
<artifactId>as76</artifactId>
{code}

* If you create a jbossews-2.0 application you get a constant *artifactId that does NOT match the OpenShift application name*:
Create a *jbossews-2.0* application called *ews123123* and get:
{code}
<groupId>com.openshift.example.jbossews</groupId>
<artifactId>jbossews-example</artifactId>
{code}

Thus a user wont be able to create and import 2 different jbossews applications.
                
      was (Author: adietish):
    IMHO the bug is in the OpenShift templates:

If you create a jbossas-7 application you get a project with an artifactId (in the pom.xml) which matches the OpenShift application name:

Create a jbossas-7 application called *as76* and get:
{code}
<groupId>as76</groupId>
<artifactId>as76</artifactId>
{code}

If you create a jbossews-2.0 application you get a constant artifactId that does NOT match the OpenShift application name:

Create a jbossews-2.0 application called ews123123 and get:
{code}
<groupId>com.openshift.example.jbossews</groupId>
<artifactId>jbossews-example</artifactId>
{code}

Thus a user wont be able to create and import 2 different jbossews applications.
                  
> Could not import maven project when creating jbossews apps
> ----------------------------------------------------------
>
>                 Key: JBIDE-14546
>                 URL: https://issues.jboss.org/browse/JBIDE-14546
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.1.0.Alpha2
>         Environment: JBDS 7.0.0 Alpha2 
> int.openshift.redhat.com(devenv_3250)
>            Reporter: jing zh
>            Assignee: Andre Dietisheim
>            Priority: Critical
>         Attachments: import-fails-null.png, jboss-ews2.png, jbossews_JBT.png
>
>


--
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