Apply POM Code Convention (#392)

Applies the POM Code Covention as used in OH2/ESH projects.

See also: https://maven.apache.org/developers/conventions/code.html

The executed command is:

mvn \
  com.github.ekryd.sortpom:sortpom-maven-plugin:sort \
  -Dsort.keepBlankLines=true \
  -Dsort.predefinedSortOrder=recommended_2008_06

Signed-off-by: Wouter Born <eclipse@maindrain.net>
This commit is contained in:
Wouter Born 2018-09-10 13:45:11 +02:00 committed by Kai Kreuzer
parent dbed3db57d
commit 8091914a4b
21 changed files with 1451 additions and 1433 deletions

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -9,9 +10,9 @@
</parent> </parent>
<artifactId>org.openhab.core.compat1x.test</artifactId> <artifactId>org.openhab.core.compat1x.test</artifactId>
<packaging>eclipse-test-plugin</packaging>
<name>openHAB Core 1.x Compatibility Layer Tests</name> <name>openHAB Core 1.x Compatibility Layer Tests</name>
<packaging>eclipse-test-plugin</packaging>
<build> <build>
<plugins> <plugins>
@ -19,7 +20,7 @@
<groupId>${tycho-groupid}</groupId> <groupId>${tycho-groupid}</groupId>
<artifactId>target-platform-configuration</artifactId> <artifactId>target-platform-configuration</artifactId>
<configuration> <configuration>
<environments combine.self="override"/> <environments combine.self="override"></environments>
<dependency-resolution> <dependency-resolution>
<extraRequirements> <extraRequirements>
<requirement> <requirement>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -9,8 +10,8 @@
</parent> </parent>
<artifactId>org.openhab.core.compat1x</artifactId> <artifactId>org.openhab.core.compat1x</artifactId>
<name>openHAB Core 1.x Compatibility Layer</name>
<packaging>eclipse-plugin</packaging> <packaging>eclipse-plugin</packaging>
<name>openHAB Core 1.x Compatibility Layer</name>
</project> </project>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -9,9 +10,9 @@
</parent> </parent>
<artifactId>org.openhab.core.karaf</artifactId> <artifactId>org.openhab.core.karaf</artifactId>
<packaging>eclipse-plugin</packaging>
<name>openHAB Karaf Integration</name> <name>openHAB Karaf Integration</name>
<packaging>eclipse-plugin</packaging>
<dependencies> <dependencies>
<dependency> <dependency>
@ -52,7 +53,7 @@
</goals> </goals>
</pluginExecutionFilter> </pluginExecutionFilter>
<action> <action>
<ignore/> <ignore></ignore>
</action> </action>
</pluginExecution> </pluginExecution>
<pluginExecution> <pluginExecution>
@ -65,7 +66,7 @@
</goals> </goals>
</pluginExecutionFilter> </pluginExecutionFilter>
<action> <action>
<ignore/> <ignore></ignore>
</action> </action>
</pluginExecution> </pluginExecution>
<pluginExecution> <pluginExecution>
@ -80,7 +81,7 @@
</goals> </goals>
</pluginExecutionFilter> </pluginExecutionFilter>
<action> <action>
<ignore/> <ignore></ignore>
</action> </action>
</pluginExecution> </pluginExecution>
</pluginExecutions> </pluginExecutions>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -9,8 +10,8 @@
</parent> </parent>
<artifactId>org.openhab.core</artifactId> <artifactId>org.openhab.core</artifactId>
<name>openHAB Core</name>
<packaging>eclipse-plugin</packaging> <packaging>eclipse-plugin</packaging>
<name>openHAB Core</name>
</project> </project>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
@ -8,9 +9,9 @@
</parent> </parent>
<artifactId>org.openhab.io.jetty.certificate</artifactId> <artifactId>org.openhab.io.jetty.certificate</artifactId>
<name>openHAB SSL Certificate Generator</name>
<packaging>eclipse-plugin</packaging> <packaging>eclipse-plugin</packaging>
<name>openHAB SSL Certificate Generator</name>
<dependencies> <dependencies>
<dependency> <dependency>
@ -52,10 +53,10 @@
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<phase>package</phase>
<goals> <goals>
<goal>shade</goal> <goal>shade</goal>
</goals> </goals>
<phase>package</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<packaging>eclipse-plugin</packaging>
<parent> <parent>
<groupId>org.openhab.core</groupId> <groupId>org.openhab.core</groupId>
<artifactId>pom-bundles</artifactId> <artifactId>pom-bundles</artifactId>
@ -9,6 +8,8 @@
</parent> </parent>
<artifactId>org.openhab.io.rest.docs</artifactId> <artifactId>org.openhab.io.rest.docs</artifactId>
<packaging>eclipse-plugin</packaging>
<name>openHAB REST API Documentation</name> <name>openHAB REST API Documentation</name>
</project> </project>

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<packaging>eclipse-plugin</packaging>
<parent> <parent>
<groupId>org.openhab.core</groupId> <groupId>org.openhab.core</groupId>
<artifactId>pom-bundles</artifactId> <artifactId>pom-bundles</artifactId>
@ -9,6 +8,8 @@
</parent> </parent>
<artifactId>org.openhab.io.sound</artifactId> <artifactId>org.openhab.io.sound</artifactId>
<packaging>eclipse-plugin</packaging>
<name>openHAB Sound Support</name> <name>openHAB Sound Support</name>
</project> </project>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -9,8 +10,8 @@
</parent> </parent>
<artifactId>org.openhab.ui.basicui</artifactId> <artifactId>org.openhab.ui.basicui</artifactId>
<name>openHAB Basic UI Dashboard Integration</name>
<packaging>eclipse-plugin</packaging> <packaging>eclipse-plugin</packaging>
<name>openHAB Basic UI Dashboard Integration</name>
</project> </project>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -9,8 +10,8 @@
</parent> </parent>
<artifactId>org.openhab.ui.classicui</artifactId> <artifactId>org.openhab.ui.classicui</artifactId>
<name>openHAB Classic UI Dashboard Integration</name>
<packaging>eclipse-plugin</packaging> <packaging>eclipse-plugin</packaging>
<name>openHAB Classic UI Dashboard Integration</name>
</project> </project>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.openhab.core</groupId> <groupId>org.openhab.core</groupId>
@ -7,7 +8,7 @@
</parent> </parent>
<artifactId>org.openhab.ui.dashboard</artifactId> <artifactId>org.openhab.ui.dashboard</artifactId>
<name>openHAB Dashboard UI</name>
<packaging>eclipse-plugin</packaging> <packaging>eclipse-plugin</packaging>
<name>openHAB Dashboard UI</name>
</project> </project>

View File

@ -1,4 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.openhab.core</groupId> <groupId>org.openhab.core</groupId>
@ -6,11 +9,9 @@
<version>2.4.0-SNAPSHOT</version> <version>2.4.0-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.openhab.ui.homebuilder</artifactId> <artifactId>org.openhab.ui.homebuilder</artifactId>
<name>openHAB HomeBuilder UI Dashboard Integration</name>
<packaging>eclipse-plugin</packaging> <packaging>eclipse-plugin</packaging>
<name>openHAB HomeBuilder UI Dashboard Integration</name>
</project> </project>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -9,8 +10,8 @@
</parent> </parent>
<artifactId>org.openhab.ui.paperui</artifactId> <artifactId>org.openhab.ui.paperui</artifactId>
<name>openHAB Paper UI Theme Fragment</name>
<packaging>eclipse-plugin</packaging> <packaging>eclipse-plugin</packaging>
<name>openHAB Paper UI Theme Fragment</name>
</project> </project>

View File

@ -1,4 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.openhab.core</groupId> <groupId>org.openhab.core</groupId>
@ -6,15 +9,13 @@
<version>2.4.0-SNAPSHOT</version> <version>2.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.openhab.core</groupId> <groupId>org.openhab.core</groupId>
<artifactId>pom-bundles</artifactId> <artifactId>pom-bundles</artifactId>
<name>openHAB Bundles</name>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>openHAB Bundles</name>
<modules> <modules>
<module>org.openhab.core</module> <module>org.openhab.core</module>
<module>org.openhab.core.compat1x</module> <module>org.openhab.core.compat1x</module>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@ -1,4 +1,7 @@
<?xml version="1.0" encoding="MACROMAN" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.openhab</groupId> <groupId>org.openhab</groupId>
@ -6,14 +9,12 @@
<version>2.4.0-SNAPSHOT</version> <version>2.4.0-SNAPSHOT</version>
<relativePath>../../poms/tycho/pom.xml</relativePath> <relativePath>../../poms/tycho/pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.openhab.feature.p2</artifactId> <artifactId>org.openhab.feature.p2</artifactId>
<name>openHAB p2 Feature</name>
<packaging>eclipse-feature</packaging> <packaging>eclipse-feature</packaging>
<name>openHAB p2 Feature</name>
<dependencies> <dependencies>
<!-- Eclipse Smarthome dependencies specifically for the core --> <!-- Eclipse Smarthome dependencies specifically for the core -->
<dependency> <dependency>

View File

@ -1,4 +1,7 @@
<?xml version="1.0" encoding="MACROMAN" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.openhab.core</groupId> <groupId>org.openhab.core</groupId>
@ -6,15 +9,13 @@
<version>2.4.0-SNAPSHOT</version> <version>2.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.openhab.core</groupId> <groupId>org.openhab.core</groupId>
<artifactId>pom-features</artifactId> <artifactId>pom-features</artifactId>
<name>openHAB Features</name>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>openHAB Features</name>
<modules> <modules>
<module>openhab-core</module> <module>openhab-core</module>
<module>verify-karaf</module> <module>verify-karaf</module>

View File

@ -1,4 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.openhab</groupId> <groupId>org.openhab</groupId>
@ -6,45 +9,12 @@
<version>2.4.0-SNAPSHOT</version> <version>2.4.0-SNAPSHOT</version>
<relativePath>../../poms/tycho/pom.xml</relativePath> <relativePath>../../poms/tycho/pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.openhab.core.features</groupId> <groupId>org.openhab.core.features</groupId>
<artifactId>org.openhab.repo</artifactId> <artifactId>org.openhab.repo</artifactId>
<name>openHAB Core P2 Repository</name>
<packaging>eclipse-repository</packaging> <packaging>eclipse-repository</packaging>
<build> <name>openHAB Core P2 Repository</name>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<id>default-resources</id>
<phase>process-resources</phase>
<goals>
<goal>resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/filtered-resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
</build>
<dependencies> <dependencies>
<!-- Eclipse Smarthome dependencies specifically for the core --> <!-- Eclipse Smarthome dependencies specifically for the core -->
@ -95,4 +65,34 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/filtered-resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<id>default-resources</id>
<goals>
<goal>resources</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -63,10 +64,10 @@
<executions> <executions>
<execution> <execution>
<id>verify</id> <id>verify</id>
<phase>process-resources</phase>
<goals> <goals>
<goal>verify</goal> <goal>verify</goal>
</goals> </goals>
<phase>process-resources</phase>
<configuration> <configuration>
<descriptors> <descriptors>
<descriptor>mvn:org.apache.karaf.features/framework/${karaf.version}/xml/features</descriptor> <descriptor>mvn:org.apache.karaf.features/framework/${karaf.version}/xml/features</descriptor>

27
pom.xml
View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
@ -16,10 +17,6 @@
<name>openHAB</name> <name>openHAB</name>
<description>This project contains the core components of openHAB</description> <description>This project contains the core components of openHAB</description>
<properties>
<scm.gitBaseUrl>https://github.com/openhab</scm.gitBaseUrl>
</properties>
<organization> <organization>
<name>openHAB.org</name> <name>openHAB.org</name>
<url>http://www.openhab.org</url> <url>http://www.openhab.org</url>
@ -32,16 +29,23 @@
</license> </license>
</licenses> </licenses>
<modules>
<module>poms</module>
<module>poms/tycho</module>
<module>bundles</module>
<module>features</module>
</modules>
<scm> <scm>
<connection>scm:git:${scm.gitBaseUrl}/openhab-core.git</connection> <connection>scm:git:${scm.gitBaseUrl}/openhab-core.git</connection>
<developerConnection>scm:git:${scm.gitBaseUrl}/openhab-core.git</developerConnection> <developerConnection>scm:git:${scm.gitBaseUrl}/openhab-core.git</developerConnection>
<url>${scm.gitBaseUrl}/openhab-core</url>
<tag>HEAD</tag> <tag>HEAD</tag>
<url>${scm.gitBaseUrl}/openhab-core</url>
</scm> </scm>
<issueManagement> <issueManagement>
<url>https://github.com/openhab/openhab-core/issues</url>
<system>Github</system> <system>Github</system>
<url>https://github.com/openhab/openhab-core/issues</url>
</issueManagement> </issueManagement>
<distributionManagement> <distributionManagement>
@ -55,12 +59,9 @@
</snapshotRepository> </snapshotRepository>
</distributionManagement> </distributionManagement>
<modules> <properties>
<module>poms</module> <scm.gitBaseUrl>https://github.com/openhab</scm.gitBaseUrl>
<module>poms/tycho</module> </properties>
<module>bundles</module>
<module>features</module>
</modules>
<build> <build>
<pluginManagement> <pluginManagement>

View File

@ -1,15 +1,16 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<prerequisites>
<maven>3.1</maven>
</prerequisites>
<groupId>org.openhab</groupId> <groupId>org.openhab</groupId>
<artifactId>pom</artifactId> <artifactId>pom</artifactId>
<version>2.4.0-SNAPSHOT</version> <version>2.4.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>openHAB</name> <name>openHAB</name>
<description>This is the open Home Automation Bus (openHAB)</description>
<organization> <organization>
<name>openHAB.org</name> <name>openHAB.org</name>
<url>http://www.openhab.org</url> <url>http://www.openhab.org</url>
@ -22,16 +23,20 @@
</license> </license>
</licenses> </licenses>
<prerequisites>
<maven>3.1</maven>
</prerequisites>
<scm> <scm>
<connection>scm:git:${scm.gitBaseUrl}/openhab-core.git</connection> <connection>scm:git:${scm.gitBaseUrl}/openhab-core.git</connection>
<developerConnection>scm:git:${scm.gitBaseUrl}/openhab-core.git</developerConnection> <developerConnection>scm:git:${scm.gitBaseUrl}/openhab-core.git</developerConnection>
<url>${scm.gitBaseUrl}/openhab-core</url>
<tag>HEAD</tag> <tag>HEAD</tag>
<url>${scm.gitBaseUrl}/openhab-core</url>
</scm> </scm>
<issueManagement> <issueManagement>
<url>https://github.com/openhab/openhab-core/issues</url>
<system>Github</system> <system>Github</system>
<url>https://github.com/openhab/openhab-core/issues</url>
</issueManagement> </issueManagement>
<distributionManagement> <distributionManagement>
@ -73,9 +78,90 @@
<ds-annotations.version>1.2.10</ds-annotations.version> <ds-annotations.version>1.2.10</ds-annotations.version>
</properties> </properties>
<description>This is the open Home Automation Bus (openHAB)</description> <repositories>
<packaging>pom</packaging> <!-- releases -->
<repository>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>jcenter</id>
<name>JCenter Repository</name>
<url>https://jcenter.bintray.com/</url>
</repository>
<repository>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray</id>
<name>openHAB SmartHome Repository</name>
<url>https://api.bintray.com/maven/openhab/mvn/smarthome</url>
</repository>
<repository>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>openhab-artifactory-release</id>
<name>JFrog Artifactory Repository</name>
<url>https://openhab.jfrog.io/openhab/libs-release</url>
</repository>
<!-- snapshots -->
<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
<id>openhab-artifactory-snapshot</id>
<name>JFrog Artifactory Repository</name>
<url>https://openhab.jfrog.io/openhab/libs-snapshot</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>jcenter</id>
<name>JCenter Repository</name>
<url>https://jcenter.bintray.com/</url>
</pluginRepository>
<pluginRepository>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>artifactory</id>
<name>JFrog Artifactory Repository</name>
<url>https://openhab.jfrog.io/openhab/libs-release</url>
</pluginRepository>
</pluginRepositories>
<build> <build>
<pluginManagement> <pluginManagement>
@ -214,10 +300,10 @@
<executions> <executions>
<execution> <execution>
<id>update-version</id> <id>update-version</id>
<phase>initialize</phase>
<goals> <goals>
<goal>set-version</goal> <goal>set-version</goal>
</goals> </goals>
<phase>initialize</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
@ -236,10 +322,10 @@
<executions> <executions>
<execution> <execution>
<id>update-version</id> <id>update-version</id>
<phase>initialize</phase>
<goals> <goals>
<goal>set-version</goal> <goal>set-version</goal>
</goals> </goals>
<phase>initialize</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
@ -264,13 +350,13 @@
<version>${sat.version}</version> <version>${sat.version}</version>
<executions> <executions>
<execution> <execution>
<phase>verify</phase>
<goals> <goals>
<goal>checkstyle</goal> <goal>checkstyle</goal>
<goal>pmd</goal> <goal>pmd</goal>
<goal>spotbugs</goal> <goal>spotbugs</goal>
<goal>report</goal> <goal>report</goal>
</goals> </goals>
<phase>verify</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
@ -314,89 +400,4 @@
</profile> </profile>
</profiles> </profiles>
<pluginRepositories>
<pluginRepository>
<id>jcenter</id>
<name>JCenter Repository</name>
<url>https://jcenter.bintray.com/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>artifactory</id>
<name>JFrog Artifactory Repository</name>
<url>https://openhab.jfrog.io/openhab/libs-release</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<repositories>
<!-- releases -->
<repository>
<id>jcenter</id>
<name>JCenter Repository</name>
<url>https://jcenter.bintray.com/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>bintray</id>
<name>openHAB SmartHome Repository</name>
<url>https://api.bintray.com/maven/openhab/mvn/smarthome</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>openhab-artifactory-release</id>
<name>JFrog Artifactory Repository</name>
<url>https://openhab.jfrog.io/openhab/libs-release</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- snapshots -->
<repository>
<id>openhab-artifactory-snapshot</id>
<name>JFrog Artifactory Repository</name>
<url>https://openhab.jfrog.io/openhab/libs-snapshot</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
</project> </project>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
@ -310,52 +311,23 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build> <repositories>
<plugins> <!-- openHAB dependencies p2 repository -->
<plugin> <repository>
<groupId>${tycho-groupid}</groupId> <id>p2-openhab-deps-repo</id>
<artifactId>tycho-maven-plugin</artifactId> <url>https://dl.bintray.com/openhab/p2/openhab-deps-repo/${ohdr.version}</url>
<version>${tycho-version}</version> <layout>p2</layout>
<extensions>true</extensions> </repository>
</plugin>
<plugin>
<groupId>${tycho-groupid}</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<strictVersions>false</strictVersions>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-eclipse-compiler</artifactId>
<version>${groovy.eclipse.compiler.version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-scr-plugin</artifactId>
<executions>
<execution>
<id>generate-scr-scrdescriptor</id>
<goals>
<goal>scr</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.component.annotations</artifactId>
<version>1.3.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
<!-- Eclipse p2 repository -->
<repository>
<id>eclipse-oxygen</id>
<url>http://download.eclipse.org/releases/oxygen/201709271000</url>
<layout>p2</layout>
</repository>
</repositories>
<build>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<plugin> <plugin>
@ -431,13 +403,6 @@
<configuration> <configuration>
<compilerId>groovy-eclipse-compiler</compilerId> <compilerId>groovy-eclipse-compiler</compilerId>
</configuration> </configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.codehaus.groovy</groupId> <groupId>org.codehaus.groovy</groupId>
@ -450,9 +415,60 @@
<version>2.4.3-01</version> <version>2.4.3-01</version>
</dependency> </dependency>
</dependencies> </dependencies>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
<plugins>
<plugin>
<groupId>${tycho-groupid}</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>${tycho-groupid}</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<strictVersions>false</strictVersions>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-eclipse-compiler</artifactId>
<version>${groovy.eclipse.compiler.version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-scr-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.component.annotations</artifactId>
<version>1.3.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>generate-scr-scrdescriptor</id>
<goals>
<goal>scr</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build> </build>
<profiles> <profiles>
@ -464,18 +480,18 @@
<groupId>${tycho-groupid}</groupId> <groupId>${tycho-groupid}</groupId>
<artifactId>tycho-source-plugin</artifactId> <artifactId>tycho-source-plugin</artifactId>
<version>${tycho-version}</version> <version>${tycho-version}</version>
<executions>
<execution>
<id>plugin-source</id>
<phase>package</phase>
<goals>
<goal>plugin-source</goal>
</goals>
</execution>
</executions>
<configuration> <configuration>
<sourceBundle>true</sourceBundle> <sourceBundle>true</sourceBundle>
</configuration> </configuration>
<executions>
<execution>
<id>plugin-source</id>
<goals>
<goal>plugin-source</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
@ -492,10 +508,10 @@
<executions> <executions>
<execution> <execution>
<id>update-version</id> <id>update-version</id>
<phase>initialize</phase>
<goals> <goals>
<goal>set-version</goal> <goal>set-version</goal>
</goals> </goals>
<phase>initialize</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
@ -504,21 +520,4 @@
</profile> </profile>
</profiles> </profiles>
<repositories>
<!-- openHAB dependencies p2 repository -->
<repository>
<id>p2-openhab-deps-repo</id>
<url>https://dl.bintray.com/openhab/p2/openhab-deps-repo/${ohdr.version}</url>
<layout>p2</layout>
</repository>
<!-- Eclipse p2 repository -->
<repository>
<id>eclipse-oxygen</id>
<url>http://download.eclipse.org/releases/oxygen/201709271000</url>
<layout>p2</layout>
</repository>
</repositories>
</project> </project>