mirror of
https://github.com/correl/mage.git
synced 2024-11-14 11:09:31 +00:00
Refactor: added auto-generated readable readme file to releases
This commit is contained in:
parent
7880d6cc43
commit
e2271d79fb
7 changed files with 62 additions and 3 deletions
|
@ -215,6 +215,10 @@
|
|||
</descriptors>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.ruleoftech</groupId>
|
||||
<artifactId>markdown-page-generator-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
<finalName>mage-client</finalName>
|
||||
|
|
|
@ -37,8 +37,16 @@
|
|||
<filtered>true</filtered>
|
||||
<directory>../</directory>
|
||||
<includes>
|
||||
<include>readme.md</include>
|
||||
<include>LICENSE.txt</include>
|
||||
<include>readme.md</include>
|
||||
</includes>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<filtered>true</filtered>
|
||||
<directory>${project.build.directory}/docs/</directory>
|
||||
<includes>
|
||||
<include>readme.html</include>
|
||||
</includes>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
</fileSet>
|
||||
|
|
|
@ -62,6 +62,10 @@
|
|||
</descriptors>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.ruleoftech</groupId>
|
||||
<artifactId>markdown-page-generator-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
<finalName>mage-serverconsole</finalName>
|
||||
|
|
|
@ -28,8 +28,16 @@
|
|||
<filtered>true</filtered>
|
||||
<directory>../</directory>
|
||||
<includes>
|
||||
<include>readme.md</include>
|
||||
<include>LICENSE.txt</include>
|
||||
<include>readme.md</include>
|
||||
</includes>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<filtered>true</filtered>
|
||||
<directory>${project.build.directory}/docs/</directory>
|
||||
<includes>
|
||||
<include>readme.html</include>
|
||||
</includes>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
</fileSet>
|
||||
|
|
|
@ -352,6 +352,10 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.ruleoftech</groupId>
|
||||
<artifactId>markdown-page-generator-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
<finalName>mage-server</finalName>
|
||||
|
|
|
@ -54,8 +54,16 @@
|
|||
<filtered>true</filtered>
|
||||
<directory>../</directory>
|
||||
<includes>
|
||||
<include>readme.md</include>
|
||||
<include>LICENSE.txt</include>
|
||||
<include>readme.md</include>
|
||||
</includes>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<filtered>true</filtered>
|
||||
<directory>${project.build.directory}/docs/</directory>
|
||||
<includes>
|
||||
<include>readme.html</include>
|
||||
</includes>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
</fileSet>
|
||||
|
|
23
pom.xml
23
pom.xml
|
@ -116,11 +116,34 @@
|
|||
<version>2.7</version>
|
||||
</plugin>
|
||||
|
||||
<!-- devs only: allows to run apps from command line by exec:java command -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>3.0.0</version>
|
||||
</plugin>
|
||||
|
||||
<!-- generate readable readme file for releases -->
|
||||
<!-- results uses in distribution.xml -->
|
||||
<!-- https://github.com/walokra/markdown-page-generator-plugin -->
|
||||
<plugin>
|
||||
<groupId>com.ruleoftech</groupId>
|
||||
<artifactId>markdown-page-generator-plugin</artifactId>
|
||||
<version>2.4.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>generate</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<inputDirectory>../</inputDirectory>
|
||||
<inputFileExtensions>md</inputFileExtensions>
|
||||
<outputDirectory>${project.build.directory}/docs</outputDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
|
Loading…
Reference in a new issue