Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 6614feae authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

Reconfiguire the surefire plugin

parent 18ebc008
No related branches found
No related tags found
No related merge requests found
Pipeline #73365 passed with warnings
......@@ -739,15 +739,6 @@
<configuration>
<runOrder>alphabetical</runOrder>
</configuration>
<dependencies>
<!-- Force using the latest JUnit 47 provider -->
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>${maven-surefire-plugin.version}</version>
</dependency>
</dependencies>
</plugin>
<!-- jacoco start -->
<plugin>
......
......@@ -9,6 +9,11 @@
<artifactId>smp-aggregator</artifactId>
<dependencies>
<dependency>
<groupId>eu.europa.ec.edelivery</groupId>
<artifactId>oasis-smp-spi</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>eu.europa.ec.edelivery</groupId>
<artifactId>smp-spi</artifactId>
......
......@@ -112,16 +112,6 @@
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit-jupiter.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
......
......@@ -104,22 +104,7 @@
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<dependencies>
<!--dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-surefire-provider</artifactId>
<version>1.3.2</version>
</dependency-->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit-jupiter.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
......
......@@ -32,7 +32,7 @@ class ServiceGroupConverterTest {
OasisSMP10ServiceGroupReader testInstance = new OasisSMP10ServiceGroupReader();
private static final String RES_PATH = "/examples/conversion/";
private static final String RES_PATH = "/examples/oasis-smp-1.0/";
@Test
......@@ -46,8 +46,6 @@ class ServiceGroupConverterTest {
//then
assertNotNull(serviceGroup);
assertTrue(serviceGroup.getExtensions().isEmpty());
assertEquals("http://poland.pl", serviceGroup.getServiceMetadataReferenceCollection().getServiceMetadataReferences().get(0).getHref());
}
......
......@@ -263,6 +263,21 @@
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<runOrder>alphabetical</runOrder>
</configuration>
<dependencies>
<!-- Force using the latest JUnit 47 provider. Remove this when moving to JUNIT5 -->
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>${maven-surefire-plugin.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
......
<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">
<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>eu.europa.ec.edelivery</groupId>
......@@ -51,7 +52,7 @@
<groupId>eu.europa.ec.dynamic-discovery</groupId>
<artifactId>dynamic-discovery-client</artifactId>
</dependency>
<!-- end oasis SMP is included by default to smp deployment-->
<!-- end oasis SMP is included by default to smp deployment-->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
......@@ -146,6 +147,22 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<runOrder>alphabetical</runOrder>
</configuration>
<dependencies>
<!-- Force using the latest JUnit 47 provider Remove this when moving to JUNIT5 -->
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>${maven-surefire-plugin.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment