JAVA OPEN API2014. 3. 20. 21:21

1. pom.xml 수정

2. maven 실행

3. 소스 확인 방법

 

[상세 설명]

1. pom.xml

 <plugins>
   <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-eclipse-plugin</artifactId>
    <version>2.9</version>
    <configuration>
     <downloadSources>true</downloadSources>
     <downloadJavadocs>false</downloadJavadocs>

    </configuration>
   </plugin>

</plugins>

2. mvn eclipse:clean eclipse:eclipse  ( 여기서 다운로드 된다 )

3. .classpath 확인해보면 변경된 것을 확인할 수 있다

<classpathentry kind="var" path="M2_REPO/org/springframework/spring-core/3.2.2.RELEASE/spring-core-3.2.2.RELEASE.jar" sourcepath="M2_REPO/org/springframework/spring-core/3.2.2.RELEASE/spring-core-3.2.2.RELEASE-sources.jar"/>

Posted by 선한열심