Skip to content

Commit

Permalink
Fix findings #209
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed Sep 30, 2019
1 parent 5b84c0e commit f61e020
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion integration-tests/mail/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>camel-quarkus-integration-test-mail</artifactId>
<name>Camel Quarkus :: Integration Tests :: Mail :: Test</name>
<name>Camel Quarkus :: Integration Tests :: Mail</name>
<description>Integration tests for Camel Mail extension</description>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
import io.restassured.http.ContentType;

import io.restassured.internal.assertion.Assertion;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

Expand Down
11 changes: 0 additions & 11 deletions integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,6 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jvnet.mock-javamail</groupId>
<artifactId>mock-javamail</artifactId>
<version>${mock-javamail-version}</version>
<exclusions>
<exclusion>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-core-deployment</artifactId>
Expand Down
16 changes: 16 additions & 0 deletions poms/build-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<description>Maven plugins configuration</description>

<properties>
<mock-javamail-version>1.9</mock-javamail-version>

<!-- maven-surefire-plugin -->
<failIfNoTests>false</failIfNoTests>
Expand All @@ -45,6 +46,21 @@
<docker-maven-plugin.version>0.3.0</docker-maven-plugin.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jvnet.mock-javamail</groupId>
<artifactId>mock-javamail</artifactId>
<version>${mock-javamail-version}</version>
<exclusions>
<exclusion>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
Expand Down

0 comments on commit f61e020

Please sign in to comment.