summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2016-08-25 20:01:47 -0400
committerFeng Pan <fpan@redhat.com>2016-08-25 20:01:47 -0400
commit5c5f04ab3ff5009b6e9736aad75dcc6d9b1d98db (patch)
tree2c3a36d39f1af2628fc4522cbcd82e8f40c2ae76
parent3403334a7c1758bd81dafb3fad77470d91691580 (diff)
Add JVpp to local maven repository during honeycomb/vpp build
Change-Id: I1002eb3d2a6e58621582dd61348ffa2745c77655 Signed-off-by: Feng Pan <fpan@redhat.com>
-rw-r--r--build/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/Makefile b/build/Makefile
index 69c66f9f..c30bc271 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -172,6 +172,8 @@ vpp-bin.tar.gz: vpp honeycomb $(MAVEN)
$(MAKE) -C $(VPP_DIR) UNATTENDED=yes install-dep bootstrap build pkg-rpm
$(MAKE) -C $(VPP_DIR)/build-root PLATFORM=vpp TAG=vpp_debug vpp-api-install
pushd vpp/vpp-api/python && python setup.py bdist
+ pushd vpp/build-root/build-vpp-native/vpp-api/java/ && ../../../../../$(MAVEN)/bin/mvn install:install-file -Dfile=jvpp-registry-16.12.jar -DgroupId=io.fd.vpp -DartifactId=jvpp-registry -Dversion=16.12-SNAPSHOT -Dpackaging=jar
+ pushd vpp/build-root/build-vpp-native/vpp-api/java/ && ../../../../../$(MAVEN)/bin/mvn install:install-file -Dfile=jvpp-core-16.12.jar -DgroupId=io.fd.vpp -DartifactId=jvpp-core -Dversion=16.12-SNAPSHOT -Dpackaging=jar
pushd honeycomb && ../$(MAVEN)/bin/mvn clean install -DskipTests
pushd honeycomb/packaging/rpm/ && BUILD_NUMBER=99 ./rpmbuild.sh
mkdir vpp-bin