You must configure the source and target paramters in your pom like this :

...
<build>
  <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-compiler-plugin</artifactId>
      <configuration>
        <source>1.5</source>
        <target>1.5</target>
      </configuration>
    </plugin>
  </plugins>
</build>
...

Emmanuel

Nathaniel Stoddard wrote:
Another newbie question for you guys (big thanks by the way!):

How do I set up Maven so it will compile with a target and source of
1.5.  I know how to do this in Ant, and I can see the properties for
the "compiler:compiler" plugin, but I don't really understand where I
should set them.  I'm using Maven 2.0.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to