I'm not a maven person, so it's probably some if the wind is 'blowing from
the east' argument you pass to mvn to make it work.

But found that os-x 10.6.5 snow leopard only comes with java 1.6, so having
a target of 1.5 throws an error.



On Sun, Jan 2, 2011 at 8:05 PM, Estrada Groups <
[email protected]> wrote:

> The latest build of Ubuntu doesn't want to build it either. I get the exact
> same error. I thought it was me but now I blame Chris ;-)
>
> Adam
>
> Sent from my iPhone
>
> On Jan 2, 2011, at 10:52 PM, "patrick o'leary" <[email protected]> wrote:
>
> > Is there  a reason why the maven compile target is 1.5?
> > On os-x 10.6.5 it's not a happy camper
> >
> > Caused by: org.apache.maven.plugin.CompilationFailureException:
> Compilation
> > failure
> > Failure executing javac, but could not parse the error:
> > javac: source release 1.6 requires target release 1.6
> >
> > But the following makes it purr again
> >
> > patrick-olearys-MacBook-Air:sis pjaol$ svn diff
> > Index: sis-parent/pom.xml
> > ===================================================================
> > --- sis-parent/pom.xml (revision 1054518)
> > +++ sis-parent/pom.xml (working copy)
> > @@ -182,7 +182,7 @@
> >
> >   <properties>
> >     <maven.compile.source>1.6</maven.compile.source>
> > -    <maven.compile.target>1.5</maven.compile.target>
> > +    <maven.compile.target>1.6</maven.compile.target>
> >     <sis.version>${project.version}</sis.version>
> >   </properties>
>

Reply via email to