goal을 dependency:sources 이걸로 걸면 의존성 코드 소스가 셋팅 된다 플러그인 설정은
1
2
3
4
5
6
7
8
9
10
11
<plugin>
 <groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-source-plugin</artifactId>
 <executions>
  <execution>
   <goals>
    <goal>jar</goal>
   </goals>
  </execution>
 </executions>
</plugin>
이렇게 해면 install 시 소스까지 같이 배포됨

+ Recent posts