Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

이제 mvnw  커맨드를 실행하여 Maven을 실행할 수 있습니다.

Code Block
languagebashtext
linenumberstrue
# ./mvnw -Dmaven.test.skip=true clean package                                                                                                                        20:24:10 git:(master) ✗ 
Downloading https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping /Users/fharenheit/.m2/wrapper/dists/apache-maven-3.6.3-bin/lm9vem38rfmjij3jj0mk5bvnt/apache-maven-3.6.3-bin.zip to /Users/fharenheit/.m2/wrapper/dists/apache-maven-3.6.3-bin/lm9vem38rfmjij3jj0mk5bvnt
Set executable permissions for: /Users/fharenheit/.m2/wrapper/dists/apache-maven-3.6.3-bin/lm9vem38rfmjij3jj0mk5bvnt/apache-maven-3.6.3/bin/mvn
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------< com.example:authenticating-ldap >-------------------
[INFO] Building authenticating-ldap 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ authenticating-ldap ---
[INFO] Deleting /Users/fharenheit/Downloads/gs-authenticating-ldap/complete/target
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ authenticating-ldap ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ authenticating-ldap ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /Users/fharenheit/Downloads/gs-authenticating-ldap/complete/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ authenticating-ldap ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ authenticating-ldap ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ authenticating-ldap ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ authenticating-ldap ---
[INFO] Building jar: /Users/fharenheit/Downloads/gs-authenticating-ldap/complete/target/authenticating-ldap-0.0.1-SNAPSHOT.jar
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.2.6.RELEASE:repackage (repackage) @ authenticating-ldap ---
[INFO] Replacing main artifact with repackaged archive
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.669 s
[INFO] Finished at: 2020-04-19T20:25:26+09:00
[INFO] ------------------------------------------------------------------------

...

Maven Wrapper를 실행하면 사용자의 홈 디렉토리에 다음의 위치에 다운로드를 하고 사용합니다.

Code Block
languagebashtext
linenumberstrue
# cd ~/.m2/wrapper/dists
# tree                                                                                                                                                                                                      .
└── apache-maven-3.6.3-bin
    └── lm9vem38rfmjij3jj0mk5bvnt
        ├── apache-maven-3.6.3
        │   ├── LICENSE
        │   ├── NOTICE
        │   ├── README.txt
        │   ├── bin
        │   │   ├── m2.conf
        │   │   ├── mvn
        │   │   ├── mvn.cmd
        │   │   ├── mvnDebug
        │   │   ├── mvnDebug.cmd
        │   │   └── mvnyjp
        │   ├── boot
        │   │   ├── plexus-classworlds-2.6.0.jar
        │   │   └── plexus-classworlds.license
        │   ├── conf
        │   │   ├── logging
        │   │   │   └── simplelogger.properties
        │   │   ├── settings.xml
        │   │   └── toolchains.xml
        │   └── lib
        │       ├── cdi-api-1.0.jar
        │       ├── cdi-api.license
        │       ├── commons-cli-1.4.jar
        │       ├── commons-cli.license
        │       ├── commons-io-2.5.jar
        │       ├── commons-io.license
        │       ├── commons-lang3-3.8.1.jar
        │       ├── commons-lang3.license
        │       ├── ext
        │       │   └── README.txt
        │       ├── guava-25.1-android.jar
        │       ├── guava.license
        │       ├── guice-4.2.1-no_aop.jar
        │       ├── guice.license
        │       ├── jansi-1.17.1.jar
        │       ├── jansi-native
        │       │   ├── README.txt
        │       │   ├── freebsd32
        │       │   │   └── libjansi.so
        │       │   ├── freebsd64
        │       │   │   └── libjansi.so
        │       │   ├── linux32
        │       │   │   └── libjansi.so
        │       │   ├── linux64
        │       │   │   └── libjansi.so
        │       │   ├── osx
        │       │   │   └── libjansi.jnilib
        │       │   ├── windows32
        │       │   │   └── jansi.dll
        │       │   └── windows64
        │       │       └── jansi.dll
        │       ├── jansi.license
        │       ├── javax.inject-1.jar
        │       ├── javax.inject.license
        │       ├── jcl-over-slf4j-1.7.29.jar
        │       ├── jcl-over-slf4j.license
        │       ├── jsoup-1.12.1.jar
        │       ├── jsoup.license
        │       ├── jsr250-api-1.0.jar
        │       ├── jsr250-api.license
        │       ├── maven-artifact-3.6.3.jar
        │       ├── maven-builder-support-3.6.3.jar
        │       ├── maven-compat-3.6.3.jar
        │       ├── maven-core-3.6.3.jar
        │       ├── maven-embedder-3.6.3.jar
        │       ├── maven-model-3.6.3.jar
        │       ├── maven-model-builder-3.6.3.jar
        │       ├── maven-plugin-api-3.6.3.jar
        │       ├── maven-repository-metadata-3.6.3.jar
        │       ├── maven-resolver-api-1.4.1.jar
        │       ├── maven-resolver-connector-basic-1.4.1.jar
        │       ├── maven-resolver-impl-1.4.1.jar
        │       ├── maven-resolver-provider-3.6.3.jar
        │       ├── maven-resolver-spi-1.4.1.jar
        │       ├── maven-resolver-transport-wagon-1.4.1.jar
        │       ├── maven-resolver-util-1.4.1.jar
        │       ├── maven-settings-3.6.3.jar
        │       ├── maven-settings-builder-3.6.3.jar
        │       ├── maven-shared-utils-3.2.1.jar
        │       ├── maven-slf4j-provider-3.6.3.jar
        │       ├── org.eclipse.sisu.inject-0.3.4.jar
        │       ├── org.eclipse.sisu.inject.license
        │       ├── org.eclipse.sisu.plexus-0.3.4.jar
        │       ├── org.eclipse.sisu.plexus.license
        │       ├── plexus-cipher-1.7.jar
        │       ├── plexus-cipher.license
        │       ├── plexus-component-annotations-2.1.0.jar
        │       ├── plexus-component-annotations.license
        │       ├── plexus-interpolation-1.25.jar
        │       ├── plexus-interpolation.license
        │       ├── plexus-sec-dispatcher-1.4.jar
        │       ├── plexus-sec-dispatcher.license
        │       ├── plexus-utils-3.2.1.jar
        │       ├── plexus-utils.license
        │       ├── slf4j-api-1.7.29.jar
        │       ├── slf4j-api.license
        │       ├── wagon-file-3.3.4.jar
        │       ├── wagon-http-3.3.4-shaded.jar
        │       └── wagon-provider-api-3.3.4.jar
        └── apache-maven-3.6.3-bin.zip

17 directories, 85 files

...