[jbosstools-issues] [JBoss JIRA] (JBIDE-16574) File->Maven->Checkout Maven Project from SCM - results in error unless scm URL has "scm:null:" prefix

Mickael Istria (JIRA) issues at jboss.org
Fri Apr 4 10:25:13 EDT 2014


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

Mickael Istria commented on JBIDE-16574:
----------------------------------------

{quote}Mickael Istria Product needs Central because Central includes TestNG. product/installer/pom.xml needs TestNG because installer pre-installs TestNG. Therefore Product needs Central.
Note also this is DOCUMENTED in the pom: https://github.com/jbdevstudio/jbdevstudio-product/blob/master/pom.xml#L88-L91{quote}

Ok, so I feel it's a bad practice, because it can lead to issues such the one we have here where product can contain way more than TP.
I vote for:
* JBT and JBDS TP to add m2e.git
* JBDS TP to add testng

{quote}Instead of <includes> why not use <requires> ?{quote}
As I mentioned in an earlier comment, the issue with requires is that there is apparently no concept of "require optional", whereas there is an "include optional".
Technically, the simplest would be to add m2e.git and "require mandatory".
                
> File->Maven->Checkout Maven Project from SCM - results in error unless scm URL has "scm:null:" prefix
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-16574
>                 URL: https://issues.jboss.org/browse/JBIDE-16574
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven, upstream
>    Affects Versions: 4.2.0.Alpha2
>         Environment: RHEL6
> OpenJDK 1.7
> JBT 4.2.0.alpha2.respin-a
>            Reporter: Len DiMaggio
>            Priority: Blocker
>             Fix For: 4.2.0.Beta2
>
>         Attachments: Screenshot-1.png, Screenshot-2.png, Screenshot-3.png, Screenshot.png
>
>
> See attached screenshots - if a user attempts to import TicketMonster with this URL:
> git://github.com/jboss-jdf/ticket-monster.git
> This error is raised:  "Select SCM type and URL"
> Using this URL clears the error condition:
> scm:null:git://github.com/jboss-jdf/ticket-monster.git

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