Fix build and introduce the samples profile
Project: http://git-wip-us.apache.org/repos/asf/karaf-boot/repo Commit: http://git-wip-us.apache.org/repos/asf/karaf-boot/commit/c06650ca Tree: http://git-wip-us.apache.org/repos/asf/karaf-boot/tree/c06650ca Diff: http://git-wip-us.apache.org/repos/asf/karaf-boot/diff/c06650ca Branch: refs/heads/master Commit: c06650ca82ecbe3cc47a41b010f978fd9cd04fe9 Parents: eb034f8 Author: Jean-Baptiste Onofré <[email protected]> Authored: Tue Oct 20 15:22:49 2015 +0200 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Tue Oct 20 15:22:49 2015 +0200 ---------------------------------------------------------------------- .../sample.osgi.service.provider.Activator | 1 - README.md | 13 +++++- pom.xml | 47 +++++++++++--------- 3 files changed, 39 insertions(+), 22 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/karaf-boot/blob/c06650ca/OSGI-INF/karaf-tracker/sample.osgi.service.provider.Activator ---------------------------------------------------------------------- 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 http://git-wip-us.apache.org/repos/asf/karaf-boot/blob/c06650ca/README.md ---------------------------------------------------------------------- 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 @@ Karaf Boot provides: * 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 http://git-wip-us.apache.org/repos/asf/karaf-boot/blob/c06650ca/pom.xml ---------------------------------------------------------------------- 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>
