Maven 2.x Eclipse Plugin

Add code formatting support using the Eclipse Code Formatter

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Eclipse 3.2
  • Number of attachments :
    0

Description

Since Eclipse 3.2, it is possible to format a batch of code using the Eclipse Code Formatter, it would be interesting to add a eclipse:format goal to the Maven 2 Eclipse Plugin which would leverage that facility. The command line usage of the Eclipse Code Formatter is described here:
http://www.peterfriese.de/index.php/2007/05/28/formatting-your-code-using-the-eclipse-code-formatter/

A possible configuration would be:

<configuration>
<config>path/eclipse/code/formatter/config/file</config>
<includes>
<include></include>
</includes>
</configuration>

Thanx to that plugin, the code of a project could be automatically formatted upon packaging.

Regards,

Cédric

Activity

Hide
Misha Koshelev added a comment - - edited

This functionality is already available in a separate plug-in hosted on Google code fyi:
http://code.google.com/p/maven-java-formatter-plugin/

Thank you
Misha

Show
Misha Koshelev added a comment - - edited This functionality is already available in a separate plug-in hosted on Google code fyi: http://code.google.com/p/maven-java-formatter-plugin/ Thank you Misha

People

Vote (1)
Watch (4)

Dates

  • Created:
    Updated: