2024-02-12 16:30:22 +02:00
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2023 Bosch.IO GmbH and others
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
<project
|
2024-11-05 11:41:56 +02:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2024-11-05 11:43:54 +02:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
|
|
|
xmlns="http://maven.apache.org/POM/4.0.0">
|
2024-11-05 11:41:56 +02:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
|
|
|
<artifactId>hawkbit-sdk</artifactId>
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
</parent>
|
2024-02-12 16:30:22 +02:00
|
|
|
|
2024-11-05 11:41:56 +02:00
|
|
|
<artifactId>hawkbit-sdk-demo</artifactId>
|
|
|
|
|
<name>hawkBit :: SDK :: Test / Example</name>
|
|
|
|
|
<description>Test / Example of how SDK could be used to for devices and for Mgmt API access</description>
|
2024-02-12 16:30:22 +02:00
|
|
|
|
2024-11-05 11:41:56 +02:00
|
|
|
<properties>
|
2026-06-12 08:48:12 +03:00
|
|
|
<spring-shell.version>4.0.3</spring-shell.version>
|
2024-11-05 11:41:56 +02:00
|
|
|
<spring.app.class>org.eclipse.hawkbit.sdk.demo.multidevice.MultiDeviceApp</spring.app.class>
|
|
|
|
|
<start-class>${spring.app.class}</start-class>
|
|
|
|
|
</properties>
|
2024-02-12 16:30:22 +02:00
|
|
|
|
2024-11-05 11:41:56 +02:00
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
|
|
|
<artifactId>hawkbit-sdk-device</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
|
|
|
<artifactId>hawkbit-sdk-dmf</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
|
|
|
<artifactId>hawkbit-sdk-mgmt</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2024-02-12 16:30:22 +02:00
|
|
|
|
2024-11-05 11:41:56 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.shell</groupId>
|
|
|
|
|
<artifactId>spring-shell-starter</artifactId>
|
|
|
|
|
<version>${spring-shell.version}</version>
|
|
|
|
|
</dependency>
|
[#2845] Bump Spring boot to 4.x (#2941)
Notes:
1. (!) Eclipselink shall be migrated to 5.0 (in 4.0.8 there are incompatible classes, e.g EJBQueryImpl doesn't implement some newer methods). In the moment is with beta (5.0.0-B12) - JUST for testing!
2. (!) Ethlo plugin doesn't work with Eclipselink 5.0, it builds with Eclipselink 4.0.8 (could be a problem)
3. Dependencies - new starters, test starters changes, some dependencies refactoring
4. Auto-configs split - package changes, some properties classes changes
5. Spring nullable org.springframework.lang.Nullable/NonNull are depecated and replaced with jspcify -> org.jspecify.annotations.Nullable/NonNull (NullMarked)
6. Lombok config - adding lombok.addNullAnnotations=jspecify - to do not mess annotations
7. Distributed lock table changes - SP_LOCK table db migration
8. Spring Retry replaced with Spring Core Retry - does repace retry in hawkbit
9. Specifications -> added Update/Delete(/Predicate) Specifications and JpaSpecificationExecutor changed
10. HawkbitBaseRepositoryFactoryBean modified to register properly
11. Jackson - 2 -> 3, package migrations, finals are not deserialized by default(enable finals deserialization, consider make non-final), too ‘smart’ tries to set complex objects instead of using non args constructor (-> @JsonIgnore), some other default configs made
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2026-04-14 11:31:41 +03:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.shell</groupId>
|
|
|
|
|
<artifactId>spring-shell-jline</artifactId>
|
|
|
|
|
<version>${spring-shell.version}</version>
|
|
|
|
|
</dependency>
|
2024-11-05 11:41:56 +02:00
|
|
|
</dependencies>
|
2024-02-21 15:44:27 +02:00
|
|
|
|
2024-11-05 11:41:56 +02:00
|
|
|
<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>
|
|
|
|
|
<layout>JAR</layout>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
2025-11-17 12:45:02 +02:00
|
|
|
<configuration>
|
|
|
|
|
<mainClass>org.eclipse.hawkbit.sdk.demo.device.DeviceApp</mainClass>
|
|
|
|
|
</configuration>
|
2024-11-05 11:41:56 +02:00
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
2024-02-21 15:44:27 +02:00
|
|
|
|
2024-11-05 11:41:56 +02:00
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</build>
|
2024-02-12 16:30:22 +02:00
|
|
|
</project>
|