I don't know how you installed the dependency bu can you check the file C:\Users\ssmitz\.m2\repository\net\sf\docbook\docbook-xml\5.0-all\docbook-xml-5.0-all.pom as it does not appear to be a valid XML file.
Regards Jeff On Tue, Nov 12, 2013 at 8:03 PM, Sean Smitz <[email protected]> wrote: > I have also tried installing the docbook-xml-5.0-all-resources.zip plugin > manually using both the POM from the repository and command line flags. > Everytime I encounter the following error trying to compile a project after > adding a dependency to Docbook 5.0: > POM: > > <plugins> > <plugin> > <groupId>com.agilejava.docbkx</groupId> > <artifactId>docbkx-maven-plugin</artifactId> > <version>2.0.14</version> > ... > <dependencies> > <dependency> > <groupId>net.sf.docbook</groupId> > <artifactId>docbook-xml</artifactId> > <version>5.0-all</version> > <classifier>resources</classifier> > <type>zip</type> > <scope>runtime</scope> > </dependency> > </dependencies> > </plugin> > ... > </plugins> > > ERROR: > [INFO] --- docbkx-maven-plugin:2.0.14:generate-html (reference manual) @ > swac-users-guide --- > [WARNING] The POM for net.sf.docbook:docbook-xml:zip:resources:5.0-all is > invalid, transitive dependencies (if any) will not be available: 1 problem > was encountered while building the effective model > [FATAL] Non-parseable POM > C:\Users\ssmitz\.m2\repository\net\sf\docbook\docbook-xml\5.0-all\docbook-xml-5.0-all.pom: > only whitespace content allowed before start tag and not P (position: > START_DOCUMENT seen P... @1:1) @ line 1, column 1 > [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1, > ConflictMarker.markTime=1, ConflictMarker.nodeCount=265, > ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=0, > ConflictIdSorter.conflictIdCount=66, > ConflictIdSorter.conflictIdCycleCount=4, ConflictResolver.totalTime=15, > ConflictResolver.conflictItemCount=166, > DefaultDependencyCollector.collectTime=167, > DefaultDependencyCollector.transformTime=18} > [DEBUG] com.agilejava.docbkx:docbkx-maven-plugin:jar:2.0.14: > [DEBUG] net.sf.docbook:docbook-xml:zip:resources:5.0-all:runtime > [DEBUG] antlr:stringtemplate:jar:2.2:compile > [DEBUG] antlr:antlr:jar:2.7.2:compile > [DEBUG] xerces:xercesImpl:jar:2.8.0:runtime > [DEBUG] xml-apis:xml-apis:jar:1.3.03:compile > [DEBUG] xerces:xmlParserAPIs:jar:2.6.2:runtime > [DEBUG] org.apache.xmlgraphics:fop:jar:1.0:compile > [DEBUG] org.apache.xmlgraphics:xmlgraphics-commons:jar:1.4:compile > [DEBUG] org.apache.xmlgraphics:batik-svg-dom:jar:1.7:compile > [DEBUG] org.apache.xmlgraphics:batik-anim:jar:1.7:compile > [DEBUG] org.apache.xmlgraphics:batik-css:jar:1.7:compile > [DEBUG] org.apache.xmlgraphics:batik-dom:jar:1.7:compile > [DEBUG] org.apache.xmlgraphics:batik-parser:jar:1.7:compile > [DEBUG] org.apache.xmlgraphics:batik-util:jar:1.7:compile > [DEBUG] xml-apis:xml-apis-ext:jar:1.3.04:compile > [DEBUG] org.apache.xmlgraphics:batik-bridge:jar:1.7:compile > [DEBUG] org.apache.xmlgraphics:batik-script:jar:1.7:compile > [DEBUG] org.apache.xmlgraphics:batik-js:jar:1.7:compile > [DEBUG] org.apache.xmlgraphics:batik-xml:jar:1.7:compile > [DEBUG] org.apache.xmlgraphics:batik-awt-util:jar:1.7:compile > [DEBUG] org.apache.xmlgraphics:batik-gvt:jar:1.7:compile > [DEBUG] org.apache.xmlgraphics:batik-transcoder:jar:1.7:compile > [DEBUG] org.apache.xmlgraphics:batik-svggen:jar:1.7:compile > [DEBUG] org.apache.xmlgraphics:batik-extension:jar:1.7:compile > [DEBUG] org.apache.xmlgraphics:batik-ext:jar:1.7:compile > [DEBUG] commons-logging:commons-logging:jar:1.0.4:compile > [DEBUG] commons-io:commons-io:jar:1.3.1:compile > [DEBUG] > org.apache.avalon.framework:avalon-framework-api:jar:4.3.1:compile > [DEBUG] > org.apache.avalon.framework:avalon-framework-impl:jar:4.3.1:compile > [DEBUG] xalan:xalan:jar:2.7.0:compile > [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:compile > [DEBUG] org.apache.maven:maven-project:jar:2.0.4:compile > [DEBUG] org.apache.maven:maven-settings:jar:2.0.4:compile > [DEBUG] org.apache.maven:maven-profile:jar:2.0.4:compile > [DEBUG] org.apache.maven:maven-model:jar:2.0.4:compile > [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.4:compile > [DEBUG] > org.apache.maven:maven-repository-metadata:jar:2.0.4:compile > [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:compile > [DEBUG] org.apache.maven:maven-artifact:jar:2.0.4:compile > [DEBUG] > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile > [DEBUG] junit:junit:jar:3.8.1:compile > [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile > [DEBUG] com.agilejava.docbkx:docbkx-maven-base:jar:2.0.14:compile > [DEBUG] commons-el:commons-el:jar:1.0:compile > [DEBUG] javax.servlet.jsp:jsp-api:jar:2.0:compile > [DEBUG] jaxen:jaxen:jar:1.0-FCS:compile > [DEBUG] saxpath:saxpath:jar:1.0-FCS:compile > [DEBUG] xom:xom:jar:1.1:compile > [DEBUG] saxon:saxon:jar:6.5.3:compile > [DEBUG] xml-resolver:xml-resolver:jar:1.1:compile > [DEBUG] plexus:plexus-utils:jar:1.0.1:compile > [DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-5:compile > [DEBUG] org.apache.maven.plugins:maven-antrun-plugin:jar:1.1:compile > [DEBUG] ant:ant-launcher:jar:1.6.5:runtime > [DEBUG] ant:ant:jar:1.6.5:compile > [DEBUG] net.sf.xslthl:xslthl:jar:2.0.1:compile > [DEBUG] net.sf.docbook:docbook-xsl:zip:ns-resources:1.76.1:compile > [DEBUG] net.sf.docbook:docbook-xsl-saxon:jar:1.0.0:compile > [DEBUG] net.sf.docbook:docbook-xsl-webhelpindexer:jar:1.0.0:compile > [DEBUG] org.apache.lucene:lucene-core:jar:3.0.0:compile > [DEBUG] org.apache.lucene:lucene-analyzers:jar:3.0.0:compile > [DEBUG] org.apache.ant:ant:jar:1.7.0:compile > [DEBUG] org.apache.ant:ant-launcher:jar:1.7.0:compile > [DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for > http://repo.maven.apache.org/maven2 > Downloading: > http://repo.maven.apache.org/maven2/net/sf/docbook/docbook-xml/5.0-all/docbook-xml-5.0-all-resources.zip > > Thanks for any help in advance, > > Sean > -- Jeff MAURY "Legacy code" often differs from its suggested alternative by actually working and scaling. - Bjarne Stroustrup http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.twitter.com/jeffmaury
