Skip to content
flbulgarelli edited this page Jan 30, 2012 · 3 revisions

Compiler Settings

Introduction

Although Staccatissimo targets standard Java 6 Platform, standard javac compiler is known for not properly implementing Generics specification. We recommend you to use, whenever possible, Eclipse compiler instead.

Using Eclipse compiler within your Maven project:

 <plugin>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>2.3.2</version>
    <configuration>
       <source>1.6</source>
       <target>1.6</target>
       <compilerId>eclipse</compilerId>
    </configuration>
    <dependencies>
       <dependency>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-compiler-eclipse</artifactId>
          <version>1.8.4</version>
       </dependency>
    </dependencies>
 </plugin>
Clone this wiki locally