Example of pom File

Last modified: Jul 5, 2019 @ 06:40

The following listing shows an example of the Maven pom file needed to implement a gateway.

<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>com.ericsson.appiot.examples.gateway</groupId>
    <artifactId>simple-gateway</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <dependencies>
        <dependency>
            <groupId>com.ericsson.appiot</groupId>
            <artifactId>gateway-sdk-communication</artifactId>
            <version>2.0.0-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>com.ericsson.appiot</groupId>
            <artifactId>gateway-sdk-core</artifactId>
            <version>2.0.0-SNAPSHOT</version>
        </dependency>
    </dependencies>
    <repositories>
        <repository>
            <id>appiot-repo</id>
            <name>AppIoT Nexus Server</name>
            <url>http://sensation-repo.cloudapp.net:8081/nexus</url>
        </repository>
    </repositories>
</project>