[jbosstools-issues] [JBoss JIRA] (JBIDE-11242) Users should be warned when WFK maven repo is missing

Fred Bricon (JIRA) jira-events at lists.jboss.org
Thu Apr 12 04:53:48 EDT 2012


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

Fred Bricon resolved JBIDE-11242.
---------------------------------

    Resolution: Done


Fixed in trunk. When the enterprise flag is set to true, we now check if org.jboss.spec:jboss-javaee-web-6.0:pom:3.0.0.Beta1-redhat-1 can be resolved and any other dependency declared as <essentialEnterpriseDependencies> in project-example.xml. If it can't be resolved, the warning message becomes : 

{quote}
The enterprise version of this project has a dependency on <missingDependency> which cannot be found. This indicates you do not have access to a JBoss WFK Maven repository or that repository is incomplete.
This can cause build problems. Follow this <a href\="http\://community.jboss.org/wiki/SettingUpTheJBossEnterpriseRepositories">link</a> for more details.
{quote}

For the Richfaces archetype, I added the following to project-example.xml : 

{noformat}
<essentialEnterpriseDependencies>org.richfaces:richfaces-bom:pom:4.2.0.Final-redhat-1::,</essentialEnterpriseDependencies>
{noformat}

                
> Users should be warned when WFK maven repo is missing
> -----------------------------------------------------
>
>                 Key: JBIDE-11242
>                 URL: https://issues.jboss.org/browse/JBIDE-11242
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central
>    Affects Versions: 3.3.0.Beta1
>            Reporter: Martin Malina
>            Assignee: Fred Bricon
>             Fix For: 3.3.0.Beta3
>
>
> When you create a new archetype-based project from JBoss Central with EAP runtime you will be given a warning if you don't have the EAP maven repo installed. Similarly users should be warned when they try to create a Spring or Richfaces project with EAP runtime but don't have the WFK maven repo installed.
> Right now what happens is that if you don't have the repo installed you'll get an error about missing dependency versions. The reason for that is that the bom containing the versions is not found.
> See JBIDE-11232.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list