Hi Koen,
thanks for the answer. Now it looks a bit different, but still a
strange error. And it moans about a bad checksum for docbook…
Downloading:
http://repository.jboss.com/maven2/org/jbpm/jbpm4/docbook-style/1.0.0/docbook-style-1.0.0.jdocbook-style
28K downloaded
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file
for org/jbpm/jbpm4/docbook-style/1.0.0/docbook-style-1.0.0.jdocbook-style -
IGNORING
[INFO] [jdocbook:resources {execution: default}]
[INFO] unpacking dependency resource [C:\Dokumente und Einstellungen\ruecker\.m2\repository\org\jbpm\jbpm4\docbook-style\1.0.0\docbook-style-1.0.0.jdocbook-style]
to staging-dir [D:\Projekte\jbpm4\modules\devguide\target\docbook\staging]
[INFO] Expanding: C:\Dokumente und
Einstellungen\ruecker\.m2\repository\org\jbpm\jbpm4\docbook-style\1.0.0\docbook-style-1.0.0.jdocbook-style
into D:\Projekte\jbpm4\modules\devguide\target\docbook\staging
[INFO] [jdocbook:generate {execution: default}]
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] could not locate resource
[classpath:/xslt/org/jboss/xhtml-single.xsl]
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.IllegalArgumentException: could not locate resource
[classpath:/xslt/org/jboss/xhtml-single.xsl]
at org.jboss.jdocbook.util.ResourceHelper.requireResource(ResourceHelper.java:47)
at
org.jboss.jdocbook.render.impl.BasicRenderer.buildTransformer(BasicRenderer.java:138)
at
org.jboss.jdocbook.render.impl.BasicRenderer.performRendering(BasicRenderer.java:119)
at org.jboss.jdocbook.render.impl.BasicRenderer.render(BasicRenderer.java:115)
at
org.jboss.maven.plugins.jdocbook.GenerationMojo.process(GenerationMojo.java:117)
at
org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.doExecute(AbstractDocBookMojo.java:260)
at
org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.execute(AbstractDocBookMojo.java:292)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at
org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 8 seconds
[INFO] Finished at: Wed Jun 17 18:30:39 CEST 2009
[INFO] Final Memory: 35M/63M
[INFO]
------------------------------------------------------------------------
Von: Koen Aers
[mailto:koen.aers@jboss.com]
Gesendet: Mittwoch, 17. Juni 2009 18:22
An: Bernd Rücker
Cc: 'jBPM Dev List'
Betreff: Re: [jbpm-dev] Maven drives me crazy: Negative seek offset
Hi Bernd,
I had a similar problem just now, albeit not with the jBPM 4
build. In my case it was caused by a bad download. I would suggest to delete
'docbook-style-1.0.0.jdocbook.style' from your local repo and try again.
Hope this helps,
Koen
Op 17-jun-09, om 11:39 heeft Bernd Rücker het volgende
geschreven:
Hi!
I tried to build the distro and tests locally, but somehow maven
doesn’t let me, I have a strange exception when building the docs:
[INFO] ------------------------------------------------------------------------
[INFO] Building jBPM 4 - Developers Guide
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [javadoc:jar {execution: attach-javadocs}]
[INFO] Not executing Javadoc as the project is not a Java
classpath-capable package
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent
recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[WARNING] POM for
'org.jboss:jbossorg-docbook-xslt:pom:1.1.0:compile' is invalid. It will be
ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project
org.jboss:jbossorg-docbook-xslt at C:\Dokumente und
Einstellungen\ruecker\.m2\repository\org\jboss\jbossorg-docbook-xslt\1.1.0\jbossorg-docbook-xslt-1.1.0.pom
[WARNING] POM for 'org.jbpm.jbpm4:docbook-style:pom:1.0.0:compile'
is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
for project org.jbpm.jbpm4:docbook-style at C:\Dokumente und
Einstellungen\ruecker\.m2\repository\org\jbpm\jbpm4\docbook-style\1.0.0\docbook-style-1.0.0.pom
[INFO] [jdocbook:resources {execution: default}]
[INFO] unpacking dependency resource [C:\Dokumente und
Einstellungen\ruecker\.m2\repository\org\jbpm\jbpm4\docbook-style\1.0.0\docbook-style-1.0.0.jdocbook-style]
to staging-dir [D:\Projekte\jbpm4\modules\devguide\target\docbook\staging]
[INFO] Expanding: C:\Dokumente und Einstellungen\ruecker\.m2\repository\org\jbpm\jbpm4\docbook-style\1.0.0\docbook-style-1.0.0.jdocbook-style
into D:\Projekte\jbpm4\modules\devguide\target\docbook\staging
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Rendering problem
Embedded error: Error unpacking file [C:\Dokumente und
Einstellungen\ruecker\.m2\repository\org\jbpm\jbpm4\docbook-style\1.0.0\docbook-style-1.0.0.jdocbook-style]
to [D:\Projekte\jbpm4\modules\devguide\target\docbook\staging]
Negative seek offset
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 48 seconds
[INFO] Finished at: Wed Jun 17 17:37:12 CEST 2009
[INFO] Final Memory: 35M/63M
[INFO]
------------------------------------------------------------------------
Any hints?
Cheers
Bernd
_______________________________________________
jbpm-dev mailing list
jbpm-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbpm-dev