From 68065de184493b8bc4b3e653d3031319ebfdc92e Mon Sep 17 00:00:00 2001 From: Tino Ojala Date: Thu, 13 Apr 2023 16:35:55 +0300 Subject: [PATCH] #288. Add Karaf feature --- modules/karaf-module/karaf-feature/README.md | 7 +++ modules/karaf-module/karaf-feature/pom.xml | 65 ++++++++++++++++++++ modules/karaf-module/pom.xml | 23 +++++++ pom.xml | 3 +- 4 files changed, 97 insertions(+), 1 deletion(-) create mode 100644 modules/karaf-module/karaf-feature/README.md create mode 100644 modules/karaf-module/karaf-feature/pom.xml create mode 100644 modules/karaf-module/pom.xml diff --git a/modules/karaf-module/karaf-feature/README.md b/modules/karaf-module/karaf-feature/README.md new file mode 100644 index 00000000..14b5fdee --- /dev/null +++ b/modules/karaf-module/karaf-feature/README.md @@ -0,0 +1,7 @@ +Compiles simplejavamail into an Apache Karaf feature. + +Usage in Karaf simılar to: +``` +karaf@root()> repo-add mvn:org.simplejavamail/simplejavamail-karaf-feature//xml/features +karaf@root()> feature:install simplejavamail-karaf-feature +``` \ No newline at end of file diff --git a/modules/karaf-module/karaf-feature/pom.xml b/modules/karaf-module/karaf-feature/pom.xml new file mode 100644 index 00000000..da92ef38 --- /dev/null +++ b/modules/karaf-module/karaf-feature/pom.xml @@ -0,0 +1,65 @@ + + + + 4.0.0 + + + org.simplejavamail + karaf-module + 8.0.1 + + + simplejavamail-karaf-feature + feature + Simple Java Mail - Karaf feature + Feature descriptor for Apache Karaf + + + + + org.apache.karaf.tooling + karaf-maven-plugin + 4.4.3 + true + + + slf4j-api + + + + + + features-generate-descriptor + + + + + + + + + + org.simplejavamail + core-module + ${project.version} + + + org.slf4j + slf4j-api + + + + + org.simplejavamail + simple-java-mail + ${project.version} + + + org.slf4j + slf4j-api + + + + + diff --git a/modules/karaf-module/pom.xml b/modules/karaf-module/pom.xml new file mode 100644 index 00000000..ada117ec --- /dev/null +++ b/modules/karaf-module/pom.xml @@ -0,0 +1,23 @@ + + + + 4.0.0 + + + org.simplejavamail + maven-master-project + + 8.0.1 + ../../ + + + karaf-module + pom + Simple Java Mail - Karaf module + + + karaf-feature + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 68c300ca..14e3c2f5 100644 --- a/pom.xml +++ b/pom.xml @@ -50,6 +50,7 @@ modules/spring-module modules/cli-module modules/jacoco-aggregator-module + modules/karaf-module @@ -265,4 +266,4 @@ - \ No newline at end of file +