Here's the steps using Eclipse and M2Eclipse:
- Right click on Project, choose Maven -> Enable Dependency Management
- Change project layout, add src/main/java, src/main/resources and src/test/java
- Set output folder to target/classes or target/test-classes in project properties
- Add pom.xml, and fix missing dependencies (You can use nexus or artifactory.)
- Run mvn install and see if everything works
沒有留言:
張貼留言