From 2ae32b04b9d771118a7cafc1d7edec86fbe9c3c0 Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:50:17 +0000 Subject: Moving site tags git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882847 13f79535-47bb-0310-9956-ffa450edef68 --- site/tags/site-090106-pre667/site-author/maven.xml | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 site/tags/site-090106-pre667/site-author/maven.xml (limited to 'site/tags/site-090106-pre667/site-author/maven.xml') diff --git a/site/tags/site-090106-pre667/site-author/maven.xml b/site/tags/site-090106-pre667/site-author/maven.xml new file mode 100644 index 0000000000..f2cd38fd5b --- /dev/null +++ b/site/tags/site-090106-pre667/site-author/maven.xml @@ -0,0 +1,61 @@ + + + + + + Tuscany Maven Quick Introduction + Tuscany Maven Quick Introduction + + + + +
+

+ For some help getting started with Maven, look at: + +

+

+ With Maven, there is no build "script" like the ant build.xml file. Instead you + provide Maven with a description of your project and it uses that information to + determine how to achieve your build goal. The description is held in a pom.xml file. + There is a pom.xml file at the top level of your project and there are subsidiary + pom.xml files for modules within your project which are referenced from the top level + pom file. The Maven project has also established a set of best practices for + structuring builds and if you follow those you can get away with very little + description; the Tuscany builds are set up that way. +

+

+ The general rule for maven is that each (sub)project produces one build artifact + (typically a jar file). You can see this in the java project directory where + there are separate projects for sca, sdo, das (etc) and within these, separate + folders and pom files for major components such as container.java. +

+

+ The main Maven 2.x command is "mvn" and the default goal is "install" which will + compile, unit test and package each project. This will typically output a + jar file that is installed locally so that other projects can depend on it. +

+

+ Once you have the Java project setup up, you can build the project by issuing the following command in the tuscany root directory:
+ + mvn + + +

+
+ +
-- cgit v1.2.3