parent
a76187fa3a
commit
a850df1e8f
@ -18,6 +18,37 @@
|
|||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<version>3.1.0</version>
|
||||||
|
<inherited>false</inherited>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>create-addonsinfo</id>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<configuration>
|
||||||
|
<target>
|
||||||
|
<concat destfile="${project.build.directory}/addons.xml">
|
||||||
|
<header file="src/main/resources/addon-header.xml" filtering="no"/>
|
||||||
|
<fileset dir="${basedirRoot}/bundles">
|
||||||
|
<include name="*/src/main/resources/OH-INF/addon/addon.xml"/>
|
||||||
|
</fileset>
|
||||||
|
<filterchain>
|
||||||
|
<linecontainsRegExp negate="true">
|
||||||
|
<regexp pattern="<\?xml"/>
|
||||||
|
</linecontainsRegExp>
|
||||||
|
</filterchain>
|
||||||
|
<footer file="src/main/resources/addon-footer.xml" filtering="no"/>
|
||||||
|
</concat>
|
||||||
|
</target>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
@ -30,6 +61,11 @@
|
|||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<artifacts>
|
<artifacts>
|
||||||
|
<artifact>
|
||||||
|
<file>${project.build.directory}/addons.xml</file>
|
||||||
|
<type>xml</type>
|
||||||
|
<classifier>addons</classifier>
|
||||||
|
</artifact>
|
||||||
<artifact>
|
<artifact>
|
||||||
<file>src/main/resources/conf/dynamodb.cfg</file>
|
<file>src/main/resources/conf/dynamodb.cfg</file>
|
||||||
<type>cfg</type>
|
<type>cfg</type>
|
||||||
|
|||||||
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
</addons>
|
||||||
|
</addon-info-list>
|
||||||
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
|
||||||
|
Copyright (c) 2010-2023 Contributors to the openHAB project
|
||||||
|
|
||||||
|
See the NOTICE file(s) distributed with this work for additional
|
||||||
|
information.
|
||||||
|
|
||||||
|
This program and the accompanying materials are made available under the
|
||||||
|
terms of the Eclipse Public License 2.0 which is available at
|
||||||
|
http://www.eclipse.org/legal/epl-2.0
|
||||||
|
|
||||||
|
SPDX-License-Identifier: EPL-2.0
|
||||||
|
|
||||||
|
-->
|
||||||
|
<addon-info-list>
|
||||||
|
<addons>
|
||||||
Loading…
x
Reference in New Issue
Block a user