Maven fails while running mvn site
Hi I am trying to run mvn site and I get the following error Details : I am using Maven 2.2.1 and use JDK 1.6. I have pasted the POM.xml below ?xml version=1.0 encoding=UTF-8? project xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; modelVersion4.0.0/modelVersion groupIdRS/groupId artifactIdAAL/artifactId version12 /version nameATTRIEVAL Service/name description retrieval service/description inceptionYear2010/inceptionYear organization nameer/name url../../galileo/url /organization developers developer idheckr/id nameJohn /name emailj...@gmail.com/email url../../galileo/url organizationier/organization roles roleGalileo Manager/role /roles timezone+0/timezone /developer /developers issueManagement systemWEBSTAR/system urlhttp://webstar/default.asp?logId=/url /issueManagement build/ reporting plugins plugin artifactIdmaven-changes-plugin/artifactId configuration issueLinkTemplate%URL%/default.asp?logId=%ISSUE%/issueLinkTemplate xmlPath${basedir}/src/site/xdoc/changes.xml/xmlPath /configuration reportSets reportSet reports reportjira-report/report /reports /reportSet reportSet reports reportchanges-report/report /reports /reportSet /reportSets /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-site-plugin/artifactId version2.3/version configuration outputDirectory${basedir}/../BinaryRetrievalResource/WebContent/xdocs /outputDirectory /configuration /plugin /plugins /reporting /project INFO] Scanning for projects... [INFO] [INFO] Building ATTACHMENT RETRIEVAL Service [INFO]task-segment: [site] [INFO] [WARNING] DEPRECATED [issueLinkTemplate]: As of 2.1 use issueLinkTemplatePerSystem : this one will be with system default [INFO] [site:site {execution: default-site}] [ERROR] The JIRA Report only supports JIRA. No JIRA Report will be generated. [WARNING] No URL defined for the project - decoration links will not be resolved [INFO] artifact org.apache.maven.skins:maven-default-skin: checking for updates from central [INFO] Skipped About report, file index.html already exists for the English version. [INFO] Generating Issue Tracking report. [INFO] Generating Project Team report. [INFO] Generating Dependencies report. [INFO] Generating Project Plugins report. [INFO] Generating Continuous Integration report. [INFO] Generating Source Repository report. [INFO] Generating Plugin Management report. [INFO] Generating Mailing Lists report. [INFO] Generating Project Summary report. [INFO] Generating Changes Report report. [WARNING] Deprecated API called - not org.apache.maven.doxia.sink.Sink instance and no SinkFactory available. Please update this plugin. [FATAL ERROR] org.apache.maven.plugins.site.SiteMojo#execute() caused a linkage error (java.lang.AbstractMethodError) and may be out-of-date. Check the realms: [FATAL ERROR] Plugin realm = app0.child-container[org.apache.maven.plugins:maven-site-plugin:2.0-beta -7] urls[0] = file:/D:/Documents and Settings/krishnnx/.m2/repository/org/apache/maven/plugins/maven-site-plu gin/2.0-beta-7/maven-site-plugin-2.0-beta-7.jar urls[1] = file:/D:/Documents and Settings/krishnnx/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/
Re: Maven fails while running mvn site
The site plugin needs to be configured in the build section of the pom, not in reporting. HTH, -Lukas On 07/15/2011 11:56 AM, nataraj.krishnamur...@cognizant.com wrote: Hi I am trying to run mvn site and I get the following error Details : I am using Maven 2.2.1 and use JDK 1.6. I have pasted the POM.xml below ?xml version=1.0 encoding=UTF-8? project xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; modelVersion4.0.0/modelVersion groupIdRS/groupId artifactIdAAL/artifactId version12/version nameATTRIEVAL Service/name description retrieval service/description inceptionYear2010/inceptionYear organization nameer/name url../../galileo/url /organization developers developer idheckr/id nameJohn/name emailj...@gmail.com/email url../../galileo/url organizationier/organization roles roleGalileo Manager/role /roles timezone+0/timezone /developer /developers issueManagement systemWEBSTAR/system urlhttp://webstar/default.asp?logId=/url /issueManagement build/ reporting plugins plugin artifactIdmaven-changes-plugin/artifactId configuration issueLinkTemplate%URL%/default.asp?logId=%ISSUE%/issueLinkTemplate xmlPath${basedir}/src/site/xdoc/changes.xml/xmlPath /configuration reportSets reportSet reports reportjira-report/report /reports /reportSet reportSet reports reportchanges-report/report /reports /reportSet /reportSets /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-site-plugin/artifactId version2.3/version configuration outputDirectory${basedir}/../BinaryRetrievalResource/WebContent/xdocs /outputDirectory /configuration /plugin /plugins /reporting /project INFO] Scanning for projects... [INFO] [INFO] Building ATTACHMENT RETRIEVAL Service [INFO]task-segment: [site] [INFO] [WARNING] DEPRECATED [issueLinkTemplate]: As of 2.1 use issueLinkTemplatePerSystem : this one will be with system default [INFO] [site:site {execution: default-site}] [ERROR] The JIRA Report only supports JIRA. No JIRA Report will be generated. [WARNING] No URL defined for the project - decoration links will not be resolved [INFO] artifact org.apache.maven.skins:maven-default-skin: checking for updates from central [INFO] Skipped About report, file index.html already exists for the English version. [INFO] Generating Issue Tracking report. [INFO] Generating Project Team report. [INFO] Generating Dependencies report. [INFO] Generating Project Plugins report. [INFO] Generating Continuous Integration report. [INFO] Generating Source Repository report. [INFO] Generating Plugin Management report. [INFO] Generating Mailing Lists report. [INFO] Generating Project Summary report. [INFO] Generating Changes Report report. [WARNING] Deprecated API called - not org.apache.maven.doxia.sink.Sink instance and no SinkFactory available. Please update this plugin. [FATAL ERROR] org.apache.maven.plugins.site.SiteMojo#execute() caused a linkage error (java.lang.AbstractMethodError) and may be out-of-date. Check the realms: [FATAL ERROR] Plugin realm = app0.child-container[org.apache.maven.plugins:maven-site-plugin:2.0-beta -7] urls[0] = file:/D:/Documents and