${user.home}/.maven |- repository |- my-project |- jars |- my-project1.0.jar |- my-project1.1.jar
## ---------------------------------------------------------- ## ${user.home}/build.properties ## ---------------------------------------------------------- maven.proxy.host = xxx.xxx.com maven.proxy.port = 8080 #maven.proxy.username = username #maven.proxy.password = password
<?xml version="1.0"?> <project> <pomVersion>3</pomVersion> <name>XXX</name> <id>xxx-xx</id> <currentVersion>1.0</currentVersion> <organization> <name>XXX</name> <url>http://xxx.com</url> </organization> <inceptionYear>2003</inceptionYear> <package>xxx.xxx</package> <shortDescription>...</shortDescription> <description>...</description> <url>...</url> <siteAddress>...</siteAddress> <siteDirectory>...</siteDirectory> <distributionDirectory>...</distributionDirectory>
<developers> <developer> <name>xxx</name> <id>xxx</id> <email>xxx</email> <organization>xxx</organization> </developer> ...
</developers>
<dependencies> <dependency> <id>junit</id> <version>3.7</version> <url>http://www.junit.com/</url> </dependency> ...
</dependencies>
<build> <sourceDirectory>src</sourceDirectory> <unitTestSourceDirectory>test</unitTestSourceDirectory> <integrationUnitTestSourceDirectory/> <aspectSourceDirectory />
<!-- Unit test cases --> <unitTest> <includes> <include>**/*Test.java</include> </includes> </unitTest>
<!-- Integration unit test cases --> <integrationUnitTest/>
<jars> </jars> </build>
<reports> <report>maven-jdepend-plugin</report> <report>maven-checkstyle-plugin</report> <report>maven-javadoc-plugin</report> <report>maven-jxr-plugin</report> <report>maven-junit-report-plugin</report> <report>maven-pmd-plugin</report> <report>maven-tasklist-plugin</report> <report>maven-changes-plugin</report> <report>maven-linkcheck-plugin</report> <report>maven-changelog-plugin</report> <report>maven-developer-activity-plugin</report> <report>maven-file-activity-plugin</report> <report>maven-license-plugin</report> </reports>
</project>
<project xmlns:m="maven" xmlns:j="jelly:core" xmlns:u="jelly:util"> <preGoal name="xdoc:jelly-transform"> <attainGoal name="faq"/> </preGoal> </project>
<goal name="copy:ressources"> <copy todir="./target/classes"> <fileset dir="./src"> <exclude name="**/*.java"/> </fileset> </copy> </goal> <goal name="generate:all"> <attainGoal name="copy:ressources"/> <attainGoal name="site:generate"/> </goal>
maven copy:ressources maven generate:all
<?xml version="1.0" encoding="ISO-8859-1"?> <faqs title="Frequently Asked Questions"> <part id="xxx"> <title>XXX</title> <faq id="xxx"> <question>xxx</question> <answer>xxx</answer> </faq> ...
</part> ...
</faqs>
<preGoal name="xdoc:jelly-transform"> <attainGoal name="faq"/> </preGoal>
<?xml version="1.0" encoding="ISO-8859-1"?> <project name="XXX"> <title>XXX</title> <body> <!-- footer will be placed above the (c) --> <footer> <a href="http://xxx.com"> <img src="http://xxx.com/img.gif" border="0" alt="logo" /> </a> </footer> <links> <item name="XXX1" href="http://www.xxx.com" /> <item name="XXX2" href="http://www.xxx.com" /> </links> <organizationLogo href="/img/logo.gif">XXX</organizationLogo> <menu name="Overview"> <item name="FAQ" href="/faq.html" /> <item name="Tasks" href="/tasks.html" /> </menu> <menu name="XXX"> <item name="xxx1" href="/xxx1.html" /> <item name="xxx2" href="/xxx2.html" /> </menu> </body> </project>
<?xml version="1.0"?> <document> <properties> <author email="xxx@xxx.com">XXX</author> <author email="xxx@xxx.com">XXX</author> <title>XXX</title> </properties> <meta name="keyword" content="xxx, xxx" />
<body> <section name="Section 1"> code html...
</section> <section name="Section 2"> code html avec source : <source> Anything within this tag is rendered as a "box" with blue lines and <pre></pre> tags around it.
</source> </section> <section name="Section avec sous sections"> <subsection name="Subsection 1"> html content </subsection> </section> </body> </document>
maven.junit.fork = true maven.junit.jvmargs = -Xmx256m