On Thu, Feb 17, 2011 at 11:34 AM, Eric Yang ey...@yahoo-inc.com wrote:
Hi,
I am trying to understand the release package process for HBase. In the
current maven pom.xml, I don't see tarball generation as part of the
packaging phase.
The assembly plugin does it for us. Run:
$ mvn
Hi Stack,
Thanks for the pointer. This is very useful. What do you think about
making jar file creation to prepare-package phase, and having
assembly:single be part of package phase? This would make room for running
both rpm plugin and jdeb plugin in the packaging phase. Enclosed patch can
Sorry the attachment didn¹t make it through the mailing list. The patch
looks like this:
Index: pom.xml
===
--- pom.xml (revision 1071461)
+++ pom.xml (working copy)
@@ -321,6 +321,15 @@
Thanks Ted. I will include this build phase patch with the rpm/deb packaging
patch. :)
Regards,
Eric
On 2/17/11 12:58 PM, Ted Dunning tdunn...@maprtech.com wrote:
Attaching the packaging to the normal life cycle step is a great idea.
Having the packaging to RPM and deb packaging all in one
Can there be a way to turn it off for those of us who build and use
the .tar.gz but dont want the time sink in generating deb/rpms?
On Thu, Feb 17, 2011 at 1:25 PM, Eric Yang ey...@yahoo-inc.com wrote:
Thanks Ted. I will include this build phase patch with the rpm/deb packaging
patch. :)
Hi Ryan,
This would fall in the second proposal, use profile as toggle to switch between
packaging mechanism. I.e.
mvn -DskipTests package
builds tarball.
mvn -DskipTests package -p rpm,deb
builds tarball, rpm and deb.
Does this work for you?
Regards,
Eric
On 2/17/11 1:27 PM, Ryan Rawson
Sounds good, thanks!
-ryan
On Thu, Feb 17, 2011 at 1:40 PM, Eric Yang ey...@yahoo-inc.com wrote:
Hi Ryan,
This would fall in the second proposal, use profile as toggle to switch
between packaging mechanism. I.e.
mvn –DskipTests package
builds tarball.
mvn –DskipTests package –p rpm,deb
This proposal of using profiles as toggle would be an easier sell.
St.Ack
On Thu, Feb 17, 2011 at 1:40 PM, Eric Yang ey...@yahoo-inc.com wrote:
Hi Ryan,
This would fall in the second proposal, use profile as toggle to switch
between packaging mechanism. I.e.
mvn -DskipTests package