Hi , Maven is one level up to Ant in terms of Project Management capabilities. But I am not very clear how they are represented. Does it mean, it generates a consolidated report when I say "maven site" ?
I tried this and I got the below mentioned Error. Attaching with this is my project.xml. D:\SampleMaven>maven site __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10 site: xdoc:register-reports: maven-jdepend-plugin:register: maven-checkstyle-plugin:register: maven-changes-plugin:register: maven-changelog-plugin:register: maven-developer-activity-plugin:register: maven-file-activity-plugin:register: maven-license-plugin:register: maven-javadoc-plugin:register: maven-jxr-plugin:register: maven-junit-report-plugin:register: maven-linkcheck-plugin:register: maven-tasklist-plugin:register: site:run-reports: [echo] Generating the Metrics... maven-jdepend-plugin:report: java:prepare-filesystem: java:compile: [echo] Compiling to D:\SampleMaven/target/classes [mkdir] Created dir: D:\SampleMaven\target\generated-xdocs [echo] Generating the Checkstyle... checkstyle:init: checkstyle:license: [echo] ==================================================================== == = W A R N I N G = ==================================================================== == = Your project doesn't contain a header file specified as: = = D:\SampleMaven\LICENSE.txt = Checkstyle needs it to check the existence of the License in your = = source files. If it can't find this file, it throws an error. = = A temporary solution is to create an empty LICENSE.txt file. = = Though, we recommend that you edit this License. = ==================================================================== == checkstyle:report: [echo] Generating the Change Log... maven-changelog-plugin:report: [echo] Generating the changelog report [echo] Generating the Developer Activity... maven-developer-activity-plugin:report: [echo] Generating the developer activity report [echo] Generating the File Activity... maven-file-activity-plugin:report: [echo] Generating the file activity report [echo] Generating the Project License... maven-license-plugin:report: xdoc:init: [mkdir] Created dir: D:\SampleMaven\target\docs license:transfer: [echo] ====================================================================== = W A R N I N G = ====================================================================== = Your project doesn't contain a header file specified as: = = D:\SampleMaven/LICENSE.txt = The License Report Plugin needs it to display the license = = for the project. = = If it can't find this file, it creates a page mentioning that = = no license file has been given to Maven. = ====================================================================== license: [echo] Generating the JavaDocs... xdoc:init: maven-javadoc-plugin:report: [mkdir] Created dir: D:\SampleMaven\target\docs\apidocs [mkdir] Created dir: D:\SampleMaven\target\javadoc BUILD FAILED File...... file:/C:/Documents and Settings/104487/.maven/plugins/maven-javadoc-p lugin-1.3-SNAPSHOT/ Element... ant:javadoc Line...... 98 Column.... 60 No source files and no packages have been specified. Total time: 26 seconds Any tips would be of great help ! Regards Yogesh
<?xml version="1.0"?> <project> <pomVersion>3</pomVersion> <name>SampleMaven Documentation</name> <id>MavenJar</id> <groupId>Plain Java</groupId> <currentVersion>007</currentVersion> <organization> <name>Apache Software Foundation</name> <url>http://jakarta.apache.org/</url> </organization> <organization> <name>Markers Inc.</name> <url>http://w3.markers.com/</url> <logo>http://w3.markers.com/logo/company-logo.gif</logo> </organization> <!-- (OPTIONAL) Year of inception --> <inceptionYear>2003</inceptionYear> <!-- (OPTIONAL) Project main package --> <package>PlainJava.Maven</package> <!-- (OPTIONAL) Project logo picture (URL) --> <logo>http://w3.markers.com/logo/crayola.gif</logo> <!-- (OPTIONAL) Project description --> <description>This is Maven for the first time :)</description> <shortDescription>Java Project Management Tools</shortDescription> <!-- (OPTIONAL) Project site URL --> <url>http://w3.markers.com/crayola</url> <!-- (OPTIONAL) Issue-tracking system URL --> <issueTrackingUrl>http://w3.markers.com/jira/crayola</issueTrackingUrl> <!-- (OPTIONAL) Project site address. --> <siteAddress>w3.markers.com</siteAddress> <!-- (OPTIONAL) Project-site deploy directory (physical location) --> <siteDirectory>/www/crayola/site/</siteDirectory> <!-- (OPTIONAL) Project distribution directory (physical location) --> <distributionDirectory>/www/crayola/builds/</distributionDirectory> <!-- (OPTIONAL) Project source-repository information --> <repository> <target name="personal" depends="init"> <vssget vsspath="/construction/src_metllife/" localPath="D:\metlife\construction\" ssdir="C:\Program Files\Microsoft Visual Studio\Common\VSS\win32" recursive="true" login="105500,105500" serverPath="\\ctsinpunvss\metlife\" autoresponse="Y" writable="true"/> </target> <connection> scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:crayola </connection> <url>http://cvs.markers.com/viewcvs/crayola/</url> </repository> <description> Maven is a project management and project comprehension tool. Maven is based on the concept of a project object model: builds, documentation creation, site publication, and distribution publication are all controlled from the project object model. Maven also provides tools to create source metrics, change logs based directly on source repository, and source cross-references. </description> <versions> <version> <id>111</id> <name>Alpha</name> <tag>MAVEN_1_0_B3</tag> </version> <version> <id>222</id> <name>Beta</name> <tag>HEAD</tag> </version> </versions> <mailingLists> <mailingList> <name>Maven User List</name> <subscribe> [EMAIL PROTECTED] </subscribe> <unsubscribe> [EMAIL PROTECTED] </unsubscribe> <archive> http://www.mail-archive.com/[EMAIL PROTECTED]/ </archive> </mailingList> </mailingLists> <developers> <developer> <name>Juancarlo Anez</name> <id>juanco</id> <email>[EMAIL PROTECTED]</email> <organization></organization> </developer> <developer> <name>Yogesh Joshi</name> <id>yogesh</id> <email>[EMAIL PROTECTED]</email> <organization></organization> </developer> </developers> <dependencies> <!-- This project depends on the JAR file "commons-beanutils-1.5.jar" in the Maven repository's commons-beanutils/jars subdirectory (more about repository later). --> <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>1.5</version> </dependency> <!-- This project depends on the JAR file "commons-lib-2.1.jar" in the Maven repository's markers/jars subdirectory. --> <!-- <dependency> <groupId>markers</groupId> <artifactId>commons-lib</artifactId> <version>2.1</version> </dependency> --> </dependencies> <build> <nagEmailAddress> [EMAIL PROTECTED] </nagEmailAddress> <sourceDirectory>D:\SampleMaven\com\src</sourceDirectory> <aspectSourceDirectory/> <!-- Integration unit test cases --> <integrationUnitTest/> <jars> </jars> </build> </project>
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]