From 070af552e5708545c0c830393380dbb91da27c2e Mon Sep 17 00:00:00 2001 From: li-ying9160 <916029788@qq.com> Date: Mon, 15 Apr 2024 23:23:07 +0800 Subject: [PATCH 1/5] add a profile --- HelloMavenly/.idea/.gitignore | 8 + HelloMavenly/.idea/.name | 1 + .../artifacts/Maven_web_Web_exploded.xml | 13 ++ .../artifacts/Maven_web_war_exploded.xml | 13 ++ HelloMavenly/.idea/compiler.xml | 14 ++ HelloMavenly/.idea/jarRepositories.xml | 25 +++ HelloMavenly/.idea/misc.xml | 18 +++ HelloMavenly/Maven_web.iml | 20 +++ .../Maven_web_Web_exploded/HelloMaven.html | 11 ++ .../META-INF/MANIFEST.MF | 5 + .../Maven_web_Web_exploded/WEB-INF/web.xml | 6 + .../Maven_web_war_exploded/HelloMaven.html | 11 ++ .../META-INF/MANIFEST.MF | 5 + .../Maven_web_war_exploded/WEB-INF/web.xml | 6 + HelloMavenly/pom.xml | 39 +++++ HelloMavenly/src/main/webapp/HelloMaven.html | 11 ++ .../src/test/java/CalculatorTest.java | 29 ++++ .../Maven_web-1.0-SNAPSHOT/HelloMaven.html | 0 .../javadoc-options-javadoc-resources.xml | 10 ++ .../target/maven-archiver/pom.properties | 3 + .../compile/default-compile/createdFiles.lst | 0 .../compile/default-compile/inputFiles.lst | 0 .../default-testCompile/createdFiles.lst | 0 .../default-testCompile/inputFiles.lst | 1 + .../2024-03-25T21-06-33_307.dumpstream | 5 + .../2024-03-25T21-26-01_315.dumpstream | 5 + .../surefire-reports/CalculatorTest.txt | 83 ++++++++++ .../surefire-reports/TEST-CalculatorTest.xml | 142 ++++++++++++++++++ HelloMavenly/web/HelloMaven.html | 11 ++ HelloMavenly/web/WEB-INF/web.xml | 6 + 30 files changed, 501 insertions(+) create mode 100644 HelloMavenly/.idea/.gitignore create mode 100644 HelloMavenly/.idea/.name create mode 100644 HelloMavenly/.idea/artifacts/Maven_web_Web_exploded.xml create mode 100644 HelloMavenly/.idea/artifacts/Maven_web_war_exploded.xml create mode 100644 HelloMavenly/.idea/compiler.xml create mode 100644 HelloMavenly/.idea/jarRepositories.xml create mode 100644 HelloMavenly/.idea/misc.xml create mode 100644 HelloMavenly/Maven_web.iml create mode 100644 HelloMavenly/out/artifacts/Maven_web_Web_exploded/HelloMaven.html create mode 100644 HelloMavenly/out/artifacts/Maven_web_Web_exploded/META-INF/MANIFEST.MF create mode 100644 HelloMavenly/out/artifacts/Maven_web_Web_exploded/WEB-INF/web.xml create mode 100644 HelloMavenly/out/artifacts/Maven_web_war_exploded/HelloMaven.html create mode 100644 HelloMavenly/out/artifacts/Maven_web_war_exploded/META-INF/MANIFEST.MF create mode 100644 HelloMavenly/out/artifacts/Maven_web_war_exploded/WEB-INF/web.xml create mode 100644 HelloMavenly/pom.xml create mode 100644 HelloMavenly/src/main/webapp/HelloMaven.html create mode 100644 HelloMavenly/src/test/java/CalculatorTest.java create mode 100644 HelloMavenly/target/Maven_web-1.0-SNAPSHOT/HelloMaven.html create mode 100644 HelloMavenly/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml create mode 100644 HelloMavenly/target/maven-archiver/pom.properties create mode 100644 HelloMavenly/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst create mode 100644 HelloMavenly/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst create mode 100644 HelloMavenly/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst create mode 100644 HelloMavenly/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst create mode 100644 HelloMavenly/target/surefire-reports/2024-03-25T21-06-33_307.dumpstream create mode 100644 HelloMavenly/target/surefire-reports/2024-03-25T21-26-01_315.dumpstream create mode 100644 HelloMavenly/target/surefire-reports/CalculatorTest.txt create mode 100644 HelloMavenly/target/surefire-reports/TEST-CalculatorTest.xml create mode 100644 HelloMavenly/web/HelloMaven.html create mode 100644 HelloMavenly/web/WEB-INF/web.xml diff --git a/HelloMavenly/.idea/.gitignore b/HelloMavenly/.idea/.gitignore new file mode 100644 index 0000000..73f69e0 --- /dev/null +++ b/HelloMavenly/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/HelloMavenly/.idea/.name b/HelloMavenly/.idea/.name new file mode 100644 index 0000000..611474c --- /dev/null +++ b/HelloMavenly/.idea/.name @@ -0,0 +1 @@ +Maven_web \ No newline at end of file diff --git a/HelloMavenly/.idea/artifacts/Maven_web_Web_exploded.xml b/HelloMavenly/.idea/artifacts/Maven_web_Web_exploded.xml new file mode 100644 index 0000000..640f86f --- /dev/null +++ b/HelloMavenly/.idea/artifacts/Maven_web_Web_exploded.xml @@ -0,0 +1,13 @@ + + + $PROJECT_DIR$/out/artifacts/Maven_web_Web_exploded + + + + + + + + + + \ No newline at end of file diff --git a/HelloMavenly/.idea/artifacts/Maven_web_war_exploded.xml b/HelloMavenly/.idea/artifacts/Maven_web_war_exploded.xml new file mode 100644 index 0000000..83520a7 --- /dev/null +++ b/HelloMavenly/.idea/artifacts/Maven_web_war_exploded.xml @@ -0,0 +1,13 @@ + + + $PROJECT_DIR$/out/artifacts/Maven_web_war_exploded + + + + + + + + + + \ No newline at end of file diff --git a/HelloMavenly/.idea/compiler.xml b/HelloMavenly/.idea/compiler.xml new file mode 100644 index 0000000..6e0d339 --- /dev/null +++ b/HelloMavenly/.idea/compiler.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/HelloMavenly/.idea/jarRepositories.xml b/HelloMavenly/.idea/jarRepositories.xml new file mode 100644 index 0000000..d46a6c7 --- /dev/null +++ b/HelloMavenly/.idea/jarRepositories.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/HelloMavenly/.idea/misc.xml b/HelloMavenly/.idea/misc.xml new file mode 100644 index 0000000..0fac520 --- /dev/null +++ b/HelloMavenly/.idea/misc.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/HelloMavenly/Maven_web.iml b/HelloMavenly/Maven_web.iml new file mode 100644 index 0000000..0558329 --- /dev/null +++ b/HelloMavenly/Maven_web.iml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/HelloMavenly/out/artifacts/Maven_web_Web_exploded/HelloMaven.html b/HelloMavenly/out/artifacts/Maven_web_Web_exploded/HelloMaven.html new file mode 100644 index 0000000..65beee0 --- /dev/null +++ b/HelloMavenly/out/artifacts/Maven_web_Web_exploded/HelloMaven.html @@ -0,0 +1,11 @@ + + + + + HelloMaven + + +

Hello Maven!

> +

Hello Maven!!!!

> + + \ No newline at end of file diff --git a/HelloMavenly/out/artifacts/Maven_web_Web_exploded/META-INF/MANIFEST.MF b/HelloMavenly/out/artifacts/Maven_web_Web_exploded/META-INF/MANIFEST.MF new file mode 100644 index 0000000..ea423e6 --- /dev/null +++ b/HelloMavenly/out/artifacts/Maven_web_Web_exploded/META-INF/MANIFEST.MF @@ -0,0 +1,5 @@ +Manifest-Version: 1.0 +Created-By: IntelliJ IDEA +Built-By: LY +Build-Jdk: 22 + diff --git a/HelloMavenly/out/artifacts/Maven_web_Web_exploded/WEB-INF/web.xml b/HelloMavenly/out/artifacts/Maven_web_Web_exploded/WEB-INF/web.xml new file mode 100644 index 0000000..d80081d --- /dev/null +++ b/HelloMavenly/out/artifacts/Maven_web_Web_exploded/WEB-INF/web.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/HelloMavenly/out/artifacts/Maven_web_war_exploded/HelloMaven.html b/HelloMavenly/out/artifacts/Maven_web_war_exploded/HelloMaven.html new file mode 100644 index 0000000..65beee0 --- /dev/null +++ b/HelloMavenly/out/artifacts/Maven_web_war_exploded/HelloMaven.html @@ -0,0 +1,11 @@ + + + + + HelloMaven + + +

