Hi, This could be a Maven question.... but I think I've done this successfully with other Maven-based projects, so it could be a Mahout-specific thing. I'm trying to build Mahout to run on 1.5 JVM. So I tried:
$ mvn -Dmaven.compiler.target=1.5 clean install But that built the same jar as without that parameter. So I then modified 2 pom.xml file, but that didn't seem to build a jar that can run on 1.5.... how should one go about doing this? o...@lesina:~/workspace/asf-mahout$ svn diff pom.xml core/pom.xml Index: pom.xml =================================================================== --- pom.xml (revision 751789) +++ pom.xml (working copy) @@ -24,9 +24,22 @@ <module>examples</module> </modules> +<properties> + <maven.compiler.source>1.5</maven.compiler.source> + <maven.compiler.target>1.5</maven.compiler.target> +</properties> + <build> <plugins> <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.5</source> + <target>1.5</target> + </configuration> + </plugin> + + <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> Index: core/pom.xml =================================================================== --- core/pom.xml (revision 751789) +++ core/pom.xml (working copy) @@ -29,6 +29,13 @@ </configuration> </plugin> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.5</source> + <target>1.5</target> + </configuration> + </plugin> <!-- create test jar so other modules can reuse the core test utility classes. --> <plugin> Thanks, Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch