2016-07-27 14:51:18 +02:00
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2015 Bosch Software Innovations GmbH and others.
|
|
|
|
|
|
|
|
|
|
All rights reserved. This program and the accompanying materials
|
|
|
|
|
are made available under the terms of the Eclipse Public License v1.0
|
|
|
|
|
which accompanies this distribution, and is available at
|
|
|
|
|
http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
|
|
|
|
|
|
-->
|
2016-07-21 10:39:57 +02:00
|
|
|
<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">
|
2016-05-25 17:43:57 +02:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
2018-06-11 15:57:15 +02:00
|
|
|
<version>0.3.0-SNAPSHOT</version>
|
2016-05-25 17:43:57 +02:00
|
|
|
<artifactId>hawkbit-repository</artifactId>
|
|
|
|
|
</parent>
|
|
|
|
|
<artifactId>hawkbit-repository-jpa</artifactId>
|
2017-03-30 08:46:31 +02:00
|
|
|
<name>hawkBit :: Repository :: JPA Implementation</name>
|
2016-05-25 17:43:57 +02:00
|
|
|
|
2018-05-14 09:32:12 +02:00
|
|
|
<properties>
|
2019-03-05 17:49:10 +01:00
|
|
|
<apt.source.dir>${project.build.directory}/generated-sources/apt/</apt.source.dir>
|
2020-10-29 16:36:55 +01:00
|
|
|
<classgraph.version>4.8.90</classgraph.version>
|
|
|
|
|
<eclipselink.maven.plugin.version>2.7.5.1</eclipselink.maven.plugin.version>
|
2018-05-14 09:32:12 +02:00
|
|
|
</properties>
|
2019-03-05 17:49:10 +01:00
|
|
|
|
2016-05-25 17:43:57 +02:00
|
|
|
<dependencies>
|
|
|
|
|
<!-- Hawkbit -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
|
|
|
<artifactId>hawkbit-repository-api</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2016-05-31 08:51:49 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
|
|
|
<artifactId>hawkbit-repository-core</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2016-05-25 17:43:57 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
2016-11-14 11:23:50 +01:00
|
|
|
<artifactId>hawkbit-artifact-repository-filesystem</artifactId>
|
2016-05-25 17:43:57 +02:00
|
|
|
<version>${project.version}</version>
|
2016-05-31 11:29:41 +02:00
|
|
|
</dependency>
|
2016-05-25 17:43:57 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.persistence</groupId>
|
|
|
|
|
<artifactId>org.eclipse.persistence.jpa</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
|
<artifactId>spring-security-core</artifactId>
|
2016-05-31 11:29:41 +02:00
|
|
|
</dependency>
|
2016-05-25 17:43:57 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
|
<artifactId>flyway-core</artifactId>
|
|
|
|
|
</dependency>
|
2016-05-31 10:56:10 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>cz.jirutka.rsql</groupId>
|
|
|
|
|
<artifactId>rsql-parser</artifactId>
|
2019-03-05 17:49:10 +01:00
|
|
|
</dependency>
|
2017-06-01 06:28:59 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
2016-05-31 10:56:10 +02:00
|
|
|
</dependency>
|
2018-02-12 14:56:36 +01:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
|
|
<artifactId>jsoup</artifactId>
|
|
|
|
|
</dependency>
|
2016-05-25 17:43:57 +02:00
|
|
|
|
|
|
|
|
<!-- Test -->
|
2016-05-31 08:51:49 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
|
|
|
<artifactId>hawkbit-repository-test</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2016-05-25 17:43:57 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.el</groupId>
|
|
|
|
|
<artifactId>javax.el-api</artifactId>
|
|
|
|
|
<scope>test</scope>
|
2016-07-21 10:39:57 +02:00
|
|
|
</dependency>
|
2016-05-25 17:43:57 +02:00
|
|
|
<dependency>
|
2018-10-25 18:18:38 +02:00
|
|
|
<groupId>io.qameta.allure</groupId>
|
2021-02-12 08:22:26 +01:00
|
|
|
<artifactId>allure-junit5</artifactId>
|
2016-05-25 17:43:57 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<!-- Static weaver for EclipseLink -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.ethlo.persistence.tools</groupId>
|
|
|
|
|
<artifactId>eclipselink-maven-plugin</artifactId>
|
2020-10-29 16:36:55 +01:00
|
|
|
<version>${eclipselink.maven.plugin.version}</version>
|
2016-05-25 17:43:57 +02:00
|
|
|
<executions>
|
2016-07-21 10:39:57 +02:00
|
|
|
<execution>
|
|
|
|
|
<id>modelgen</id>
|
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>modelgen</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
2016-05-25 17:43:57 +02:00
|
|
|
<execution>
|
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>weave</goal>
|
|
|
|
|
</goals>
|
2016-08-31 08:55:59 +02:00
|
|
|
</execution>
|
2016-05-25 17:43:57 +02:00
|
|
|
</executions>
|
2017-05-22 17:36:42 +02:00
|
|
|
<configuration>
|
|
|
|
|
<basePackage>org.eclipse.hawkbit.repository.jpa.model</basePackage>
|
|
|
|
|
</configuration>
|
2016-05-25 17:43:57 +02:00
|
|
|
<dependencies>
|
2018-05-14 09:32:12 +02:00
|
|
|
<dependency>
|
2020-10-29 16:36:55 +01:00
|
|
|
<!--
|
|
|
|
|
Required for Java 11 since plugin version is build on
|
|
|
|
|
EclipseLink 2.7.5 (which doesn't have latest fixes for Java 11)
|
|
|
|
|
-->
|
2016-05-25 17:43:57 +02:00
|
|
|
<groupId>org.eclipse.persistence</groupId>
|
|
|
|
|
<artifactId>org.eclipse.persistence.jpa</artifactId>
|
|
|
|
|
<version>${eclipselink.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2020-10-29 16:36:55 +01:00
|
|
|
<!--
|
|
|
|
|
Required for Java 11 since plugin uses older version (4.8.21)
|
|
|
|
|
which suffer from NPE while weaving. We require at least 4.8.48
|
|
|
|
|
see: https://github.com/ethlo/eclipselink-maven-plugin/issues/31
|
|
|
|
|
-->
|
|
|
|
|
<groupId>io.github.classgraph</groupId>
|
|
|
|
|
<artifactId>classgraph</artifactId>
|
|
|
|
|
<version>${classgraph.version}</version>
|
|
|
|
|
</dependency>
|
2016-05-25 17:43:57 +02:00
|
|
|
</dependencies>
|
|
|
|
|
</plugin>
|
2019-03-05 17:49:10 +01:00
|
|
|
<plugin>
|
|
|
|
|
<!-- Should be placed here below 'eclipselink-maven-plugin' as the plugin should be executed -->
|
|
|
|
|
<!-- after the code generation and the order of the plugins in the pom is relevant for maven -->
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>add-source</id>
|
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>add-source</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<sources>
|
|
|
|
|
<source>${apt.source.dir}</source>
|
|
|
|
|
</sources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2016-05-25 17:43:57 +02:00
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2019-03-05 17:49:10 +01:00
|
|
|
|
2016-05-25 17:43:57 +02:00
|
|
|
</project>
|