[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7010) JBoss Maven Integration Facet has too strong constraints

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Tue Oct 12 17:53:56 EDT 2010


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

Snjezana Peco commented on JBIDE-7010:
--------------------------------------

- create a new Seam Web EAR project with the JBoss Maven Integration facet (use a standalone Seam to avoid the problem described in https://jira.jboss.org/browse/JBIDE-7297)
- right-click the EAR project and select Maven>Update Project Configuration

You wouldn't need to see the following message in the error log:

Error
Mon Oct 11 12:08:06 CEST 2010
Error removing EAR facet

org.eclipse.core.runtime.CoreException: One or more constraints have not been satisfied.
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:360)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1171)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1107)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$1.run(FacetedProject.java:321)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modify(FacetedProject.java:336)
at org.maven.ide.eclipse.wtp.EarProjectConfiguratorDelegate.configure(EarProjectConfiguratorDelegate.java:82)
at org.maven.ide.eclipse.wtp.AbstractProjectConfiguratorDelegate.configureProject(AbstractProjectConfiguratorDelegate.java:70)
at org.maven.ide.eclipse.wtp.WTPProjectConfigurator.configure(WTPProjectConfigurator.java:43)
at org.maven.ide.eclipse.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:57)
at org.maven.ide.eclipse.internal.project.GenericLifecycleMapping.configure(GenericLifecycleMapping.java:48)
at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:332)
at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:318)
at org.maven.ide.eclipse.actions.UpdateSourcesAction$1.runInWorkspace(UpdateSourcesAction.java:93)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Contains: Constraints for JBoss Maven Integration 1.0 have not been met.



> JBoss Maven Integration Facet has too strong constraints
> --------------------------------------------------------
>
>                 Key: JBIDE-7010
>                 URL: https://jira.jboss.org/browse/JBIDE-7010
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: 3.2.0.M1
>            Reporter: Snjezana Peco
>            Assignee: Snjezana Peco
>             Fix For: 3.2.0.Beta1
>
>
> The JBoss Maven Integration Facet requires some of the following facets:
> - Web Module
> - EJB facet
> - EAR facet
> - Application Client
> - JCA Module
> or 
> - Utility Module
> M2Eclipse WTP configurators remove a facet (ejb, ear, web module ...) then add it when they update a project configuration.
> Removing some of those facets throws a JBoss Maven Integration facet constraint error causing WTP configurators to fail. 
> It is necessary to relax constraints.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list