You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2020/04/19 19:21:51 UTC
[maven-ear-plugin] 04/06: - Fixed filtering issue - change
condition for project_026
This is an automated email from the ASF dual-hosted git repository.
khmarbaise pushed a commit to branch itf-extension
in repository https://gitbox.apache.org/repos/asf/maven-ear-plugin.git
commit 5f05a6bea6662cf9db5e2d5e8d15a0a104602b41
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Sat Apr 18 22:46:17 2020 +0200
- Fixed filtering issue
- change condition for project_026
---
pom.xml | 2 +-
.../apache/maven/plugins/ear/it/EARProjectIT.java | 4 +++-
src/test/resources/junit-platform.properties | 22 ++++++++++++++++++++++
3 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 10ebfaa..1c87297 100644
--- a/pom.xml
+++ b/pom.xml
@@ -303,7 +303,7 @@
</testResource>
<testResource>
<directory>src/test/resources-its</directory>
- <filtering>true</filtering>
+ <filtering>false</filtering>
</testResource>
</testResources>
<pluginManagement>
diff --git a/src/test/java/org/apache/maven/plugins/ear/it/EARProjectIT.java b/src/test/java/org/apache/maven/plugins/ear/it/EARProjectIT.java
index d1f57be..ade596f 100644
--- a/src/test/java/org/apache/maven/plugins/ear/it/EARProjectIT.java
+++ b/src/test/java/org/apache/maven/plugins/ear/it/EARProjectIT.java
@@ -21,6 +21,7 @@ package org.apache.maven.plugins.ear.it;
import com.soebes.itf.jupiter.extension.MavenIT;
import com.soebes.itf.jupiter.extension.MavenPredefinedRepository;
+import com.soebes.itf.jupiter.extension.MavenRepository;
import com.soebes.itf.jupiter.extension.MavenTest;
import com.soebes.itf.jupiter.maven.MavenExecutionResult;
import com.soebes.itf.jupiter.maven.MavenLog;
@@ -47,6 +48,7 @@ import static com.soebes.itf.extension.assertj.MavenITAssertions.assertThat;
@MavenIT
@DisplayName("EAR Project Integration tests.")
@MavenPredefinedRepository
+@MavenRepository
class EARProjectIT
{
@@ -152,7 +154,7 @@ class EARProjectIT
}
@MavenTest
void project_026(MavenExecutionResult result) {
- assertThat(result).isSuccessful().project().hasTarget().withEarFile();
+ assertThat(result).isFailure();
}
@MavenTest
void project_027(MavenExecutionResult result) {
diff --git a/src/test/resources/junit-platform.properties b/src/test/resources/junit-platform.properties
new file mode 100644
index 0000000..049ca8f
--- /dev/null
+++ b/src/test/resources/junit-platform.properties
@@ -0,0 +1,22 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+junit.jupiter.execution.parallel.enabled=true
+junit.jupiter.execution.parallel.mode.default=concurrent
+junit.jupiter.execution.parallel.mode.classes.default=concurrent
+junit.jupiter.execution.parallel.config.strategy=fixed
+junit.jupiter.execution.parallel.config.fixed.parallelism=2