From 0f9da64c7e488513b031d6081469fe5e57daf3d6 Mon Sep 17 00:00:00 2001 From: Michael Hirsch Date: Fri, 7 Oct 2016 08:26:46 +0200 Subject: [PATCH] introduce nonExampleApp profile for building examples without boot apps Signed-off-by: Michael Hirsch --- README.md | 5 ----- examples/pom.xml | 41 ++++++++++++++++++++++++++--------------- 2 files changed, 26 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 0157e089e..778391f32 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,6 @@ $ git clone https://github.com/eclipse/hawkbit.git $ cd hawkbit $ mvn clean install ``` -Build hawkBit examples. The examples are not included in the maven-reactor build. -``` -$ cd hawkbit/examples -$ mvn clean install -``` #### Start hawkBit example app [Example Application](examples/hawkbit-example-app) ``` diff --git a/examples/pom.xml b/examples/pom.xml index 66bce5fc1..5f8718e0a 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -8,8 +8,7 @@ http://www.eclipse.org/legal/epl-v10.html --> - + 4.0.0 @@ -21,20 +20,32 @@ hawkbit-examples-parent hawkBit-example :: Parent pom - - - - true - - - hawkbit-device-simulator - hawkbit-example-app - hawkbit-example-core-feign-client - hawkbit-example-ddi-feign-client - hawkbit-example-mgmt-feign-client - hawkbit-example-mgmt-simulator - + + + noExampleApp + + hawkbit-example-core-feign-client + hawkbit-example-ddi-feign-client + hawkbit-example-mgmt-feign-client + hawkbit-example-mgmt-simulator + + + + default + + true + + + hawkbit-device-simulator + hawkbit-example-app + hawkbit-example-core-feign-client + hawkbit-example-ddi-feign-client + hawkbit-example-mgmt-feign-client + hawkbit-example-mgmt-simulator + + +