org.eclipse.jkube.maven.doc.ClasspathIncludeExtension Maven / Gradle / Ivy
/**
* Copyright (c) 2019 Red Hat, Inc.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at:
*
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat, Inc. - initial API and implementation
*/
package org.eclipse.jkube.maven.doc;
import org.asciidoctor.Asciidoctor;
import org.asciidoctor.extension.JavaExtensionRegistry;
import org.asciidoctor.jruby.extension.spi.ExtensionRegistry;
/**
* @author roland
* @since 11/07/16
*/
public class ClasspathIncludeExtension implements ExtensionRegistry {
@Override
public void register(Asciidoctor asciidoctor) {
final JavaExtensionRegistry javaExtensionRegistry = asciidoctor.javaExtensionRegistry();
javaExtensionRegistry.includeProcessor(new ClasspathIncludeProcessor());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy