On Thu, Mar 18, 2010 at 2:16 AM, Sipungora <[email protected]> wrote:

>
> Hi,
>
> how can I change .settings files with Maven2? maven-eclipse-plugin allows
> to
> set the workspace, but I want to set auto code format settings. Is it
> possible with maven? :confused::confused::confused:
>


Code formatting tends to be a workspace level thing rather than a per
project setting.

So you are probably better off doing this manually, since its a once off
task.

As others have pointed out, if it is a per-project file (e.g. like a
checkstyle configuration file) then you can use the
                                       <configuration>
                                               <additionalConfig>
                                                       <file>
section to specify the files contents.

Reply via email to