[jbosstools-issues] [JBoss JIRA] (JBIDE-18099) Configure Maven Repositories quickfix shows up on unrelated quickfixes

Fred Bricon (JIRA) issues at jboss.org
Mon Sep 29 10:13:02 EDT 2014


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

Fred Bricon commented on JBIDE-18099:
-------------------------------------

We currently use :
{noformat}
	<extension 
        point="org.eclipse.ui.ide.markerResolution">
        <markerResolutionGenerator
            class="org.jboss.tools.maven.ui.internal.markers.MavenDependencyMarkerResolutionGenerator"
            markerType="org.eclipse.m2e.core.maven2Problem.dependency">
        </markerResolutionGenerator>
    </extension>
    <extension 
        point="org.eclipse.ui.ide.markerResolution">
        <markerResolutionGenerator
            class="org.jboss.tools.maven.ui.internal.markers.MavenDependencyMarkerResolutionGenerator"
            markerType="org.eclipse.m2e.core.maven2Problem.pomloading">
        </markerResolutionGenerator>
    </extension>
{noformat} 

I fear that if we remove the mapping to org.eclipse.m2e.core.maven2Problem.pomloading errors, we might skip genuine errors. Might need to change the markerId upstream for duplicate groupId/artifactId...

Too bad markerResolutionGenerator doesn't provide more fine-grained way to filter out markers.


> Configure Maven Repositories quickfix shows up on unrelated quickfixes
> ----------------------------------------------------------------------
>
>                 Key: JBIDE-18099
>                 URL: https://issues.jboss.org/browse/JBIDE-18099
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven
>            Reporter: Max Rydahl Andersen
>            Assignee: Fred Bricon
>             Fix For: 4.3.x
>
>
> I have a project where the groupid is the same as parent in many projects (i.e. javaee7-samples)
> I get about 50 warnings about this and want to use the quickfix to remove this line.
> I can't because our "Configure Maven Repositories" thinks it is a relevant fix for this issue.
> Can we make it so it wont show up unless it is relevant ?
> Screenshot: https://www.dropbox.com/s/dmo1a7x1em7qq06/Screenshot%202014-08-20%2012.51.38.png



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list