2024-12-16 16:08:07 +02:00
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2015 Bosch Software Innovations 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 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
|
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>
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
<artifactId>hawkbit-repository</artifactId>
|
|
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
<artifactId>hawkbit-repository-jpa-eclipselink</artifactId>
|
|
|
|
|
<name>hawkBit :: Repository :: JPA EclipseLink Vendor</name>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<apt.source.dir>${project.build.directory}/generated-sources/apt/</apt.source.dir>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
|
|
|
<artifactId>hawkbit-repository-jpa-api</artifactId>
|
|
|
|
|
<version>${project.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.eclipse.persistence</groupId>
|
|
|
|
|
<artifactId>org.eclipse.persistence.jpa</artifactId>
|
|
|
|
|
<version>${eclipselink.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2025-01-20 13:17:55 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.micrometer</groupId>
|
|
|
|
|
<artifactId>micrometer-core</artifactId>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</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> <!-- Static class generation -->
|
2024-12-16 16:08:07 +02:00
|
|
|
<groupId>org.hibernate.orm</groupId>
|
[#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
|
|
|
<artifactId>hibernate-processor</artifactId>
|
2024-12-16 16:08:07 +02:00
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
2025-02-11 12:50:51 +02:00
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
2025-07-10 18:55:57 +03:00
|
|
|
<!-- Static weaver for EclipseLink, needs to be in the module where the entity classes are -->
|
2025-02-11 12:50:51 +02:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.ethlo.persistence.tools</groupId>
|
|
|
|
|
<artifactId>eclipselink-maven-plugin</artifactId>
|
|
|
|
|
<version>${eclipselink.maven.plugin.version}</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>weave</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
<configuration>
|
|
|
|
|
<basePackage>org.eclipse.hawkbit.repository.jpa.model</basePackage>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2024-12-16 16:08:07 +02:00
|
|
|
</project>
|