I've stuck that in the pom.xml for http.jetty (i.e. felix/http.jetty/pom.xml) in the place you suggest, and rebuilt using
mvn clean:clean mvn -Dpackaging=plugins install mvn -Dpackaging=bundle install and I still see the same thing. Have I missed something in forcing a rebuild of the jetty jar? Thanks Bruce On 22/01/2010 16:48, "Chris Custine" <chris.cust...@gmail.com> wrote: > Just add this to the plugins section of the pom.xml: > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > </plugin> > > Looks like almost all modules already do this individually, so this should > probably be moved to the parent at some point. > > Chris > -- > Chris Custine > FUSESource :: http://fusesource.com > My Blog :: http://blog.organicelement.com > Apache ServiceMix :: http://servicemix.apache.org > Apache Felix :: http://felix.apache.org > Apache Directory Server :: http://directory.apache.org > > > On Fri, Jan 22, 2010 at 9:41 AM, Jackson, Bruce <bru...@qualcomm.com> wrote: > >> Hi All >> >> I've just checked out and built the latest version of Felix from svn as per >> the instructions at: >> >> http://felix.apache.org/site/building-felix.html >> >> When I look at the final compiled >> org.apache.felix.http.jetty-2.0.5-SNAPSHOT.jar with javap, I see that this >> has been compiled with the 1.4 compiler i.e. javap -verbose gives me: >> >> minor version: 0 >> major version: 48 >> >> I've tried to locate where this is set in the POM files, but does anyone >> happen to know how I can change this to compile under 1.5/1.6? >> >> Thanks >> >> Bruce >> >>