Created
May 28, 2013 03:33
-
-
Save takahashim/5660367 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mvn exec:java -Dexec.mainClass="com.adobe.epubcheck.tool.Checker" -Dexec.args="-help" | |
[INFO] Scanning for projects... | |
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available | |
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building EpubCheck :: Validation Tool for EPUB 3.0.1-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available | |
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 | |
[INFO] | |
[INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) @ epubcheck >>> | |
[INFO] | |
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ epubcheck --- | |
[INFO] | |
[INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) @ epubcheck <<< | |
[INFO] | |
[INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ epubcheck --- | |
When running this tool, the first argument should be the name (with the path) of the file to check. | |
If checking a non-epub file, the epub version of the file must be specified using -v and the type of the file using -mode. | |
The default version is: 3.0. | |
Modes and versions supported: | |
-mode opf -v 2.0 // For single OPF file validation (EPUB 2) | |
-mode opf -v 3.0 // For single OPF file validation (EPUB 3) | |
-mode xhtml -v 2.0 // For single XHTML file validation (EPUB 2) | |
-mode xhtml -v 3.0 // For single XHTML file validation (EPUB 3) | |
-mode svg -v 2.0 // For single SVG file validation (EPUB 2) | |
-mode svg -v 3.0 // For single SVG file validation (EPUB 3) | |
-mode nav -v 3.0 // For single 'Navigation Document' validation | |
-mode mo -v 3.0 // For single 'Media Overlays' validation | |
-mode exp // For validating expanded EPUB archives | |
This tool also accepts the following flags: | |
-save = saves the epub created from the expanded epub (-mode exp) | |
-quiet = no message sent to stdout, only errors in stderr | |
-out <file> = ouput an assessment XML document in file (experimental) | |
-? or -help = displays this help message | |
Epubcheck Version 3.0.1-SNAPSHOT | |
-help ヘルプを表示 | |
No file to check was specified in arguments | |
ツールを終了します |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment