How to use Maven in my Java Project and Why?

2020-05-15 17:22发布

I am trying to figure out the use of Maven and I got many articles describing its features and uses. But I am just not able to understand the actual use of Maven from productivity standpoint.

From what I am used to in our school projects was just create a new Java project in Eclipse, write your Code, create a .war (if web-based) and paste the code to the webapps folder of Tomcat and start the server!

So,

  1. Where does Maven come into picture? I have used Ant and I understand Ants benefit of a standardized build process. But why do we need an advanced Ant in form of Maven?

  2. In any case, I need to use it, so where do I get started - basic flow, some good tutorials?

Thanks

标签: java maven-2
7条回答
叼着烟拽天下
2楼-- · 2020-05-15 17:50

If you are within an organization, try to build a maven repository proxy. Artifactory is a good option.

查看更多
登录 后发表回答