2016-01-21 13:18:55 +01:00
|
|
|
<!--
|
|
|
|
|
|
2023-09-14 11:03:20 +03:00
|
|
|
Copyright (c) 2015 Bosch Software Innovations GmbH and others
|
2016-01-21 13:18:55 +01:00
|
|
|
|
2023-09-14 11:03:20 +03:00
|
|
|
This program and the accompanying materials are made
|
|
|
|
|
available under the terms of the Eclipse Public License 2.0
|
|
|
|
|
which is available at https://www.eclipse.org/legal/epl-2.0/
|
|
|
|
|
|
|
|
|
|
SPDX-License-Identifier: EPL-2.0
|
2016-01-21 13:18:55 +01:00
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2023-09-27 11:44:30 +03:00
|
|
|
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>
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
|
|
|
<artifactId>hawkbit-runtime-parent</artifactId>
|
2023-11-16 17:23:01 +02:00
|
|
|
<version>${revision}</version>
|
2023-09-27 11:44:30 +03:00
|
|
|
</parent>
|
|
|
|
|
<artifactId>hawkbit-update-server</artifactId>
|
|
|
|
|
<name>hawkBit :: Runtime :: Update Server</name>
|
2016-01-21 13:18:55 +01:00
|
|
|
|
2023-09-27 11:44:30 +03:00
|
|
|
<profiles>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>docker</id>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>io.fabric8</groupId>
|
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
2023-10-02 11:04:52 +03:00
|
|
|
<profile>
|
|
|
|
|
<id>attach-artifacts-profile</id>
|
|
|
|
|
<!-- This profile activates when -DskipTests is not provided -->
|
|
|
|
|
<activation>
|
|
|
|
|
<property>
|
|
|
|
|
<name>!skipTests</name>
|
|
|
|
|
</property>
|
|
|
|
|
</activation>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>attach-artifacts</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>attach-artifact</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<artifacts>
|
|
|
|
|
<artifact>
|
|
|
|
|
<file>${project.build.directory}/rest-api/mgmt-openapi.json</file>
|
|
|
|
|
<type>json</type>
|
|
|
|
|
<classifier>mgmt-openapi</classifier>
|
|
|
|
|
</artifact>
|
|
|
|
|
<artifact>
|
|
|
|
|
<file>${project.build.directory}/rest-api/mgmt-openapi.yaml</file>
|
|
|
|
|
<type>yaml</type>
|
|
|
|
|
<classifier>mgmt-openapi</classifier>
|
|
|
|
|
</artifact>
|
|
|
|
|
<artifact>
|
|
|
|
|
<file>${project.build.directory}/rest-api/ddi-openapi.json</file>
|
|
|
|
|
<type>json</type>
|
|
|
|
|
<classifier>ddi-openapi</classifier>
|
|
|
|
|
</artifact>
|
|
|
|
|
<artifact>
|
|
|
|
|
<file>${project.build.directory}/rest-api/ddi-openapi.yaml</file>
|
|
|
|
|
<type>yaml</type>
|
|
|
|
|
<classifier>ddi-openapi</classifier>
|
|
|
|
|
</artifact>
|
|
|
|
|
</artifacts>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
2023-09-27 11:44:30 +03:00
|
|
|
</profiles>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>${baseDir}</outputDirectory>
|
|
|
|
|
<mainClass>org.eclipse.hawkbit.app.Start</mainClass>
|
|
|
|
|
<layout>JAR</layout>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</build>
|
2016-01-21 13:18:55 +01:00
|
|
|
|
2023-09-27 11:44:30 +03:00
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
|
|
|
<artifactId>hawkbit-boot-starter</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
|
|
|
<artifactId>mssql-jdbc</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
|
</dependency>
|
2019-06-24 17:19:38 +02:00
|
|
|
|
2023-09-27 11:44:30 +03:00
|
|
|
<!-- Test -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.qameta.allure</groupId>
|
|
|
|
|
<artifactId>allure-junit5</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
|
<artifactId>spring-security-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mariadb.jdbc</groupId>
|
|
|
|
|
<artifactId>mariadb-java-client</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
|
|
|
<artifactId>hawkbit-repository-test</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
2016-01-21 13:18:55 +01:00
|
|
|
|
|
|
|
|
</project>
|