Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16351

FixClasspathConfigurator isn't obliged in a newer m2e

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Critical Critical
    • 4.1.2.CR1, 4.2.0.Alpha2
    • 4.2.0.Alpha1
    • maven
    • None

      The FixClasspathConfigurator configurator has been introduced to solve https://issues.sonatype.org/browse/MNGECLIPSE-2433.
      The issue happens with a mavenized seam 2 project that has a flat layout structure.
      This configurator refreshes the old maven facade causing m2e to solve dependencies twice when ever building a project.
      It is the configurator for maven-compiler-plugin so it is called for every Java project.
      Since solving dependencies can take a long, it can slow down building projects up to 15% (depends on the project's dependencies)

      The solution:

      • removing the configurator. The issue is only related to the mavenized Seam projects that aren't included into project examples anymore and a required classpath entry can be manually added(newer m2 versions won't remove the existing classpath entry).

              fbricon@redhat.com Fred Bricon
              snjeza_jira Snjezana Peco (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: