admin 管理员组

文章数量: 887031


2024年1月5日发(作者:shell脚本if判断的用法)

_Springboot/debris-app "-=/Applications/IntelliJ IDEA /Contents/plugins/maven/lib/maven3" "-=/Applications/IntelliJ IDEA /Contents/plugins/maven/lib/maven3/bin/" "-=/Applications/IntelliJ IDEA /Contents/plugins/maven/lib/" "-javaagent:/Applications/IntelliJ IDEA /Contents/lib/idea_=58649:/Applications/IntelliJ IDEA /Contents/bin" -ng=UTF-8 -classpath "/Applications/IntelliJ IDEA /Contents/plugins/maven/lib/maven3/boot/"

er -n2020.1 package[INFO] Scanning [INFO]

[INFO] -----------------< :dockerfile-maven-plugin >-----------------[INFO] Building dockerfile-maven-plugin 0.0.1-SNAPSHOT[INFO] --------------------------------[ jar ]---------------------------------[INFO]

[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ dockerfile-maven-plugin ---[INFO] Using 'UTF-8' encoding to copy filtered resources.[INFO] Copying 1 resource[INFO] Copying 0 resource[INFO]

[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ dockerfile-maven-plugin ---[INFO] Nothing to compile - all classes are up to date[INFO]

[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ dockerfile-maven-plugin ---[INFO] Using 'UTF-8' encoding to copy filtered resources.[INFO] skip non existing resourceDirectory /Users/chenhd/code/DebrisApp_Springboot/debris-app/dockerfile-maven-plugin/src/test/resources[INFO]

[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ dockerfile-maven-plugin ---[INFO] Nothing to compile - all classes are up to date[INFO]

[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ dockerfile-maven-plugin ---[INFO]

[INFO] -------------------------------------------------------[INFO] T E S T S[INFO] -------------------------------------------------------[INFO] Running fileMavenPluginApplicationTests13:49:50.713 [main] DEBUG rapUtils - Instantiating CacheAwareContextLoaderDelegate from class [tCacheAwareContextLoaderDelegate]13:49:50.735 [main] DEBUG rapUtils - Instantiating BootstrapContext using constructor [public tBootstrapContext(,wareContextLoaderDelegate)]13:49:50.762 [main] DEBUG rapUtils - Instantiating TestContextBootstrapper for test class [fileMavenPluginApplicationTests] from class [BootTestContextBootstrapper]13:49:50.781 [main] INFO BootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [fileMavenPluginApplicationTests], using SpringBootContextLoader13:49:50.785 [main] DEBUG ctContextLoader - Did not detect default resource location for test class [fileMavenPluginApplicationTests]: class path resource [com/naylor/dockerfilemavenplugin/] does not exist13:49:50.785 [main] DEBUG ctContextLoader - Did not detect default resource location for test class [fileMavenPluginApplicationTests]: class path resource [com/naylor/dockerfilemavenplugin/] does not exist13:49:50.785 [main] INFO ctContextLoader - Could not detect default resource locations for test class [fileMavenPluginApplicationTests]: no resource found for suffixes {-, }.13:49:50.786 [main] INFO tionConfigContextLoaderUtils - Could not detect default configuration classes for test class [fileMavenPluginApplicationTests]: DockerfileMavenPluginApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.13:49:50.826 [main] DEBUG ProfilesUtils - Could not find an 'annotation declaring class' for annotation type [Profiles] and class [fileMavenPluginApplicationTests]13:49:50.926 [main] DEBUG athScanningCandidateComponentProvider - Identified candidate component class: file [/Users/chenhd/code/DebrisApp_Springboot/debris-app/dockerfile-maven-plugin/target/classes/com/naylor/dockerfilemavenplugin/]13:49:50.932 [main] INFO BootTestContextBootstrapper - Found @SpringBootConfiguration fileMavenPluginApplication for test class fileMavenPluginApplicationTests13:49:51.069 [main] DEBUG BootTestContextBootstrapper - @TestExecutionListeners is not present for class [fileMavenPluginApplicationTests]: using defaults.13:49:51.070 [main] INFO BootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/ies]: [oTestExecutionListener, ocksTestExecutionListener, csTestExecutionListener, stServiceServerResetTestExecutionListener, cPrintOnlyOnFailureTestExecutionListener, verTestExecutionListener, bServiceServerTestExecutionListener, tTestExecutionListener, sContextBeforeModesTestExecutionListener,

encyInjectionTestExecutionListener, sContextTestExecutionListener, ctionalTestExecutionListener, iptsTestExecutionListener, ublishingTestExecutionListener]13:49:51.096 [main] DEBUG BootTestContextBootstrapper - Skipping candidate TestExecutionListener [ctionalTestExecutionListener] due to a missing dependency. Specify custom listener classes

or make the default listener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]13:49:51.098 [main] DEBUG BootTestContextBootstrapper - Skipping candidate TestExecutionListener [iptsTestExecutionListener] due to a missing dependency. Specify custom listener classes or make the default listener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]

13:49:51.098 [main] INFO BootTestContextBootstrapper - Using TestExecutionListeners: [tTestExecutionListener@5acf93bb, sContextBeforeModesTestExecutionListener@7e7be63f, oTestExecutionListener@6cd28fa7, BootDependencyInjectionTestExecutionListener@614ca7df, sContextTestExecutionListener@4738a206, ublishingTestExecutionListener@66d3eec0, ocksTestExecutionListener@1e04fa0a, csTestExecutionListener@1af2d44a, stServiceServerResetTestExecutionListener@18d87d80, cPrintOnlyOnFailureTestExecutionListener@618425b5, verTestExecutionListener@58695725, bServiceServerTestExecutionListener@543588e6]13:49:51.114 [main] DEBUG ctDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@209da20d testClass = DockerfileMavenPluginApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@e15b7e8 testClass = DockerfileMavenPluginApplicationTests, locations = '{}', classes = '{class fileMavenPluginApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{BootTestContextBootstrapper=true}', contextCustomizers = set[eFilterContextCustomizer@27ae2fd0, ateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4278a03f, oContextCustomizer@0, stTemplateContextCustomizer@2bbf180e, tyMappingContextCustomizer@0, verContextCustomizerFactory$Customizer@96def03, BootTestArgs@1], resourceBasePath = 'src/main/webapp', contextLoader = 'BootContextLoader', parent = [null]], attributes = map['teListener' -> true]], class annotated with @DirtiesContext [false] with mode [null].13:49:51.152 [main] DEBUG opertySourceUtils - Adding inlined properties to environment: {d=false, BootTestContextBootstrapper=true} . ____ _ __ _ _ / / ___'_ __ _ _(_)_ __ __ _ ( ( )___ | '_ | '_| | '_ _` | ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |___, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (E)2020-10-12 13:49:51.449 INFO 16693 --- [ main] .fileMavenPluginApplicationTests : Starting DockerfileMavenPluginApplicationTests on neiyo with PID 16693 (started by chenhd in /Users/chenhd/code/DebrisApp_Springboot/debris-app/dockerfile-maven-plugin)2020-10-12 13:49:51.451 INFO 16693 --- [ main] .fileMavenPluginApplicationTests : No active profile set, falling back to default profiles: default2020-10-12 13:49:52.458 INFO 16693 --- [ main] PoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'2020-10-12 13:49:52.732 INFO 16693 --- [ main] .fileMavenPluginApplicationTests : Started DockerfileMavenPluginApplicationTests in 1.559 seconds (JVM running for 2.86)[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.313 s - in fileMavenPluginApplicationTests2020-10-12 13:49:53.042 INFO 16693 --- [extShutdownHook] PoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'[INFO]

[INFO] Results:[INFO]

[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0[INFO]

[INFO]

[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ dockerfile-maven-plugin ---[INFO] Building jar: /Users/chenhd/code/DebrisApp_Springboot/debris-app/dockerfile-maven-plugin/target/[INFO]

[INFO] --- spring-boot-maven-plugin:E:repackage (repackage) @ dockerfile-maven-plugin ---[INFO] Replacing main artifact with repackaged archive[INFO]

[INFO] --- dockerfile-maven-plugin:1.3.6:build (default) @ dockerfile-maven-plugin ---[INFO] Building Docker context /Users/chenhd/code/DebrisApp_Springboot/debris-app/dockerfile-maven-plugin[INFO]

[INFO] Image will be built as /dockerfile-maven-plugin:0.0.1-SNAPSHOT[INFO]

[INFO] Step 1/5 : FROM java:8[INFO]

[INFO] Pulling from library/java[INFO] Digest: sha256:c1ff613e8ba25833d2e1940da0940c3824f03f802c449f3d1815a66b7f8c0e9d[INFO] Status: Image is up to date for java:8[INFO] ---> d23bdf5b1b1b[INFO] Step 2/5 : EXPOSE 8080[INFO]

[INFO] ---> Using cache[INFO] ---> 75767466e0be[INFO] Step 3/5 : ARG JAR_FILE[INFO]

[INFO] ---> Using cache[INFO] ---> 2ecdd1234dc2[INFO] Step 4/5 : ADD target/${JAR_FILE} /[INFO]


本文标签: 脚本 用法 判断 作者