Using GetSet with maven

A maven plugin exists to transform .class at the process-classes phase (after compile phase).

<project>
...
  <build>
    <plugins>

      <plugin>
        <groupId>net.sf.alchim</groupId>
        <artifactId>maven-getset-plugin</artifactId>
      </plugin>
...

See the goals of the plugin.

If you want to use the SNAPSHOT version, you must add the our snapshot repository:

<project>
...
  <pluginRepositories>

    <pluginRepository>
        <id>alchim.snapshots</id>
        <url>http://alchim.sf.net/download</url>
        <snapshots/>
        <releases/>
    </pluginRepository>
 ...