Hello Maven!

> +

Hello Maven!!!!

> + + \ No newline at end of file diff --git a/HelloMavenly/out/artifacts/Maven_web_war_exploded/META-INF/MANIFEST.MF b/HelloMavenly/out/artifacts/Maven_web_war_exploded/META-INF/MANIFEST.MF new file mode 100644 index 0000000..ea423e6 --- /dev/null +++ b/HelloMavenly/out/artifacts/Maven_web_war_exploded/META-INF/MANIFEST.MF @@ -0,0 +1,5 @@ +Manifest-Version: 1.0 +Created-By: IntelliJ IDEA +Built-By: LY +Build-Jdk: 22 + diff --git a/HelloMavenly/out/artifacts/Maven_web_war_exploded/WEB-INF/web.xml b/HelloMavenly/out/artifacts/Maven_web_war_exploded/WEB-INF/web.xml new file mode 100644 index 0000000..d80081d --- /dev/null +++ b/HelloMavenly/out/artifacts/Maven_web_war_exploded/WEB-INF/web.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/HelloMavenly/pom.xml b/HelloMavenly/pom.xml new file mode 100644 index 0000000..ae43f14 --- /dev/null +++ b/HelloMavenly/pom.xml @@ -0,0 +1,39 @@ + + + 4.0.0 + + org.example + Maven_web + 1.0-SNAPSHOT + + + + + org.junit.jupiter + junit-jupiter-api + 5.9.3 + test + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.3.0 + + UTF-8 + UTF-8 + UTF-8 + + + + + + + + \ No newline at end of file diff --git a/HelloMavenly/src/main/webapp/HelloMaven.html b/HelloMavenly/src/main/webapp/HelloMaven.html new file mode 100644 index 0000000..65beee0 --- /dev/null +++ b/HelloMavenly/src/main/webapp/HelloMaven.html @@ -0,0 +1,11 @@ + + + + + HelloMaven + + +

Hello Maven!

> +

Hello Maven!!!!

