363 lines
15 KiB
Plaintext
363 lines
15 KiB
Plaintext
![]() |
<?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>
|
||
|
<groupId>org.eclipse.paho</groupId>
|
||
|
<artifactId>java-parent</artifactId>
|
||
|
<packaging>pom</packaging>
|
||
|
<version>1.2.5</version>
|
||
|
|
||
|
<properties>
|
||
|
<!-- source & target java version for MQTT Client -->
|
||
|
<mqttclient.java.version>1.8</mqttclient.java.version>
|
||
|
<!-- source & target java version for others modules -->
|
||
|
<java.version>1.8</java.version>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<build.level>${maven.build.timestamp}</build.level>
|
||
|
<tycho.version>1.7.0</tycho.version>
|
||
|
<junit.version>4.12</junit.version>
|
||
|
<javadoc.version>3.2.0</javadoc.version>
|
||
|
<mvnsource.version>3.2.0</mvnsource.version>
|
||
|
<jacoco.version>0.8.2</jacoco.version>
|
||
|
<test.exclude>**/*ConformantTest.java</test.exclude>
|
||
|
<download.location>/home/data/httpd/download.eclipse.org/paho/releases/${project.version}/Java</download.location>
|
||
|
</properties>
|
||
|
|
||
|
<name>Eclipse Paho</name>
|
||
|
<url>http://www.eclipse.org/paho</url>
|
||
|
<description>
|
||
|
The Paho project provides open-source implementations of open and standard messaging protocols aimed at new, existing, and emerging applications for Machine to Machine (M2M) and Internet of Things (IoT).
|
||
|
</description>
|
||
|
|
||
|
<organization>
|
||
|
<name>Eclipse Paho</name>
|
||
|
<url>http://www.eclipse.org/paho</url>
|
||
|
</organization>
|
||
|
|
||
|
<developers>
|
||
|
<developer>
|
||
|
<id>icraggs</id>
|
||
|
<name>Ian Craggs</name>
|
||
|
<email>icraggs@gmail.com</email>
|
||
|
<roles>
|
||
|
<role>Developer</role>
|
||
|
</roles>
|
||
|
</developer>
|
||
|
<developer>
|
||
|
<id>rdasgupt</id>
|
||
|
<name>Ranjan Dasgupta</name>
|
||
|
<email>rdasgupt@us.ibm.com</email>
|
||
|
<organization>IBM</organization>
|
||
|
<organizationUrl>http://www.ibm.com</organizationUrl>
|
||
|
<roles>
|
||
|
<role>Developer</role>
|
||
|
</roles>
|
||
|
</developer>
|
||
|
</developers>
|
||
|
<licenses>
|
||
|
<license>
|
||
|
<name>Eclipse Public License - Version 2.0</name>
|
||
|
<url>https://www.eclipse.org/legal/epl-2.0</url>
|
||
|
</license>
|
||
|
</licenses>
|
||
|
|
||
|
<scm>
|
||
|
<url>https://github.com/eclipse/paho.mqtt.java.git</url>
|
||
|
<connection>scm:git:git@github.com:eclipse/paho.mqtt.java.git</connection>
|
||
|
</scm>
|
||
|
|
||
|
<distributionManagement>
|
||
|
<repository>
|
||
|
<id>repo.eclipse.org</id>
|
||
|
<name>Paho Repository - Releases</name>
|
||
|
<url>https://repo.eclipse.org/content/repositories/paho-releases/</url>
|
||
|
</repository>
|
||
|
<snapshotRepository>
|
||
|
<id>repo.eclipse.org</id>
|
||
|
<name>Paho Repository - Snapshots</name>
|
||
|
<url>https://repo.eclipse.org/content/repositories/paho-snapshots/</url>
|
||
|
</snapshotRepository>
|
||
|
</distributionManagement>
|
||
|
|
||
|
<pluginRepositories>
|
||
|
<pluginRepository>
|
||
|
<id>cbi</id>
|
||
|
<url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
|
||
|
</pluginRepository>
|
||
|
</pluginRepositories>
|
||
|
|
||
|
<dependencyManagement>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>junit</groupId>
|
||
|
<artifactId>junit</artifactId>
|
||
|
<version>${junit.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>javax.xml.bind</groupId>
|
||
|
<artifactId>jaxb-api</artifactId>
|
||
|
<version>2.3.1</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.glassfish.jaxb</groupId>
|
||
|
<artifactId>jaxb-runtime</artifactId>
|
||
|
<version>2.3.1</version>
|
||
|
<scope>runtime</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</dependencyManagement>
|
||
|
|
||
|
<build>
|
||
|
<pluginManagement>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>3.5.1</version>
|
||
|
<configuration>
|
||
|
<encoding>${project.build.sourceEncoding}</encoding>
|
||
|
<source>${java.version}</source>
|
||
|
<target>${java.version}</target>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||
|
<version>3.0.0</version>
|
||
|
<configuration>
|
||
|
<source>8</source>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-resources-plugin</artifactId>
|
||
|
<version>3.0.2</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-source-plugin</artifactId>
|
||
|
<version>3.0.1</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-release-plugin</artifactId>
|
||
|
<version>2.5.3</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||
|
<version>2.8.2</version>
|
||
|
<configuration>
|
||
|
<deployAtEnd>true</deployAtEnd>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.tycho</groupId>
|
||
|
<artifactId>tycho-maven-plugin</artifactId>
|
||
|
<version>${tycho.version}</version>
|
||
|
<extensions>true</extensions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.tycho</groupId>
|
||
|
<artifactId>tycho-p2-plugin</artifactId>
|
||
|
<version>${tycho.version}</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.tycho</groupId>
|
||
|
<artifactId>target-platform-configuration</artifactId>
|
||
|
<version>${tycho.version}</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.tycho</groupId>
|
||
|
<artifactId>tycho-source-plugin</artifactId>
|
||
|
<version>${tycho.version}</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.tycho</groupId>
|
||
|
<artifactId>tycho-versions-plugin</artifactId>
|
||
|
<version>${tycho.version}</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.tycho.extras</groupId>
|
||
|
<artifactId>tycho-document-bundle-plugin</artifactId>
|
||
|
<version>${tycho.version}</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.cbi.maven.plugins</groupId>
|
||
|
<artifactId>eclipse-jarsigner-plugin</artifactId>
|
||
|
<version>1.1.5</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.tycho.extras</groupId>
|
||
|
<artifactId>tycho-pack200a-plugin</artifactId>
|
||
|
<version>${tycho.version}</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.tycho.extras</groupId>
|
||
|
<artifactId>tycho-pack200b-plugin</artifactId>
|
||
|
<version>${tycho.version}</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eluder.coveralls</groupId>
|
||
|
<artifactId>coveralls-maven-plugin</artifactId>
|
||
|
<version>4.3.0</version>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</pluginManagement>
|
||
|
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.tycho</groupId>
|
||
|
<artifactId>tycho-versions-plugin</artifactId>
|
||
|
<version>${tycho.version}</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.tycho</groupId>
|
||
|
<artifactId>tycho-source-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>plugin-source</id>
|
||
|
<goals>
|
||
|
<goal>plugin-source</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<!--
|
||
|
Use the Nexus Staging plugin as a full replacement for the standard
|
||
|
Maven Deploy plugin.
|
||
|
See https://github.com/sonatype/nexus-maven-plugins/tree/master/staging/maven-plugin
|
||
|
why this makes sense :-)
|
||
|
We can control whether we want to deploy to the Eclipse repo or Maven Central
|
||
|
by a combination of the version being a SNAPHOT or release version and property
|
||
|
skipStaging=true/false.
|
||
|
In any case we can take advantage of the plugin's "deferred deploy" feature which
|
||
|
makes sure that all artifacts of a multi-module project are deployed as a whole
|
||
|
at the end of the build process instead of deploying each module's artifacts
|
||
|
individually as part of building the module.
|
||
|
-->
|
||
|
<groupId>org.sonatype.plugins</groupId>
|
||
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||
|
<version>1.6.5</version>
|
||
|
<extensions>true</extensions>
|
||
|
<configuration>
|
||
|
<serverId>ossrh</serverId>
|
||
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
||
|
<autoReleaseAfterClose>false</autoReleaseAfterClose>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
<profiles>
|
||
|
<profile>
|
||
|
<id>eclipse-sign</id>
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.tycho</groupId>
|
||
|
<artifactId>target-platform-configuration</artifactId>
|
||
|
<configuration>
|
||
|
<includePackedArtifacts>true</includePackedArtifacts>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.tycho.extras</groupId>
|
||
|
<artifactId>tycho-pack200a-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>pack200-normalize</id>
|
||
|
<goals>
|
||
|
<goal>normalize</goal>
|
||
|
</goals>
|
||
|
<phase>verify</phase>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.cbi.maven.plugins</groupId>
|
||
|
<artifactId>eclipse-jarsigner-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>sign</id>
|
||
|
<goals>
|
||
|
<goal>sign</goal>
|
||
|
</goals>
|
||
|
<phase>verify</phase>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.tycho.extras</groupId>
|
||
|
<artifactId>tycho-pack200b-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>pack200-pack</id>
|
||
|
<goals>
|
||
|
<goal>pack</goal>
|
||
|
</goals>
|
||
|
<phase>verify</phase>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.tycho</groupId>
|
||
|
<artifactId>tycho-p2-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>p2-metadata</id>
|
||
|
<goals>
|
||
|
<goal>p2-metadata</goal>
|
||
|
</goals>
|
||
|
<phase>verify</phase>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
<configuration>
|
||
|
<defaultP2Metadata>false</defaultP2Metadata>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</profile>
|
||
|
<profile>
|
||
|
<!-- this profile generates GPG signatures -->
|
||
|
<id>create_gpg_signature</id>
|
||
|
<activation>
|
||
|
<activeByDefault>false</activeByDefault>
|
||
|
<property>
|
||
|
<name>createGPGSignature</name>
|
||
|
</property>
|
||
|
</activation>
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-gpg-plugin</artifactId>
|
||
|
<version>1.6</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>sign-artifacts</id>
|
||
|
<phase>verify</phase>
|
||
|
<goals>
|
||
|
<goal>sign</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</profile>
|
||
|
</profiles>
|
||
|
<modules>
|
||
|
<module>org.eclipse.paho.client.mqttv3</module>
|
||
|
<module>org.eclipse.paho.client.mqttv3.test</module>
|
||
|
<module>org.eclipse.paho.client.mqttv3.repository</module>
|
||
|
<module>org.eclipse.paho.sample.utility</module>
|
||
|
<module>org.eclipse.paho.mqttv5.client</module>
|
||
|
<module>org.eclipse.paho.mqttv5.client.test</module>
|
||
|
<module>org.eclipse.paho.mqttv5.client.repository</module>
|
||
|
</modules>
|
||
|
</project>
|
||
|
|