본문 바로가기

IT/Maven

(5)
[Maven] 빌드 시 테스트 Skip하기 pom.xml에 아래와 같은 코드를 입력하면 됩니다. ... org.apache.maven.plugins maven-surefire-plugin true ...
[Maven] 원하는 package 명으로 빌드하기 jar, war 파일로 소스를 빌드할 경우 ${arartifactId} +"-"+ ${version} 형식으로 이름이 지어진다. (ex : bamdule-1.0) 빌드 시 원하는 package 명으로 지정하려면 다음과 같이 pom.xml을 수정한다. ... ${project.artifactId} org.springframework.boot spring-boot-maven-plugin ...
[Maven] META-INF/context.xml 제외시키기 배포 시 META-INF에 context.xml 파일이 존재하면 문제를 발생시킬 수 있다. pom.xml org.apache.maven.plugins maven-war-plugin 2.6 ${build.war.name} false META-INF/context.xml META-INF/context.xml
[Maven] Windows 10 maven 설치하기 1. JAVA 8 설치 2020/04/07 - [IT/JAVA] - [Java] Windows 10 Open-JDK 8 다운로드 및 환경변수 설정 [Java] Windows 10 Open-JDK 8 다운로드 및 환경변수 설정 1. Open JDK 8 다운로드 오라클의 OpenJdk https://jdk.java.net/java-se-ri/8-MR3 OpenJdk https://github.com/ojdkbuild/ojdkbuild 위 경로 중 한개를 선택해서 JDK를 설치합니다. 2. JDK 환경변수 등록 내 PC.. bamdule.tistory.com 2. maven 설치 https://maven.apache.org/download.cgi# Maven – Download Apache Maven Down..
[Maven] Central 501 HTTPS Required 에러 Maven build 시 Central 501 HTTPS Required 에러가 난다면 Maven Central에 대한 모든 URL 참조를 표준 HTTPS로 바꿔야합니다 Effective January 15, 2020, The Central Repository no longer supports insecure communication over plain HTTP and requires that all requests to the repository are encrypted over HTTPS. If you're receiving this error, then you need to replace all URL references to Maven Central with their canonical HTTPS..