Last active
April 7, 2019 14:22
-
-
Save gitsaycat/1ed776fafe61934b0a764749267725f2 to your computer and use it in GitHub Desktop.
Sample pom.xml for a simple Java project that acts a client for Eclipse Kapua
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> | |
<groupId>mqtt</groupId> | |
<artifactId>mqtt</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<build> | |
<sourceDirectory>src/main/java</sourceDirectory> | |
<plugins> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.5.1</version> | |
<configuration> | |
<source>1.8</source> | |
<target>1.8</target> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<repositories> | |
<repository> | |
<id>my-repo1</id> | |
<name>Mvn Repo</name> | |
<url>https://repo.eclipse.org/content/repositories/kura-releases/</url> | |
</repository> | |
</repositories> | |
<dependencies> | |
<dependency> | |
<groupId>org.eclipse.paho</groupId> | |
<artifactId>org.eclipse.paho.client.mqttv3</artifactId> | |
<version>1.0.2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.eclipse.kura</groupId> | |
<artifactId>org.eclipse.kura.api</artifactId> | |
<version>1.4.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.osgi</groupId> | |
<artifactId>osgi_R4_core</artifactId> | |
<version>1.0</version> | |
<scope>provided</scope> | |
<optional>true</optional> | |
</dependency> | |
<dependency> | |
<groupId>org.osgi</groupId> | |
<artifactId>osgi_R4_compendium</artifactId> | |
<version>1.0</version> | |
<scope>provided</scope> | |
<optional>true</optional> | |
</dependency> | |
<!-- https://mvnrepository.com/artifact/org.eclipse.kura/org.eclipse.kura.core.cloud --> | |
<dependency> | |
<groupId>org.eclipse.kura</groupId> | |
<artifactId>org.eclipse.kura.core.cloud</artifactId> | |
<version>1.1.200</version> | |
</dependency> | |
<!-- https://mvnrepository.com/artifact/org.eclipse.kura/org.eclipse.kura.core --> | |
<dependency> | |
<groupId>org.eclipse.kura</groupId> | |
<artifactId>org.eclipse.kura.core</artifactId> | |
<version>1.0.300</version> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
<version>1.7.24</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.protobuf</groupId> | |
<artifactId>protobuf-java</artifactId> | |
<version>2.6.1</version> | |
<type>jar</type> | |
</dependency> | |
</dependencies> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment