wildfly/maven-plugins

Name: maven-plugins

Owner: wildfly

Description: Various maven plugins

Created: 2017-05-18 12:19:01.0

Updated: 2018-04-09 19:57:41.0

Pushed: 2018-04-12 06:23:12.0

Homepage: null

Size: 189

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

maven-plugins

Various maven plugins

DrupalPushMojo

This plugin will create/update coding resources (quickstarts, demos, etc) on the developers.redhat.com website. It will search for the md and html files (both must be present) for the resource. The following properties are used in the plugin:

Usage

Within the pom.xml file:

...
<plugin>
    <groupId>org.wildfly.plugins</groupId>
    <artifactId>wildfly-maven-plugin</artifactId>
    <version>${version.wildfly.maven.plugin}</version>
</plugin>
...
<build>
    <plugin>
        <groupId>com.vladsch.flexmark</groupId>
        <artifactId>markdown-page-generator-plugin</artifactId>
        <executions>
            <execution>
                <phase>process-resources</phase>
                <goals>
                    <goal>generate</goal>
                </goals>
            </execution>
        </executions>
        ...
     </plugin>
     <plugin>
            <groupId>org.wildfly.maven.plugins</groupId>
            <artifactId>quickstart-documentation-plugin</artifactId>
        <executions>
            <execution>
                <phase>process-resources</phase>
                <goals>
                    <goal>drupal-push</goal>
                </goals>
            </execution>
        </executions>
        <configuration>
            <drupalUrl>http://drupal.mycompany.com</drupalUrl>
            <serverName>drupal</serverName>
        </configuration>
     </plugin>
</build>

NOTE: This plugin must be placed after any other plugins that generate the HTML from markdown!

Your settings.xml file will need to have a corresponding server entry with the username and password set for the Drupal server.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.