Merge pull request #314 from bsinno/example_module_profile

Example module profile
This commit is contained in:
Michael Hirsch
2016-10-07 08:29:57 +02:00
committed by GitHub
3 changed files with 27 additions and 20 deletions

View File

@@ -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)
```

View File

@@ -8,8 +8,7 @@
http://www.eclipse.org/legal/epl-v10.html
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
@@ -21,20 +20,32 @@
<artifactId>hawkbit-examples-parent</artifactId>
<name>hawkBit-example :: Parent</name>
<packaging>pom</packaging>
<properties>
<!-- Do not deploy examples, we do not want to release them. -->
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<modules>
<module>hawkbit-device-simulator</module>
<module>hawkbit-example-app</module>
<module>hawkbit-example-core-feign-client</module>
<module>hawkbit-example-ddi-feign-client</module>
<module>hawkbit-example-mgmt-feign-client</module>
<module>hawkbit-example-mgmt-simulator</module>
</modules>
<profiles>
<profile>
<id>noExampleApp</id>
<modules>
<module>hawkbit-example-core-feign-client</module>
<module>hawkbit-example-ddi-feign-client</module>
<module>hawkbit-example-mgmt-feign-client</module>
<module>hawkbit-example-mgmt-simulator</module>
</modules>
</profile>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>hawkbit-device-simulator</module>
<module>hawkbit-example-app</module>
<module>hawkbit-example-core-feign-client</module>
<module>hawkbit-example-ddi-feign-client</module>
<module>hawkbit-example-mgmt-feign-client</module>
<module>hawkbit-example-mgmt-simulator</module>
</modules>
</profile>
</profiles>
<dependencyManagement>
<dependencies>

View File

@@ -42,6 +42,7 @@
<module>hawkbit-autoconfigure</module>
<module>hawkbit-cache-redis</module>
<module>hawkbit-test-report</module>
<module>examples</module>
</modules>
<scm>