John, thanks for the answer. Yes, I did read these. But the problem is I'm not explicitly calling the compiler plugin from my poms because I'm using all the defaults. Unless... are you suggesting to add an otherwise empty <plugin> entry with only these two parameters in my master pom?.
I will try it now.... trying... it works!!

Thank you very much!
Alex.


John Casey wrote:
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]




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

Reply via email to