This is an automated email from the ASF dual-hosted git repository.
shuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/master by this push:
new 6aa89db UNOMI-508 : deploy automatically groovy actions extension
(#343)
6aa89db is described below
commit 6aa89dbd3e629c9aae28726711a30058ff03c4d0
Author: jsinovassin <[email protected]>
AuthorDate: Mon Sep 27 18:38:08 2021 +0200
UNOMI-508 : deploy automatically groovy actions extension (#343)
---
extensions/groovy-actions/services/pom.xml | 24 ++++++++++++++++++++++++
kar/pom.xml | 10 ++++++++++
kar/src/main/feature/feature.xml | 3 +++
3 files changed, 37 insertions(+)
diff --git a/extensions/groovy-actions/services/pom.xml
b/extensions/groovy-actions/services/pom.xml
index ed6bbaa..770d4da 100644
--- a/extensions/groovy-actions/services/pom.xml
+++ b/extensions/groovy-actions/services/pom.xml
@@ -105,6 +105,30 @@
</instructions>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-artifacts</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>
+
src/main/resources/org.apache.unomi.groovy.actions.cfg
+ </file>
+ <type>cfg</type>
+ <classifier>groovyactionscfg</classifier>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/kar/pom.xml b/kar/pom.xml
index 1775f06..f25e555 100644
--- a/kar/pom.xml
+++ b/kar/pom.xml
@@ -116,6 +116,16 @@
</dependency>
<dependency>
<groupId>org.apache.unomi</groupId>
+ <artifactId>unomi-groovy-actions-services</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.unomi</groupId>
+ <artifactId>unomi-groovy-actions-rest</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.unomi</groupId>
<artifactId>cxs-privacy-extension-services</artifactId>
<version>${project.version}</version>
</dependency>
diff --git a/kar/src/main/feature/feature.xml b/kar/src/main/feature/feature.xml
index af6d6ea..ce4ea37 100644
--- a/kar/src/main/feature/feature.xml
+++ b/kar/src/main/feature/feature.xml
@@ -44,6 +44,7 @@
<configfile
finalname="/etc/org.apache.unomi.cluster.cfg">mvn:org.apache.unomi/unomi-services/${project.version}/cfg/clustercfg</configfile>
<configfile
finalname="/etc/hazelcast.xml">mvn:org.apache.unomi/unomi-services/${project.version}/xml/hazelcastconfig</configfile>
<configfile
finalname="/etc/org.apache.unomi.geonames.cfg">mvn:org.apache.unomi/cxs-geonames-services/${project.version}/cfg/geonamescfg</configfile>
+ <configfile
finalname="/etc/org.apache.unomi.groovy.actions.cfg">mvn:org.apache.unomi/unomi-groovy-actions-services/${project.version}/cfg/groovyactionscfg</configfile>
<bundle start-level="75">mvn:commons-io/commons-io/2.4</bundle>
<bundle
start-level="75">mvn:com.fasterxml.jackson.core/jackson-core/${version.jackson.core}</bundle>
<bundle start-level="75">mvn:com.github.fge/btf/1.2</bundle>
@@ -77,6 +78,8 @@
<bundle start-level="77"
start="false">mvn:org.apache.unomi/cxs-geonames-rest/${project.version}</bundle>
<bundle start-level="77"
start="false">mvn:org.apache.unomi/cxs-privacy-extension-services/${project.version}</bundle>
<bundle start-level="77"
start="false">mvn:org.apache.unomi/cxs-privacy-extension-rest/${project.version}</bundle>
+ <bundle start-level="77"
start="false">mvn:org.apache.unomi/unomi-groovy-actions-services/${project.version}</bundle>
+ <bundle start-level="77"
start="false">mvn:org.apache.unomi/unomi-groovy-actions-rest/${project.version}</bundle>
<bundle start-level="78"
start="false">mvn:org.apache.unomi/unomi-rest/${project.version}</bundle>
<bundle start-level="85"
start="false">mvn:org.apache.unomi/unomi-wab/${project.version}</bundle>
<bundle start-level="85"
start="false">mvn:org.apache.unomi/unomi-plugins-base/${project.version}</bundle>