Re: About Asciidoctor Maven integration: A custom lifecycle
Posted by
Alexander Schwartz on
Aug 11, 2019; 11:07am
URL: https://discuss.asciidoctor.org/About-Asciidoctor-Maven-integration-A-custom-lifecycle-tp7063p7066.html
I've come across similar situations in the past. I usually solved this by adding profiles to the maven project. Selecting one or several profiles allowed me to build the application, the documentation or both.
The maven lifecycle already supports several phases like 'initialize', 'generate-sources', 'process-sources', etc. and I wonder how your phases could map to existing phases.
The asciidoctor-maven-plugin has its own GitHub repository, maybe opening an issue there would be the place to discuss this:
https://github.com/asciidoctor/asciidoctor-maven-plugin