Issue Details (XML | Word | Printable)

Key: MPECLIPSE-102
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Jamie Bisotti
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Eclipse Plugin

Running 'maven:eclipse' turns CheckStyle off for the project.

Created: 15/Sep/05 07:44 AM   Updated: 17/Aug/08 04:50 AM
Component/s: None
Affects Version/s: 1.9
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
Assuming project is already setup in Eclipse 3.1 (either manually or via the eclipse plugin)
1. Install CheckStyle Eclispe plugin
2. Turn it on for the project.
3. Shutdown Eclipse
4. Run maven eclipse on the project
5. Restart Eclipse
6. Notice CheckStyle is now turned off.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
fabrizio giustina added a comment - 10/Nov/05 03:30 PM
this is fixed in the m2 plugin (see MNG-1506). Existing natures/builders are overwritten when generating new files.
Still open in the m1 version

nicolas de loof added a comment - 18/Aug/06 07:45 AM
You simply have to set :
maven.eclipse.projectnatures = com.atlassw.tools.eclipse.checkstyle.CheckstyleNature
maven.eclipse.buildcommands = com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder

(and any other builders/nature for the plugins you like to use in Eclipse)


Jamie Bisotti added a comment - 28/Aug/06 07:17 AM
Since it's fixed in M2 version, can't it be fixed fairly easily in the M1 version too?

Arnaud Heritier added a comment - 21/Apr/07 04:25 PM
There's a workaround and it's not easy to fix in maven 1 because we don't read the original file.