You should read these:

* http://maven.apache.org/guides/mini/guide-configuring-plugins.html
* http://maven.apache.org/plugins/maven-compiler-plugin/howto.html

That last one contains something like this:

<build>
  <plugins>
    <plugin>
      <artifactId>maven-compiler-plugin</artifactId>
      <configuration>
        <source>1.5</source>
        <target>1.5</target>
      </configuration>
    </plugin>
  </plugins>
</build>

-john

Alejandro Sarco wrote:
Hello,

How can I tell the compiler plugin to compile for 1.5, if I'm using all the defaults and my poms don't name the maven-compiler-plugin at all?
Is there a central configuration for plugins?
Adding <compilerVersion>1.5</compilerVersion> as a property in the profiles doesn't helps.

Thanks,
Alex.

---------------------------------------------------------------------
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