jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChadDavis <chadmichaelda...@gmail.com>
Subject Re: maven compile java version
Date Mon, 23 Nov 2009 21:37:45 GMT
I'm kind of new to Maven.  I didn't expect the parent to be one of the
modules under the "jackrabbit" project.  The under part through me.  I
guess inheritance isn't the same as module structure in maven.


On Mon, Nov 23, 2009 at 2:31 PM, Jukka Zitting <jukka.zitting@gmail.com> wrote:
> Hi,
> On Mon, Nov 23, 2009 at 10:17 PM, ChadDavis <chadmichaeldavis@gmail.com> wrote:
>> In eclipse, with the m2eclipse plugin, my Jackrabbit 1.6 source won't
>> compile.  It failing to recognize "assert" and other java version
>> related things.  From the command line, I can build the project fine.
>> But I wonder where the java version settings are?  Doesn't maven use
>> Java 1.3 by default?  Where is the project defining a higher version
>> of Java?  I can't find it.
> See the maven-compiler-plugin configuration in parent/pom.xml.
> Jackrabbit 1.x uses Java 1.4.
> It may be that m2eclipse is not picking up those settings. In that
> case you can manually configure your Eclipse project to use Java 1.4
> or higher.
> BR,
> Jukka Zitting

View raw message