Created
September 28, 2016 00:11
-
-
Save alopresto/1157967ec70da8a25c176c82911613c8 to your computer and use it in GitHub Desktop.
The command line input and output of the Maven packaging and script invocation
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
hw12203:/Users/alopresto/Workspace/scratch/process-test (master) alopresto | |
π 142s @ 17:09:54 $ ll | |
total 40 | |
drwxr-xr-x 9 alopresto staff 306B Sep 27 17:07 ./ | |
drwxr-xr-x 48 alopresto staff 1.6K Sep 27 16:49 ../ | |
-rw-r--r--@ 1 alopresto staff 6.0K Sep 27 17:06 .DS_Store | |
drwxr-xr-x 11 alopresto staff 374B Sep 27 17:09 .idea/ | |
-rw-r--r-- 1 alopresto staff 642B Sep 27 16:56 pom.xml | |
-rw-r--r-- 1 alopresto staff 1.0K Sep 27 17:03 process-test-java.iml | |
-rwxr-xr-x 1 alopresto staff 82B Sep 27 17:07 script.sh* | |
drwxr-xr-x 4 alopresto staff 136B Sep 27 16:54 src/ | |
drwxr-xr-x 6 alopresto staff 204B Sep 27 17:07 target/ | |
hw12203:/Users/alopresto/Workspace/scratch/process-test (master) alopresto | |
π 3s @ 17:09:58 $ mvn clean package | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building process-test 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ process-test --- | |
[INFO] Deleting /Users/alopresto/Workspace/scratch/process-test/target | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ process-test --- | |
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! | |
[INFO] Copying 0 resource | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ process-test --- | |
[INFO] Changes detected - recompiling the module! | |
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! | |
[INFO] Compiling 1 source file to /Users/alopresto/Workspace/scratch/process-test/target/classes | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ process-test --- | |
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! | |
[INFO] skip non existing resourceDirectory /Users/alopresto/Workspace/scratch/process-test/src/test/resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ process-test --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ process-test --- | |
[INFO] No tests to run. | |
[INFO] | |
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ process-test --- | |
[INFO] Building jar: /Users/alopresto/Workspace/scratch/process-test/target/process-test-1.0-SNAPSHOT.jar | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD SUCCESS | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 1.374 s | |
[INFO] Finished at: 2016-09-27T17:10:08-07:00 | |
[INFO] Final Memory: 20M/1029M | |
[INFO] ------------------------------------------------------------------------ | |
hw12203:/Users/alopresto/Workspace/scratch/process-test (master) alopresto | |
π 10s @ 17:10:09 $ ll target | |
total 8 | |
drwxr-xr-x 6 alopresto staff 204B Sep 27 17:10 ./ | |
drwxr-xr-x 9 alopresto staff 306B Sep 27 17:10 ../ | |
drwxr-xr-x 3 alopresto staff 102B Sep 27 17:10 classes/ | |
drwxr-xr-x 3 alopresto staff 102B Sep 27 17:10 maven-archiver/ | |
drwxr-xr-x 3 alopresto staff 102B Sep 27 17:10 maven-status/ | |
-rw-r--r-- 1 alopresto staff 2.6K Sep 27 17:10 process-test-1.0-SNAPSHOT.jar | |
hw12203:/Users/alopresto/Workspace/scratch/process-test (master) alopresto | |
π 3s @ 17:10:13 $ chmod +x script.sh | |
hw12203:/Users/alopresto/Workspace/scratch/process-test (master) alopresto | |
π 8s @ 17:10:22 $ ./script.sh | |
[System out] Provided arguments: | |
[System err] Provided arguments: | |
hw12203:/Users/alopresto/Workspace/scratch/process-test (master) alopresto | |
π 3s @ 17:10:26 $ ./script.sh 1 2 word 3 | |
[System out] Provided arguments: 1 2 word 3 | |
[System err] Provided arguments: 1 2 word 3 | |
hw12203:/Users/alopresto/Workspace/scratch/process-test (master) alopresto | |
π 7s @ 17:10:34 $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment