Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Maven User
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<p>Maven 2 aims to promotes patterns and best practices to the build of a project.</p> <p>In order to understand how Maven 2 works for your project, a little bit of theory is required.</p> <p>The basic concepts in the center of Maven 2 are :</p> <ul> <li>The <a class="confluence-link" href="/display/MAVENUSER/Maven+Concepts+Project+descriptor" data-linked-resource-id="48355" data-linked-resource-type="page" data-linked-resource-default-alias="Maven Concepts Project descriptor" data-base-url="http://docs.codehaus.org">project object model</a> or project desciptor which holds the definition of all the information needed by Maven 2 to build your project.</li> <li>The <a class="confluence-link unresolved" data-content-title="Maven Concepts Dependencies" data-linked-resource-default-alias="Maven Concepts Dependencies" href="#">Dependencies</a> are mainly the jar files of classes libraries used by the project during the build. The dependencies are defined in the project descriptor.</li> <li>The <a class="confluence-link" href="/display/MAVENUSER/Maven+Concepts+Directory+convention" data-linked-resource-id="48356" data-linked-resource-type="page" data-linked-resource-default-alias="Maven Concepts Directory convention" data-base-url="http://docs.codehaus.org">directory convention</a> used by Maven to promote the uniformity of Java projects.</li> <li>The <a class="confluence-link" href="/display/MAVENUSER/Maven+Concepts+Life+cycle" data-linked-resource-id="48357" data-linked-resource-type="page" data-linked-resource-default-alias="Maven Concepts Life cycle" data-base-url="http://docs.codehaus.org">build life cycle</a>which show the steps for building the project. Maven 2 is based on the fact that a project needs to pass through some predeined steps to be released, like always generating the sources before compiling and before running the unit tests on it.</li> <li>The <a class="confluence-link" href="/display/MAVENUSER/Maven+Concepts+Plugins" data-linked-resource-id="48358" data-linked-resource-type="page" data-linked-resource-default-alias="Maven Concepts Plugins" data-base-url="http://docs.codehaus.org">Plugins</a>are units of behaviour for building the project. They are used by Maven 2 to perform each part of the build. Maven 2 in itself do nothing more than calling the plugins in the right order.</li> <li>The <a class="confluence-link" href="/display/MAVENUSER/Maven+Concepts+Artifacts" data-linked-resource-id="48360" data-linked-resource-type="page" data-linked-resource-default-alias="Maven Concepts Artifacts" data-base-url="http://docs.codehaus.org">Artifacts</a>are the results of a project's build. Maven 2 assume there is one and only one artifact per project. The way the artifact is created depends on its packaging. There is also some results of the build that could be attached to the main artifact and are called attached artifacts.</li> <li>In order to reduce disk space in the source control managment of the project, Maven 2 promotes the use of the <a class="confluence-link" href="/display/MAVENUSER/Maven+Concepts+Repositories" data-linked-resource-id="48363" data-linked-resource-type="page" data-linked-resource-default-alias="Maven Concepts Repositories" data-base-url="http://docs.codehaus.org">Repositories</a> which are mainly Web site holding the artifacts and project descriptor of projects dependencies.</li> <li>The <a class="confluence-link" href="/display/MAVENUSER/Maven+Concepts+Archetypes" data-linked-resource-id="48366" data-linked-resource-type="page" data-linked-resource-default-alias="Maven Concepts Archetypes" data-base-url="http://docs.codehaus.org">Archetypes</a> are example projects used as foundation for creating a project.</li> <li>When the build process needs to be configured differently based on the developer or the purpose of the build (QA, production) Maven 2 uses <a class="confluence-link" href="/display/MAVENUSER/Maven+Concepts+Profiles" data-linked-resource-id="48367" data-linked-resource-type="page" data-linked-resource-default-alias="Maven Concepts Profiles" data-base-url="http://docs.codehaus.org">Profiles</a>.</li> </ul>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced