| author | b0in
<b0in@proton.me> 2023-11-27 21:49:33 UTC |
| committer | b0in
<b0in@proton.me> 2023-11-27 21:49:33 UTC |
| parent | 72a63c5f6a1f9b9e033cf15a2e2882d33c4c1d9f |
| crow.game.site/src/site/apt/index.apt | +0 | -12 |
| crow.game.site/src/site/markdown/index.md | +15 | -0 |
| pom.xml | +38 | -0 |
diff --git a/crow.game.site/src/site/apt/index.apt b/crow.game.site/src/site/apt/index.apt deleted file mode 100644 index 4fe2358..0000000 --- a/crow.game.site/src/site/apt/index.apt +++ /dev/null @@ -1,12 +0,0 @@ -About - - crow.game. It's a game server / game server emulator. - -* Downloading the crow.game source code - - You can download the source code here: TODO: link the source code download. - -* Binary releases: - - There is an OMNIBUS release which contains all the existing work so far as a runnable-jar - here: TODO: build+link the runnable omnibus jar. \ No newline at end of file diff --git a/crow.game.site/src/site/markdown/index.md b/crow.game.site/src/site/markdown/index.md new file mode 100644 index 0000000..e8ba471 --- /dev/null +++ b/crow.game.site/src/site/markdown/index.md @@ -0,0 +1,15 @@ +## About + +crow.game. It's a game server / game server emulator. + +### Viewing and downloading the crow.game source code. + +You can view the source tree here: <a href="/code/git/r/crow.game/index.html">crow.game</a> + +You can download the source code here: +<a href="/code/releases/crow.game/">/code/releases/crow.game/index.html</a>. + +### Binary releases: + +There is an OMNIBUS release which contains all the existing work so far as a runnable-jar +here: TODO: build+link the runnable omnibus jar. diff --git a/pom.xml b/pom.xml index a8c83ff..b8e63f8 100644 --- a/pom.xml +++ b/pom.xml @@ -41,6 +41,7 @@ <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <maven.build.timestamp.format>yyyyMMdd_HHmm</maven.build.timestamp.format> </properties> <build> <plugins> @@ -155,4 +156,41 @@ </plugin> </plugins> </reporting> + <profiles> + <profile> + <id>source-release</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.6.0</version> + <dependencies> + <dependency> + <groupId>org.apache.apache.resources</groupId> + <artifactId>apache-source-release-assembly-descriptor</artifactId> + <version>1.5</version> + </dependency> + </dependencies> + <executions> + <execution> + <id>source-release-assembly</id> + <goals> + <goal>single</goal> + </goals> + <phase>package</phase> + <configuration> + <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> + <descriptorRefs> + <descriptorRef>source-release</descriptorRef> + </descriptorRefs> + <finalName>crow.game-${maven.build.timestamp}</finalName> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>