Well I switched to b5 and after just a little bit of headscratching
(just a little, maven -g works well) everything came out fine. This tool
is really looking good, guys.
Terry
Terry Mullett wrote:
> I'm having somewhat of a hard time getting docs to build on b4, and it
> seems to come down to the activity-log goal. The dump of a Maven run
> is included below, along with my project.xml file, since it seems that
> the error at the bottom of the dump is indicating a problem with the
> developer element. I've tried every variation I can think of on
> developer, but haven't seen any difference. The
> target/activity-log.xml does get generated. I'm on Win2k/jdk1.4.0/ant1.5
>
> Thanks
> Terry
>
> ----------------------------------------Maven dump
> --------------------------
>
>
> maven:activity-log:
> update-pom-check:
> callUpdateDescriptor:
> project-properties:
> load-default-properties:
> prepare.httpget:
> verify-project-proxy:
> verify-project-noproxy:
> verify-project:
> init:
> local-init:
> pre-activity-log-callback-check:
> pre-activity-log-callback:
> do-activity-log:
> cvs server: Logging .
> cvs server: Logging src
> cvs server: Logging src/announcements
> cvs server: Logging src/java
> cvs server: Logging src/java/org
> cvs server: Logging src/java/org/jwebpop
> cvs server: Logging src/java/org/jwebpop/drivers
> cvs server: Logging src/java/org/jwebpop/drivers/yahoo
> cvs server: Logging src/test
> cvs server: Logging src/test/org
> cvs server: Logging src/test/org/jwebpop
> cvs server: Logging src/test/org/jwebpop/drivers
> cvs server: Logging src/test/org/jwebpop/drivers/yahoo
> cvs server: Logging xdocs
> cvs server: Logging xdocs/images
> cvs server: Logging xdocs/stylesheets
> ChangeLog found: 7 entries
> Loading stylesheet C:\Documents and Settings\Terry
> Mullett\maven\stylesheets\developer-activity.dvsl
> [error] ResourceManager : unable to find resource
> 'VM_global_library.vm' in any resource loader.
> Transforming into C:\projects\jwebpop\target\generated-xdocs
> Processing C:\projects\jwebpop\target\activity-log.xml to
> C:\projects\jwebpop\target\generated-xdocs\activity-log.xml
> [error] Method selectNodes threw exception for reference $node in
> template changelog at [39,29]
> [error] Method applyTemplates threw exception for reference $context
> in template body at [7,12]
> [error] Method applyTemplates threw exception for reference $context
> in template document at [7,12]
> [error] Method applyTemplates threw exception for reference $context
> in template null at [5,14]
> Failed to process C:\projects\jwebpop\target\activity-log.xml
> C:\Documents and Settings\Terry
> Mullett\maven\plugins\docs\build.xml:1067:
> org.apache.velocity.exception.MethodInvocationException: Invocation of
> method 'applyTemplates' in class org.apache.tools.dvsl.Transformer
> threw exception class
> org.apache.velocity.exception.MethodInvocationException : Invocation
> of method 'applyTemplates' in class org.apache.tools.dvsl.Transformer
> threw exception class
> org.apache.velocity.exception.MethodInvocationException : Invocation
> of method 'applyTemplates' in class org.apache.tools.dvsl.Transformer
> threw exception class
> org.apache.velocity.exception.MethodInvocationException : Invocation
> of method 'selectNodes' in class
> org.apache.tools.dvsl.dom4j.Dom4jNodeImpl threw exception class
> org.dom4j.XPathException : Exception occurred evaluting XPath:
> document('project.xml')/project/developers/developer. Exception:
> Failed to parse doucment for URI: project.xml
> BUILD FAILED
> Total time: 23 seconds
>
>
>
>-----------------------------------------------------project.xml------------------------------
>
>
>
>
>
> <?xml version="1.0"?>
>
> <project>
> <pomVersion>3</pomVersion>
> <name>jwebpop</name>
> <id>jwebpop</id>
> <currentVersion>0.1-a1</currentVersion>
> <organization>
> <name>jwebpop Project</name>
> <url>http://jwebpop.sourceforge.net/</url>
> </organization>
> <inceptionYear>2002</inceptionYear>
> <package>org.jwebpop</package>
>
> <shortDescription>WebMail to POP3 Interface</shortDescription>
>
> <description><![CDATA[
> <p><i>jwebpop</i> is a Java-based POP3 interface to web email accounts.
> It uses plug-in drivers to support multiple and future web
> mail services.</p>
>
> <p></p>
> ]]></description>
>
> <url>http://jwebpop.sourceforge.net</url>
> <issueTrackingUrl>http://jwebpop.sourceforge.net</issueTrackingUrl>
> <siteAddress>jwebpop.sourceforge.net</siteAddress>
> <siteDirectory>/public-html</siteDirectory>
> <distributionDirectory>/</distributionDirectory>
>
> <repository>
>
>
><connection>scm:cvs:pserver:[EMAIL PROTECTED]:/cvsroot/jwebpop</connection>
>
>
> <url>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jwebpop</url>
> </repository>
>
> <versions>
> <version>
> <id>01a1</id>
> <name>0.1-a1</name>
> <tag>JWEBPOP_0_1_A1</tag>
> </version>
> </versions>
>
> <developers>
> <developer>
> <name>Terry Mullett</name>
> <id>tmullett</id>
> <email>[EMAIL PROTECTED]</email>
> <organization>jwebpop Project</organization>
> <roles>
> <role>Project Manager</role>
> </roles>
> </developer>
> </developers>
>
> <dependencies>
>
> <dependency>
> <id>commons-httpclient</id>
> <version>2.0-dev</version>
> </dependency>
>
> <dependency>
> <id>junit</id>
> <version>3.7</version>
> </dependency>antlr-2.7.1.jar
>
> </dependencies>
>
> <build>
>
> <sourceDirectory>src/java</sourceDirectory>
>
> <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
> <integrationUnitTestSourceDirectory/>
>
> <aspectSourceDirectory/>
>
> <!-- Unit test classes -->
> <unitTestPatterns>
> <unitTestPattern>include = **/*Test.java</unitTestPattern>
> <unitTestPattern>include = **/*Suite.java</unitTestPattern>
> </unitTestPatterns>
>
> <!-- Integration unit test classes -->
> <integrationUnitTestPatterns/>
>
> <!-- J A R R E S O U R C E S -->
> <!-- Resources that are packaged up inside the JAR file -->
>
> <jarResources>
> <jarResource>include = *.dtd</jarResource>
> </jarResources>
>
> <jars></jars>
> </build>
>
> </project>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>