<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
For those of us of dream of clean install a single project like
maven please note that<br>
mvn has a flag which enables you to build a specific artifact even
if your not at that directory<br>
<br>
mvn -pl groupID:artifactId<br>
<br>
so say you modified a single class in vdsbroker do this:<br>
<br>
<i>make clean install-dev PREFIX=$HOME/ovirt-engine
DEV_EXTRA_BUILD_FLAGS="-pl org.ovirt.engine.core:vdsbroker"
EXTRA_BUILD_FLAGS="-pl org.ovirt.engine.core:vdsbroker"</i><br>
<br>
note: the usage of DEV_EXTRA_BUILD_FLAGS and EXTRA_BUILD_FLAGS is
not a mistake. the "clean" target uses EXTRA_BUILD_FLAGS - please
review <br>
<a class="moz-txt-link-freetext" href="http://gerrit.ovirt.org/16395">http://gerrit.ovirt.org/16395</a> to rectify that.<br>
<br>
now make the ear:<br>
<br>
<i>make clean install-dev PREFIX=$HOME/ovirt-engine
DEV_EXTRA_BUILD_FLAGS="-pl org.ovirt.engine:engine-server-ear"
EXTRA_BUILD_FLAGS="-pl org.ovirt.engine:engine-server-ear"</i><br>
<br>
<br>
now your updated artifact is in place.<br>
<br>
Thanks,<br>
Roy<br>
</body>
</html>