Yep, no problem.
We need to document the compiler plugin. The settings you need in your POM are:
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
By default, it is source 1.3, target 1.1. (in alpha-1, this was due to
inadvertantly using a 1.3 class, now it is actually configured as such
and using the defined API)
If this doesn't work with the alpha release, try adding this just
under artifactId:
<version>1.0-alpha-2-SNAPSHOT</version>
(a newer version of the compiler plugin, only just deployed, may take
4 hours to appear at ibiblio)
- Brett
On Apr 11, 2005 10:03 PM, Mark Hobson <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> Just trying out the alpha release of M2 & was wondering if there's any
> issues with compiling Java5? It doesn't seem to like the new syntax -
> is there a property I need to set to anywhere?
>
> Aside from that it's looking great at the moment - keep up the good
> work! BTW, is this the correct mailing list for M2? I did read some
> discussion about merging M1 & M2 mailing lists back together, so I
> assumed so.
>
> Cheers,
>
> Mark
>
> ---------------------------------------------------------------------
> 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]