Mojo

transform error

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: docbook
  • Labels:
    None
  • Environment:
    linux
  • Complexity:
    Intermediate
  • Number of attachments :
    1

Description

Remarks: Zeilennummer => line ; Spaltennummer => column
example file: http://www.eclipse.org/articles/Article-Authoring-With-Eclipse/files/book.xml

dir listing before mvn execution:
[miga@regio-nb documentation]$ find .
.
./.project
./pom.xml
./.classpath
./src
./src/docbook
./src/docbook/book.xml
./bin
./bin/src
./bin/src/docbook
./bin/src/docbook/book.xml
./bin/.project
./bin/.classpath
./bin/pom.xml

dir listing after execution of > mvn docbook:transform <
[miga@regio-nb documentation]$ find .
.
./.project
./pom.xml
./.classpath
./src
./src/docbook
./src/docbook/book.xml
./bin
./bin/src
./bin/src/docbook
./bin/src/docbook/book.xml
./bin/.project
./bin/.classpath
./bin/pom.xml
./target
./target/docbook
./target/docbook/book.xml.db
./target/docbook/olinkdb.xml
[miga@regio-nb documentation]$

[INFO] ----------------------------------------------------------------------------
[INFO] Building Unnamed - documentation:documentation:pom:0.0.1
[INFO] task-segment: [docbook:transform]
[INFO] ----------------------------------------------------------------------------
[INFO] Searching repository for plugin with prefix: 'docbook'.
[INFO] docbook:transform
[INFO] Loading olink database generation stylesheet
[INFO] Creating olink database for 1 Docbook stale file(s)
http://docbook.sourceforge.net/release/xsl/current/xhtml/chunker.xsl; Zeilennummer91; Spaltennummer18; Writing /home/miga/workspace-test/documentation/target/docbook/book.xml.db for book(book)
[INFO] Creating master olink database file
[INFO] Transforming 1 Docbook stale file(s)
[ERROR] mojo-execute : docbook:transform
Diagnosis: java.io.FileNotFoundException: /home/miga/workspace-test/documentation/target/site/docbook/book.html (No such file or directory)
FATAL ERROR: Error executing Maven for a project
[ERROR] project-execute : documentation:documentation:pom:0.0.1 ( task-segment: [docbook:transform] )
Diagnosis: java.io.FileNotFoundException: /home/miga/workspace-test/documentation/target/site/docbook/book.html (No such file or directory)
FATAL ERROR: Error executing Maven for a project
org.apache.maven.BuildFailureException: java.io.FileNotFoundException: /home/miga/workspace-test/documentation/target/site/docbook/book.html (No such file or directory)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:441)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:382)
at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68)
Caused by: org.apache.maven.plugin.MojoFailureException: java.io.FileNotFoundException: /home/miga/workspace-test/documentation/target/site/docbook/book.html (No such file or directory)
at org.codehaus.mojo.docbook.TransformMojo.execute(TransformMojo.java:156)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
... 8 more

Issue Links

Activity

Hide
Lars Trieloff added a comment -

This problem occurs when there is no /src/docbook/resources directory available. A fix for this problem is included in MOJO-617.

Show
Lars Trieloff added a comment - This problem occurs when there is no /src/docbook/resources directory available. A fix for this problem is included in MOJO-617.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: