Maven 快速入门指南 [英] Maven Quick-start Guide

查看:62
本文介绍了Maven 快速入门指南的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的任务是为工作中的新程序设置开发环境.该负责人选择 Eclipse 作为其 OSGi 支持的 IDE,并选择 Maven 作为构建实用程序.

I'm tasked with getting a development environment set up for a new program at work. The lead has chosen Eclipse as the IDE for its OSGi support and Maven as the build utility.

我一直在努力将 Maven 与 Eclipse 集成,我不情愿地宣布成功并继续前进.

I've struggled through getting Maven integrated with Eclipse and I'm grudgingly declaring success and moving forward.

我的问题:是否有任何形式的 Maven 入门指南?我发现了大量文档,其中大部分都非常非常详细,但同时也无济于事.我下载了一本 300 多页的书,其中详细介绍了有关 POM 的细节,但没有告诉您如何从现有源初始化项目.

My question: is there any sort of guide to getting started with Maven? I've found boatloads of documentation, most all of it very, very detailed and simultaneously unhelpful. I downloaded a 300+ page book that goes into excruciating detail about POMs, but doesn't tell you how to initialize a project from existing source.

希望这个问题能指向我遗漏的内容或为关注我的人提供链接集合.

Hopefully, this question will result in a pointer to something I missed or a collection of links for those who follow me.

推荐答案

如果您是 Maven 新手,我仍然建议您从 Maven by Example,Sonatype 的第一本"书籍.

If you are new to Maven, I'd still suggest to start with Maven by Example, the "first" book of Sonatype.

这本书是一个例子驱动的介绍.如果您不熟悉 Maven,请先阅读本书.它将介绍所有基础知识,并带您一路了解多模块企业项目.

This book is an example-driven introduction. If you are new to Maven, read this book first. It will introduce all of the basics and take you all the way up to a multi-module enterprise project.

Maven by Example 真的没有那么大阅读它绝对值得.当然,那里还有其他教程,您无需阅读即可开始使用,但事实是,这本书是为初学者编写的,将为您提供了解工作原理的基础.它只会为您节省一些时间.

Maven by Example is really not that big and reading it is definitely worth it. Sure, there are other tutorials around there and you could get started without reading it but the fact is that this book has been written for beginners and will give you the basis to understand how things work. It will just save you some time later.

稍后,使用Maven:完整参考作为...完整的参考.

Later, use Maven: The Complete Reference as... complete reference.

这篇关于Maven 快速入门指南的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