Fix build and introduce the samples profile
diff --git a/OSGI-INF/karaf-tracker/sample.osgi.service.provider.Activator b/OSGI-INF/karaf-tracker/sample.osgi.service.provider.Activator
deleted file mode 100644
index 12b26d7..0000000
--- a/OSGI-INF/karaf-tracker/sample.osgi.service.provider.Activator
+++ /dev/null
@@ -1 +0,0 @@
-#Thu Sep 24 22:02:56 CEST 2015
diff --git a/README.md b/README.md
index 40eb582..8bbafbb 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
Apache Karaf Boot
------------------
+=================
Karaf Boot provides an easy way to create artifacts ready to be deployed in Karaf, and also possibility to embed, configure, and bootstrap Karaf in a ready to run artifact.
@@ -10,3 +10,14 @@
* set of dependencies providing annotations that you can use directly in your code: you focus on your business code, Karaf Boot does the rest
* a Maven plugin processing the annotations to create key turn artifacts
* an utility start to easily embed, configure, and bootstrap Karaf
+
+Building
+--------
+
+To build Karaf Boot, just do:
+
+ mvn clean install
+
+Once done, you can build the samples using:
+
+ mvn clean install -Psamples
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 8a42a00..922cc9a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,29 +42,36 @@
<!-- Archetypes -->
<!-- TODO archetypes -->
-
- <!-- Samples -->
- <!-- services -->
- <module>karaf-boot-samples/karaf-boot-sample-service-provider-osgi</module>
- <module>karaf-boot-samples/karaf-boot-sample-service-consumer-osgi</module>
- <module>karaf-boot-samples/karaf-boot-sample-service-provider-ds</module>
- <module>karaf-boot-samples/karaf-boot-sample-service-consumer-ds</module>
- <!-- blueprint -->
- <!-- cdi -->
- <!-- shell -->
- <module>karaf-boot-samples/karaf-boot-sample-shell</module>
- <!-- config -->
- <module>karaf-boot-samples/karaf-boot-sample-config</module>
- <!-- jpa -->
- <!-- servlet -->
- <module>karaf-boot-samples/karaf-boot-sample-servlet</module>
- <!-- webui / angular -->
- <!-- test -->
- <!-- rest & soap -->
- <!-- camel -->
<!-- Demos -->
<!-- TODO complete library demos -->
</modules>
+ <profiles>
+ <profile>
+ <id>samples</id>
+ <modules>
+ <!-- Samples -->
+ <!-- services -->
+ <module>karaf-boot-samples/karaf-boot-sample-service-provider-osgi</module>
+ <module>karaf-boot-samples/karaf-boot-sample-service-consumer-osgi</module>
+ <module>karaf-boot-samples/karaf-boot-sample-service-provider-ds</module>
+ <module>karaf-boot-samples/karaf-boot-sample-service-consumer-ds</module>
+ <!-- blueprint -->
+ <!-- cdi -->
+ <!-- shell -->
+ <module>karaf-boot-samples/karaf-boot-sample-shell</module>
+ <!-- config -->
+ <module>karaf-boot-samples/karaf-boot-sample-config</module>
+ <!-- jpa -->
+ <!-- servlet -->
+ <module>karaf-boot-samples/karaf-boot-sample-servlet</module>
+ <!-- webui / angular -->
+ <!-- test -->
+ <!-- rest & soap -->
+ <!-- camel -->
+ </modules>
+ </profile>
+ </profiles>
+
</project>