Change the pom to refer to your jar as a system dependency and insert the path where your jars are explicitly.
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#System_Dependencies On Sat, Dec 15, 2012 at 12:12 AM, Yunming Zhang <[email protected]>wrote: > Hi, > > I have implemented a version of Hadoop that is optimized for some common > machine learning algorithms, however, I am confused over how to modify the > pom.xml file to replace the default 1.0.4 Hadoop distribution for > compilation with my own customized hadoop distribution? > > I am able to set HADOOP_HOME variable to run Mahout on my own > distribution, but I want to be able to have the CIMapper in the source code > to extend my own customized mapper class, and to do that, I need to make > sure Mahout is compiled using my own hadoop-core.jar instead of the hadoop > 1.0.4 one that came with Mahout. > > Thanks > > Yunming
