Created
September 25, 2018 07:06
-
-
Save dominikbrandon/94c1b3bbe74831f2860d75a59a75846c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[domin@domin-hp commandlineJson]$ mvn clean package | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] -------------< com.sap.apimgmt.analytics:commandlineJson >-------------- | |
[INFO] Building commandlineJson 0.0.1-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ commandlineJson --- | |
[INFO] | |
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ commandlineJson --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] Copying 1 resource | |
[INFO] Copying 0 resource | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ commandlineJson --- | |
[INFO] Changes detected - recompiling the module! | |
[INFO] Compiling 3 source files to /home/domin/tmp/springbootcommandline/commandlineJson/target/classes | |
[INFO] | |
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ commandlineJson --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] skip non existing resourceDirectory /home/domin/tmp/springbootcommandline/commandlineJson/src/test/resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ commandlineJson --- | |
[INFO] No sources to compile | |
[INFO] | |
[INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ commandlineJson --- | |
[INFO] No tests to run. | |
[INFO] | |
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ commandlineJson --- | |
[INFO] Building jar: /home/domin/tmp/springbootcommandline/commandlineJson/target/commandlineJson-0.0.1-SNAPSHOT.jar | |
[INFO] | |
[INFO] --- spring-boot-maven-plugin:2.0.5.RELEASE:repackage (default) @ commandlineJson --- | |
[INFO] Attaching archive: /home/domin/tmp/springbootcommandline/commandlineJson/target/commandlineJson-0.0.1-SNAPSHOT-exe.jar, with classifier: exe | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD SUCCESS | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 2.751 s | |
[INFO] Finished at: 2018-09-25T09:03:33+02:00 | |
[INFO] ------------------------------------------------------------------------ | |
[domin@domin-hp commandlineJson]$ ls | |
mvnw mvnw.cmd pom.xml src target | |
[domin@domin-hp commandlineJson]$ cd target/ | |
[domin@domin-hp target]$ ls | |
classes commandlineJson-0.0.1-SNAPSHOT-exe.jar commandlineJson-0.0.1-SNAPSHOT.jar generated-sources maven-archiver maven-status | |
[domin@domin-hp target]$ java -jar commandlineJson-0.0.1-SNAPSHOT-exe.jar | |
. ____ _ __ _ _ | |
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ | |
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ | |
\\/ ___)| |_)| | | | | || (_| | ) ) ) ) | |
' |____| .__|_| |_|_| |_\__, | / / / / | |
=========|_|==============|___/=/_/_/_/ | |
:: Spring Boot :: (v2.0.5.RELEASE) | |
2018-09-25 09:04:14.311 INFO 4161 --- [ main] com.demo.CommandlineJsonApplication : Starting CommandlineJsonApplication v0.0.1-SNAPSHOT on domin-hp with PID 4161 (/home/domin/tmp/springbootcommandline/commandlineJson/target/commandlineJson-0.0.1-SNAPSHOT-exe.jar started by domin in /home/domin/tmp/springbootcommandline/commandlineJson/target) | |
2018-09-25 09:04:14.315 INFO 4161 --- [ main] com.demo.CommandlineJsonApplication : No active profile set, falling back to default profiles: default | |
2018-09-25 09:04:14.357 INFO 4161 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@7bfcd12c: startup date [Tue Sep 25 09:04:14 CEST 2018]; root of context hierarchy | |
2018-09-25 09:04:14.832 INFO 4161 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup | |
2018-09-25 09:04:14.846 INFO 4161 --- [ main] com.demo.CommandlineJsonApplication : Started CommandlineJsonApplication in 0.837 seconds (JVM running for 1.231) | |
Value of test property :from application | |
2018-09-25 09:04:14.849 INFO 4161 --- [ Thread-2] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@7bfcd12c: startup date [Tue Sep 25 09:04:14 CEST 2018]; root of context hierarchy | |
2018-09-25 09:04:14.851 INFO 4161 --- [ Thread-2] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown | |
[domin@domin-hp target]$ java -jar commandlineJson-0.0.1-SNAPSHOT-exe.jar --spring.application.json='{"testProperty":"test"}' | |
. ____ _ __ _ _ | |
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ | |
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ | |
\\/ ___)| |_)| | | | | || (_| | ) ) ) ) | |
' |____| .__|_| |_|_| |_\__, | / / / / | |
=========|_|==============|___/=/_/_/_/ | |
:: Spring Boot :: (v2.0.5.RELEASE) | |
2018-09-25 09:04:54.888 INFO 4185 --- [ main] com.demo.CommandlineJsonApplication : Starting CommandlineJsonApplication v0.0.1-SNAPSHOT on domin-hp with PID 4185 (/home/domin/tmp/springbootcommandline/commandlineJson/target/commandlineJson-0.0.1-SNAPSHOT-exe.jar started by domin in /home/domin/tmp/springbootcommandline/commandlineJson/target) | |
2018-09-25 09:04:54.891 INFO 4185 --- [ main] com.demo.CommandlineJsonApplication : No active profile set, falling back to default profiles: default | |
2018-09-25 09:04:54.931 INFO 4185 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@3f102e87: startup date [Tue Sep 25 09:04:54 CEST 2018]; root of context hierarchy | |
2018-09-25 09:04:55.439 INFO 4185 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup | |
2018-09-25 09:04:55.452 INFO 4185 --- [ main] com.demo.CommandlineJsonApplication : Started CommandlineJsonApplication in 0.884 seconds (JVM running for 1.27) | |
Value of test property :test | |
2018-09-25 09:04:55.455 INFO 4185 --- [ Thread-2] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@3f102e87: startup date [Tue Sep 25 09:04:54 CEST 2018]; root of context hierarchy | |
2018-09-25 09:04:55.457 INFO 4185 --- [ Thread-2] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment