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 |
Tags
- JPA
- intellijIDEA
- VSCode
- Kubernetes
- Java
- docker
- Spring
- useEffect
- nodejs
- NCP
- mybatis
- Windows
- log4j2
- tibero
- Linux
- sapfiorielements
- dbeaver
- IntelliJ
- springboot
- nginx
- Git
- JavaScript
- maven
- gradle
- LOG4J
- MySQL
- BPMN
- react
- database
- gson
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
Maven – Cookbook - How to attach source and javadoc artifacts
maven.apache.org
반응형
Comments