> + + \ No newline at end of file diff --git a/HelloMavenly/src/test/java/CalculatorTest.java b/HelloMavenly/src/test/java/CalculatorTest.java new file mode 100644 index 0000000..0c32761 --- /dev/null +++ b/HelloMavenly/src/test/java/CalculatorTest.java @@ -0,0 +1,29 @@ + + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.*; +public class CalculatorTest { + @Test + public void testAdd() { + //Calculator calculator = new Calculator(); + //int result = calculator.add(3,5); + //assertEquals(8, result); + int n=4; + int fib=0; + if (n == 1 || n == 2) { + fib= 1; + } else { + int a = 1; + int b = 1; + fib = 0; + for (int i = 3; i <= n; i++) { + fib = a + b; + a = b; + b = fib; + } + } + Assertions.assertEquals(fib,4); + } +} diff --git a/HelloMavenly/target/Maven_web-1.0-SNAPSHOT/HelloMaven.html b/HelloMavenly/target/Maven_web-1.0-SNAPSHOT/HelloMaven.html new file mode 100644 index 0000000..e69de29 diff --git a/HelloMavenly/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml b/HelloMavenly/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml new file mode 100644 index 0000000..8b89c97 --- /dev/null +++ b/HelloMavenly/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml @@ -0,0 +1,10 @@ + + + + + + + + + src/main/javadoc + diff --git a/HelloMavenly/target/maven-archiver/pom.properties b/HelloMavenly/target/maven-archiver/pom.properties new file mode 100644 index 0000000..4047b47 --- /dev/null +++ b/HelloMavenly/target/maven-archiver/pom.properties @@ -0,0 +1,3 @@ +artifactId=Maven_web +groupId=org.example +version=1.0-SNAPSHOT diff --git a/HelloMavenly/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/HelloMavenly/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..e69de29 diff --git a/HelloMavenly/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/HelloMavenly/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..e69de29 diff --git a/HelloMavenly/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/HelloMavenly/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst new file mode 100644 index 0000000..e69de29 diff --git a/HelloMavenly/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/HelloMavenly/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst new file mode 100644 index 0000000..412b80e --- /dev/null +++ b/HelloMavenly/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -0,0 +1 @@ +E:\研究生\学校课程\软件开发与管理\Maven\HelloMavenly\src\test\java\CalculatorTest.java diff --git a/HelloMavenly/target/surefire-reports/2024-03-25T21-06-33_307.dumpstream b/HelloMavenly/target/surefire-reports/2024-03-25T21-06-33_307.dumpstream new file mode 100644 index 0000000..bc0c66e --- /dev/null +++ b/HelloMavenly/target/surefire-reports/2024-03-25T21-06-33_307.dumpstream @@ -0,0 +1,5 @@ +# Created at 2024-03-25T21:06:36.552 +Boot Manifest-JAR contains absolute paths in classpath 'E:\研究生\学校课程\软件开发与管理\Maven\HelloMavenly\target\test-classes' +Hint: -Djdk.net.URLClassPath.disableClassPathURLCheck=true +'other' has different root + diff --git a/HelloMavenly/target/surefire-reports/2024-03-25T21-26-01_315.dumpstream b/HelloMavenly/target/surefire-reports/2024-03-25T21-26-01_315.dumpstream new file mode 100644 index 0000000..f2f8e24 --- /dev/null +++ b/HelloMavenly/target/surefire-reports/2024-03-25T21-26-01_315.dumpstream @@ -0,0 +1,5 @@ +# Created at 2024-03-25T21:26:01.451 +Boot Manifest-JAR contains absolute paths in classpath 'E:\研究生\学校课程\软件开发与管理\Maven\HelloMavenly\target\test-classes' +Hint: -Djdk.net.URLClassPath.disableClassPathURLCheck=true +'other' has different root + diff --git a/HelloMavenly/target/surefire-reports/CalculatorTest.txt b/HelloMavenly/target/surefire-reports/CalculatorTest.txt new file mode 100644 index 0000000..645d16e --- /dev/null +++ b/HelloMavenly/target/surefire-reports/CalculatorTest.txt @@ -0,0 +1,83 @@ +------------------------------------------------------------------------------- +Test set: CalculatorTest +------------------------------------------------------------------------------- +Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.054 s <<< FAILURE! -- in CalculatorTest +CalculatorTest.testAdd -- Time elapsed: 0.036 s <<< FAILURE! +org.opentest4j.AssertionFailedError: expected: <3> but was: <4> + at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) + at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) + at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) + at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) + at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145) + at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:528) + at CalculatorTest.testAdd(CalculatorTest.java:27) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) + at java.base/java.lang.reflect.Method.invoke(Method.java:580) + at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727) + at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) + at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) + at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156) + at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147) + at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86) + at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) + at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) + at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) + at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) + at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) + at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) + at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92) + at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) + at java.base/java.util.ArrayList.forEach(ArrayList.java:1597) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) + at java.base/java.util.ArrayList.forEach(ArrayList.java:1597) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) + at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) + at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) + at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) + at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) + at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) + at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) + at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) + at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) + diff --git a/HelloMavenly/target/surefire-reports/TEST-CalculatorTest.xml b/HelloMavenly/target/surefire-reports/TEST-CalculatorTest.xml new file mode 100644 index 0000000..9bb17c4 --- /dev/null +++ b/HelloMavenly/target/surefire-reports/TEST-CalculatorTest.xml @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + but was: <4> + at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) + at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) + at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) + at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) + at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145) + at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:528) + at CalculatorTest.testAdd(CalculatorTest.java:27) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) + at java.base/java.lang.reflect.Method.invoke(Method.java:580) + at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727) + at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) + at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) + at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156) + at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147) + at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86) + at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) + at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) + at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) + at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) + at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) + at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) + at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92) + at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138) + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) + at java.base/java.util.ArrayList.forEach(ArrayList.java:1597) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) + at java.base/java.util.ArrayList.forEach(ArrayList.java:1597) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) + at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) + at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) + at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) + at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) + at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) + at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) + at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) + at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) + at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) +]]> + + \ No newline at end of file diff --git a/HelloMavenly/web/HelloMaven.html b/HelloMavenly/web/HelloMaven.html new file mode 100644 index 0000000..65beee0 --- /dev/null +++ b/HelloMavenly/web/HelloMaven.html @@ -0,0 +1,11 @@ + + + + + HelloMaven + + +

Hello Maven!

> +

Hello Maven!!!!

> + + \ No newline at end of file diff --git a/HelloMavenly/web/WEB-INF/web.xml b/HelloMavenly/web/WEB-INF/web.xml new file mode 100644 index 0000000..d80081d --- /dev/null +++ b/HelloMavenly/web/WEB-INF/web.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file -- Gitee From 9a3b960265f4942f824b77559490d7c9f1013690 Mon Sep 17 00:00:00 2001 From: li-ying9160 <916029788@qq.com> Date: Mon, 15 Apr 2024 23:42:29 +0800 Subject: [PATCH 2/5] upadte HelloMaven.html --- HelloMavenly/src/main/webapp/HelloMaven.html | 1 + 1 file changed, 1 insertion(+) diff --git a/HelloMavenly/src/main/webapp/HelloMaven.html b/HelloMavenly/src/main/webapp/HelloMaven.html index 65beee0..b65439e 100644 --- a/HelloMavenly/src/main/webapp/HelloMaven.html +++ b/HelloMavenly/src/main/webapp/HelloMaven.html @@ -7,5 +7,6 @@

Hello Maven!

>

Hello Maven!!!!

> +

THIS IS UPDATE OF GIT

\ No newline at end of file -- Gitee From 8918483c19cdfd03598e4bb2aff94e760016d607 Mon Sep 17 00:00:00 2001 From: li-ying9160 <916029788@qq.com> Date: Mon, 15 Apr 2024 23:50:51 +0800 Subject: [PATCH 3/5] add outdelete.html --- HelloMavenly/src/main/webapp/outdelete.html | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 HelloMavenly/src/main/webapp/outdelete.html diff --git a/HelloMavenly/src/main/webapp/outdelete.html b/HelloMavenly/src/main/webapp/outdelete.html new file mode 100644 index 0000000..e69de29 -- Gitee From c431b28cdd7a14ba20dbb9531edfa0137dd42b58 Mon Sep 17 00:00:00 2001 From: li-ying9160 <916029788@qq.com> Date: Mon, 15 Apr 2024 23:55:08 +0800 Subject: [PATCH 4/5] remove outdelete.html --- HelloMavenly/src/main/webapp/outdelete.html | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 HelloMavenly/src/main/webapp/outdelete.html diff --git a/HelloMavenly/src/main/webapp/outdelete.html b/HelloMavenly/src/main/webapp/outdelete.html deleted file mode 100644 index e69de29..0000000 -- Gitee From c10271e2c39f97ba2eaa37993d932089d6c7b610 Mon Sep 17 00:00:00 2001 From: li-ying9160 <916029788@qq.com> Date: Tue, 16 Apr 2024 00:42:08 +0800 Subject: [PATCH 5/5] add --- HelloMavenly/src/main/webapp/outdelete.html | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 HelloMavenly/src/main/webapp/outdelete.html diff --git a/HelloMavenly/src/main/webapp/outdelete.html b/HelloMavenly/src/main/webapp/outdelete.html new file mode 100644 index 0000000..e69de29 -- Gitee