1 Reply Latest reply on Dec 27, 2010 4:30 AM by kuu yee

    Building Weld Reference Guide "Invalid byte 1 of 1-byte UTF-8 sequence"

    kuu yee Newbie

      Hi!


      When Building Weld Reference Guide,fails like this:




      [INFO] Scanning for projects...
      Downloading: http://snapshots.jboss.org/maven2/org/eclipse/wst/css/core/maven-metadata.xml
      [WARNING] Could not transfer metadata org.eclipse.wst.css:core/maven-metadata.xml from maven-repository.dev.java.net (http://download.java.net/maven/1): No connector available to access repository maven-repository.dev.java.net (http://download.java.net/maven/1) of type legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory
      Downloading: http://snapshots.jboss.org/maven2/org/eclipse/wst/sse/core/maven-metadata.xml
      [WARNING] Could not transfer metadata org.eclipse.wst.sse:core/maven-metadata.xml from maven-repository.dev.java.net (http://download.java.net/maven/1): No connector available to access repository maven-repository.dev.java.net (http://download.java.net/maven/1) of type legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory
      Downloading: http://snapshots.jboss.org/maven2/org/eclipse/wst/common/uriresolver/maven-metadata.xml
      [WARNING] Could not transfer metadata org.eclipse.wst.common:uriresolver/maven-metadata.xml from maven-repository.dev.java.net (http://download.java.net/maven/1): No connector available to access repository maven-repository.dev.java.net (http://download.java.net/maven/1) of type legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory
      Downloading: http://snapshots.jboss.org/maven2/org/eclipse/wst/sse/core/maven-metadata.xml
      [WARNING] Could not transfer metadata org.eclipse.wst.sse:core/maven-metadata.xml from maven-repository.dev.java.net (http://download.java.net/maven/1): No connector available to access repository maven-repository.dev.java.net (http://download.java.net/maven/1) of type legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Weld Reference Guide 1.1.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ weld-reference-guide ---
      [INFO] Deleting D:\open-source\seamframework\weld\core\docs\reference\target
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce) @ weld-reference-guide ---
      [WARNING] This rule is not compatible with the current version of Maven. The rule is not able to perform any checks.
      [INFO] 
      [INFO] --- build-helper-maven-plugin:1.5:maven-version (default) @ weld-reference-guide ---
      [INFO] 
      [INFO] --- build-helper-maven-plugin:1.5:parse-version (default) @ weld-reference-guide ---
      [INFO] 
      [INFO] --- maven-remote-resources-plugin:1.1:process (attach-license) @ weld-reference-guide ---
      [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
      [INFO] Setting property: velocimacro.messages.on => 'false'.
      [INFO] Setting property: resource.loader => 'classpath'.
      [INFO] Setting property: resource.manager.logwhenfound => 'false'.
      [INFO] 
      [INFO] --- maven-jdocbook-plugin:2.3.3:resources (default-resources) @ weld-reference-guide ---
      Downloading: http://snapshots.jboss.org/maven2/org/eclipse/wst/css/core/maven-metadata.xml
      [WARNING] Could not transfer metadata org.eclipse.wst.css:core/maven-metadata.xml from maven-repository.dev.java.net (http://download.java.net/maven/1): No connector available to access repository maven-repository.dev.java.net (http://download.java.net/maven/1) of type legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory
      Downloading: http://snapshots.jboss.org/maven2/org/eclipse/wst/sse/core/maven-metadata.xml
      [WARNING] Could not transfer metadata org.eclipse.wst.sse:core/maven-metadata.xml from maven-repository.dev.java.net (http://download.java.net/maven/1): No connector available to access repository maven-repository.dev.java.net (http://download.java.net/maven/1) of type legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory
      Downloading: http://snapshots.jboss.org/maven2/org/eclipse/wst/common/uriresolver/maven-metadata.xml
      [WARNING] Could not transfer metadata org.eclipse.wst.common:uriresolver/maven-metadata.xml from maven-repository.dev.java.net (http://download.java.net/maven/1): No connector available to access repository maven-repository.dev.java.net (http://download.java.net/maven/1) of type legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory
      Downloading: http://snapshots.jboss.org/maven2/org/eclipse/wst/sse/core/maven-metadata.xml
      [WARNING] Could not transfer metadata org.eclipse.wst.sse:core/maven-metadata.xml from maven-repository.dev.java.net (http://download.java.net/maven/1): No connector available to access repository maven-repository.dev.java.net (http://download.java.net/maven/1) of type legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory
      [INFO] Expanding: C:\Documents and Settings\Feng\.m2\repository\org\jboss\seam\seam-jdocbook-style\1.1.0.GA\seam-jdocbook-style-1.1.0.GA.jdocbook-style into D:\open-source\seamframework\weld\core\docs\reference\target\docbook\staging
      [INFO] Expanding: C:\Documents and Settings\Feng\.m2\repository\org\jboss\jbossorg-jdocbook-style\1.1.0\jbossorg-jdocbook-style-1.1.0.jdocbook-style into D:\open-source\seamframework\weld\core\docs\reference\target\docbook\staging
      [INFO] 
      [INFO] --- maven-jdocbook-plugin:2.3.3:generate (default-generate) @ weld-reference-guide ---
      16 [main] INFO org.jboss.jdocbook.render.RendererImpl - Starting rendering en-US/html_single
      redirecting output to file [D:\open-source\seamframework\weld\core\docs\reference\target\docbook\work\log\console-en-US-html_single.log]
      Error on line 4 column 17 of file:/D:/open-source/seamframework/weld/core/docs/reference/src/main/docbook/en-US/Weld_-_JSR-299_Reference_Implementation.xml:
        Error reported by XML parser: Invalid byte 1 of 1-byte UTF-8 sequence.
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 20.235s
      [INFO] Finished at: Mon Dec 27 16:53:01 CST 2010
      [INFO] Final Memory: 10M/39M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.3:generate (default-generate) on project weld-reference-guide: XSLT problem: error rendering [org.xml.sax.SAXParseException: Invalid byte 1 of 1-byte UTF-8 sequence.] on Weld_-_JSR-299_Reference_Implementation.xml -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      





      Is there any way to work around this problem?