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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Various maven plugins
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:
${project}
${project.basedir}
${settings}
quickstart
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.