[
https://issues.jboss.org/browse/FORGEPLUGINS-171?page=com.atlassian.jira....
]
George Gastaldi commented on FORGEPLUGINS-171:
----------------------------------------------
Now I am seeing the following errors while installing it:
{code}
[SEVERE] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project asciidoctor-forge-addon-impl: Compilation failure:
Compilation failure:
[SEVERE]
/tmp/1410539786321-0/impl/src/main/java/org/jboss/forge/addon/asciidoctor/AsciidoctorGemFacetImpl.java:[52,39]
cannot find symbol
[SEVERE] symbol: variable ASCIIDOCTOR_DIAGRAM
[SEVERE] location: class org.jboss.forge.addon.asciidoctor.AsciidoctorGemFacetImpl
[SEVERE]
/tmp/1410539786321-0/impl/src/main/java/org/jboss/forge/addon/asciidoctor/AsciidoctorGemFacetImpl.java:[52,74]
cannot find symbol
[SEVERE] symbol: variable ASCIIDOCTOR_DIAGRAM
[SEVERE] location: class org.jboss.forge.addon.asciidoctor.AsciidoctorGemFacetImpl
[SEVERE]
/tmp/1410539786321-0/impl/src/main/java/org/jboss/forge/addon/asciidoctor/AsciidoctorGemFacetImpl.java:[114,46]
cannot find symbol
[SEVERE] symbol: variable ASCIIDOCTOR_DIAGRAM
[SEVERE] location: class org.jboss.forge.addon.asciidoctor.AsciidoctorGemFacetImpl
[SEVERE] -> [Help 1]
{code}
Create an Asciidoctor Addon
---------------------------
Key: FORGEPLUGINS-171
URL:
https://issues.jboss.org/browse/FORGEPLUGINS-171
Project: Forge Plugins/Addons
Issue Type: Feature Request
Reporter: Maxime Gréau
Create an addon to handle Asciidoctor configuration.
The highest value is simply bypassing the copy-and-paste task currently required to setup
the pom for Asciidcotor configuration for Maven Project.
There are two distinct needs here :
1) the first is setting up the regular plugin for processing src/main/asciidoc into one
or more output formats.
2) the second is setting up the site plugin.
Both plugins are setup in the example you can find here:
https://github.com/asciidoctor/asciidoctor-maven-example/blob/master/pom.xml
I've started to develop this addon here (early version) :
https://github.com/mgreau/asciidoctor-forge-addon
You can install it and try the feature 1) like this for example :
asciidoctor-setup --asciiDocFile manual.adoc --converter HTML5 --docWriter Max --toc
left --sourceHighlighter coderay
I'd love to have your feedback about it.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)