BTW, you're not installing your deb into your maven repo. When you do mvn
*install*, you're instructing maven to execute all phases up to install
phase. Probably jdeb default phase is *package*, if you run mvn
*package *-Pbuilddeb
it will create your deb file. More about lifecycles (check
IMO disabling it for perf reason for snapshot might be acceptable, but in
your place I would really create and deploy the .deb at least for the
release so that you have a central place where all your released binaries
can be found.
Cheers
Le 3 août 2015 2:09 AM, Benson Margulies
I would recommend using maven profiles. Just add to your pom:
profiles
profile
id*builddeb*/id
build
plugins
!-- MOVE your jdeb plugin configuration --
/plugins
/build
/profile
/profiles
The Maven jdeb plugin (for building debian packages) recommends you set it
up like:
executions
execution
phasepackage/phase
goals
goaljdeb/goal
/goals
… but this means that if I do an
mvn install
that packages are built and installed
attachfalse/attach
On Sun, Aug 2, 2015 at 4:40 PM, Kevin Burton bur...@spinn3r.com wrote:
The Maven jdeb plugin (for building debian packages) recommends you set it
up like:
executions
execution
phasepackage/phase
goals
goaljdeb/goal