Thanks for sharing the command. That activates the default profile ( hadoop 0.20) and hence, deploys with the default classifier ( hadoop20) .
# mvn clean assembly:assembly verify #mvn clean deploy -Pdeploy -Pjavadoc (deploys hadoop20 classifier artifacts, by default) To do for other hadoop platforms, though, we need to activate their respective profiles # mvn *-Dhadoopversion=100 *clean assembly:assembly verify #mvn *-Dhadoopversion=100* clean deploy -Pdeploy -Pjavadoc (would deploy hadoop100 classifier, artifacts) #mvn *-Dhadoopversion=23 *clean assembly:assembly verify #mvn *-Dhadoopversion=23* clean deploy -Pdeploy -Pjavadoc (would deploy hadoop23 classifier, artifacts) This would get mrunit with 3 different classifers for the different hadoop platforms. Would that help ? On Tue, Feb 14, 2012 at 10:22 AM, Brock Noland <[email protected]> wrote: > Hi, > > Yep! > > mvn clean assembly:assembly verify > mvn clean deploy -Pdeploy -Pjavadoc > > From https://cwiki.apache.org/confluence/display/MRUNIT/How+to+Release > > Brock > > On Tue, Feb 14, 2012 at 12:12 PM, Karthik K <[email protected]> wrote: > > Can you help with the commands used for the purpose ? > > > > > > > > On Tue, Feb 14, 2012 at 7:02 AM, Brock Noland <[email protected]> > wrote: > > > >> Hi, > >> > >> On Sun, Feb 12, 2012 at 1:17 PM, Karthik K <[email protected]> wrote: > >> > I have attached a patch to MRUNIT-57 with the configuration of > >> classifiers. > >> > > >> > May be, you can apply it locally and deploy to your apache home > directory > >> > patch to see if that works ? > >> > >> I tried that for both 0.20 and 1.0, but the maven repo only has the 0.20 > >> jar: > >> > >> > >> > https://repository.apache.org/content/repositories/orgapachemrunit-227/org/apache/mrunit/mrunit/0.8.0-incubating/ > >> > >> Brock > >> > >> -- > >> Apache MRUnit - Unit testing MapReduce - > >> http://incubator.apache.org/mrunit/ > >> > > > > -- > Apache MRUnit - Unit testing MapReduce - > http://incubator.apache.org/mrunit/ >
