From 6bbbe8ccfc8e2cddb51fbf0833901638412b187c Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sat, 11 May 2024 19:22:26 +1000 Subject: [PATCH] force war plugin version to get it working with more recent Java version Signed-off-by: Olivier Lamy --- src/it/it-project-parent/pom.xml | 5 ++ .../pom.xml | 8 --- .../src/test/java/test/AppTest.java | 58 ------------------- 3 files changed, 5 insertions(+), 66 deletions(-) delete mode 100644 src/it/projects/mojo-configuration/manifest-with-customEntry-manifest-file/src/test/java/test/AppTest.java diff --git a/src/it/it-project-parent/pom.xml b/src/it/it-project-parent/pom.xml index 511da0d65..37af86999 100644 --- a/src/it/it-project-parent/pom.xml +++ b/src/it/it-project-parent/pom.xml @@ -79,6 +79,11 @@ under the License. maven-surefire-plugin @version.maven-surefire@ + + org.apache.maven.plugins + maven-war-plugin + 3.4.0 + diff --git a/src/it/projects/mojo-configuration/manifest-with-customEntry-manifest-file/pom.xml b/src/it/projects/mojo-configuration/manifest-with-customEntry-manifest-file/pom.xml index 1e6cc4449..d446ff210 100644 --- a/src/it/projects/mojo-configuration/manifest-with-customEntry-manifest-file/pom.xml +++ b/src/it/projects/mojo-configuration/manifest-with-customEntry-manifest-file/pom.xml @@ -30,14 +30,6 @@ under the License. manifest-with-customEntry-manifest-file war 1 - - - junit - junit - 3.8.1 - test - - diff --git a/src/it/projects/mojo-configuration/manifest-with-customEntry-manifest-file/src/test/java/test/AppTest.java b/src/it/projects/mojo-configuration/manifest-with-customEntry-manifest-file/src/test/java/test/AppTest.java deleted file mode 100644 index d5c12059c..000000000 --- a/src/it/projects/mojo-configuration/manifest-with-customEntry-manifest-file/src/test/java/test/AppTest.java +++ /dev/null @@ -1,58 +0,0 @@ -package test; - -/* - * 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. - */ - - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -/** - * Unit test for simple App. - */ -public class AppTest - extends TestCase -{ - /** - * Create the test case - * - * @param testName name of the test case - */ - public AppTest( String testName ) - { - super( testName ); - } - - /** - * @return the suite of tests being tested - */ - public static Test suite() - { - return new TestSuite( AppTest.class ); - } - - /** - * Rigourous Test :-) - */ - public void testApp() - { - assertTrue( true ); - } -}