* First preparation for JUnit5 Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io> * Exclusion of JUnit5 removed Signed-off-by: Dominic Schabel <dominic.schabel@bosch.io>
164 lines
6.0 KiB
XML
164 lines
6.0 KiB
XML
<!--
|
|
|
|
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
|
|
|
|
-->
|
|
<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>
|
|
<parent>
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
<version>0.3.0-SNAPSHOT</version>
|
|
<artifactId>hawkbit-repository</artifactId>
|
|
</parent>
|
|
<artifactId>hawkbit-repository-jpa</artifactId>
|
|
<name>hawkBit :: Repository :: JPA Implementation</name>
|
|
|
|
<properties>
|
|
<apt.source.dir>${project.build.directory}/generated-sources/apt/</apt.source.dir>
|
|
<classgraph.version>4.8.90</classgraph.version>
|
|
<eclipselink.maven.plugin.version>2.7.5.1</eclipselink.maven.plugin.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- Hawkbit -->
|
|
<dependency>
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
<artifactId>hawkbit-repository-api</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
<artifactId>hawkbit-repository-core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
<artifactId>hawkbit-artifact-repository-filesystem</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<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>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cz.jirutka.rsql</groupId>
|
|
<artifactId>rsql-parser</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Test -->
|
|
<dependency>
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
<artifactId>hawkbit-repository-test</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.el</groupId>
|
|
<artifactId>javax.el-api</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.qameta.allure</groupId>
|
|
<artifactId>allure-junit5</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- Static weaver for EclipseLink -->
|
|
<plugin>
|
|
<groupId>com.ethlo.persistence.tools</groupId>
|
|
<artifactId>eclipselink-maven-plugin</artifactId>
|
|
<version>${eclipselink.maven.plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>modelgen</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>modelgen</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>weave</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<basePackage>org.eclipse.hawkbit.repository.jpa.model</basePackage>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<!--
|
|
Required for Java 11 since plugin version is build on
|
|
EclipseLink 2.7.5 (which doesn't have latest fixes for Java 11)
|
|
-->
|
|
<groupId>org.eclipse.persistence</groupId>
|
|
<artifactId>org.eclipse.persistence.jpa</artifactId>
|
|
<version>${eclipselink.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<!--
|
|
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>
|
|
</dependencies>
|
|
</plugin>
|
|
<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>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|