Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Windows
- gson
- MySQL
- wildfly
- JPA
- springboot
- JavaScript
- IntelliJ
- Java
- useEffect
- Kubernetes
- react
- BPMN
- tibero
- LOG4J
- nginx
- nodejs
- gradle
- Spring
- VSCode
- log4j2
- NCP
- kubectl
- database
- dbeaver
- docker
- intellijIDEA
- Git
- jetbrains
- mybatis
Archives
- Today
- Total
두 손끝의 창조자
maven package 할 때 소스도 패키지 하기 본문
의존성 넣기
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.0</version>
<type>maven-plugin</type>
</dependency>
플러그인 넣기
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
실행
mvn package
maven.apache.org/plugin-developers/cookbook/attach-source-javadoc-artifacts.html
반응형
Comments