[
https://issues.jboss.org/browse/JBIDE-16351?page=com.atlassian.jira.plugi...
]
Snjezana Peco commented on JBIDE-16351:
---------------------------------------
I have tested the old Seam 2 projects as well as WFK Seam 2.3 demo.
FixClasspathConfigurator doesn't affect those projects because m2e, now, copies
resources placed outside the project source tree to the project's output folder.
Old Seam 2 projects (especially test project) don't work with JBT 4.1 with or without
this configurator. You can create a separate jira related to that issue.
WFK Seam demo projects work properly.
{quote}
Shouldn't it be enough to just apply FixClasspathConfigurator on projects having the
seam nature, then check if seam version < 2.3?
{quote}
That would unnecessarily decrease performance and wouldn't solve anything.
FixClasspathConfigurator isn't obliged in a newer m2e
-----------------------------------------------------
Key: JBIDE-16351
URL:
https://issues.jboss.org/browse/JBIDE-16351
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: maven
Affects Versions: 4.2.0.Alpha1
Reporter: Snjezana Peco
Assignee: Fred Bricon
Priority: Critical
Fix For: 4.1.2.Final, 4.2.0.Alpha2
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).
--
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