On Wed, Jan 27, 2010 at 8:38 AM, Stuart Sierra <[EMAIL PROTECTED]> wrote: > Hello, > > Does anyone have up-to-date instructions for installing hadoop-core in > a local Maven repository? The instructions at > http://wiki.apache.org/hadoop/HowToContribute do not work (the > mvn-install target is not defined). > > Thanks, > -SS >
ant mvn-install works for me on latest trunk. What error are you getting?
Deploy your hadoop and other 3rd party jars along with your own custom deployed jars here, then your maven projects can build using the jars deployed in Nexus.
On Wed, Jan 27, 2010 at 2:58 PM, Stuart Sierra <[EMAIL PROTECTED]>wrote:
> On Wed, Jan 27, 2010 at 2:43 PM, Eli Collins <[EMAIL PROTECTED]> wrote: > > ant mvn-install works for me on latest trunk. What error are you getting? > > Thanks. I want a released version, so I can release my own projects > that depend on it. > > In release 0.20.1 of hadoop-core, there is no mvn-install target. > > Same with 0.20.1 release branch in SVN of hadoop-common. > > -SS >
Unless Im grossly mistaken, Nexus does exactly this. I have my own projects that use hadoop jars. I can easily add custom patched versions of hadoop too. These hadoop jars arent in maven central though, theyre in my own instance of Nexus. When i go into my custom hadoop project and type: mvn clean deploy it deploys my jar and all dependencies into Nexus. If you want to see a working example of a maven project using hadoop jars being built from Nexus, check out Hbase Writer: http://code.google.com/p/hbase-writer On Thu, Jan 28, 2010 at 10:14 AM, Stuart Sierra <[EMAIL PROTECTED] > wrote:
> On Wed, Jan 27, 2010 at 3:08 PM, Ryan Smith <[EMAIL PROTECTED]> > wrote: > > If you just want to use hadoop jars in your maven projects, run your own > > caching archive repository manager like Nexus. > > What I really want is to publish my own projects with the correct > dependencies, using artifacts from public repositories. I want Hadoop > in Maven central. > > -SS >
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by Sematext