myeclipseではmavenを導入します。

982 ワード

もっと読む
2.myeclipseではmavenを使用しています。

myeclipse    (      Eclipse  Mars,       Maven,       m2eclipse  )

   Eclipse,     Help --> Install NewSoftware    Add    
Name: m2e
location: http://download.eclipse.org/technology/m2e/releases

  mvn
window --> preferences --> Maven --> User Settings

  maven  
1. Maven --> Maven Project
2. maven-archetype-quickstart 1.1
3.   
Group Id: com.andrew.helloworld
Artifact Id: HelloWorld
Version: 0.0.1-SNAPSHOT
Package: com.andrew.helloWorld

      :
window --> preferences --> Maven  
Download Artifact Sources
Download Artifact JavaDoc

    jre  jdk
window --> preferences --> Java --> Installed JREs

  pom.xml       
Dependency Hierarchy   pom   jar      
   --> run as
--> Maven clean
--> Maven test