Reusable, modular maven-tiles for holistic OSS projects.
This is a collection of tiles we re-use for our own OSS projects. It is not encouraged to just use these tiles yourselves:
Tiles-Maven works best when you and your team own the tiles. I don’t recommend relying on open source tiles, always create your own versions and always lock down versions of third party tiles, just like you would third party dependencies.
That being said ... let's have some fun with tiles.
Defined in kotlin-compile-tile/tile.xml
Usage
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<kotlin.version>1.6.10</kotlin.version>
<java.version>17</java.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<filtering>true</filtering>
<tiles>
<tile>io.toolisticon.maven.tile:kotlin-compile-tile:${project.parent.version}</tile>
</tiles>
</configuration>
</plugin>
</plugins>
</build>
required properties
${kotlin.version}
${java.version}
${project.build.sourceEncoding}
Features
- provides dependencies to
kotlin-stdlib-jdk8
kotlin-reflect
- Provides plugins
kotlin-maven-plugin
- includeing allopen and noarg dependenciesmaven-compiler-plugin
- disabling default java compilebuild-helper-maven-plugin
to include kotlin sources in deploymentdokka-maven-plugin
for kdoc documentationmaven-javadoc-plugin