diff --git a/CHANGELOG b/CHANGELOG index 0014081..eb23332 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,13 @@ CHANGELOG ========= +5.0.0 +----- + +* [BREAKING] Split most configuration out into `kemitix-maven-tiles` +* [BREAKING] No longer provide lombok as a dependency +* Add tiles 0.1.0 + 4.0.0 ----- diff --git a/README.md b/README.md index 5721f4d..299f35a 100644 --- a/README.md +++ b/README.md @@ -1,54 +1,129 @@ KEMITIX-PARENT ============== -This Maven Parent POM several preconfigured plugins. +* `kemitix-parent` +* `kemitix-maven-tiles` + +## Parent + +A parent POM for my own personal projects. ### Usage -#### Maven - +```xml + net.kemitix kemitix-parent RELEASE +``` -## Versions +### Contents -If you want to override the version or configuration values of any of the -plugins configured by this parent, you can set the following properties to the -desired value. +The POM defines the following items: -* project.build.sourceEncoding -* project.reporting.outputEncoding -* kemitix.build.directory -* kemitix-quality-maven-plugin.version -* lombok.version -* maven-javadoc-plugin.version -* maven-source-plugin.version -* maven-gpg-plugin.version -* maven-deploy-plugin.version -* maven-compiler-plugin.version -* maven-surefire-plugin.version -* maven-failsafe-plugin.version -* maven-jxr-plugin.version -* java.version -* versions.version -* coveralls-maven-plugin.version +* `issueManagement` +* `scm` +* `url` +* `inceptionYear` +* `licenses` +* `developers` +* `distributionManagement` -## Kemitix Quality +The POM sets the following properties: -The [kemitix-quality-maven-plugin](https://github.com/kemitix/kemitix-quality-maven-plugin) -provides several preconfigured quality related plugins. +* `project.reporting.outputEncoding` as `UTF-8` +* `java.version` as `1.8` -N.B. The Kemitix Quality plugin required 100% code instruction coverage and mutation ratio. See the project page for details of adjusting these levels if needed. +## Tiles -## Maven Compiler Plugin +Maven Tiles for preconfigured plugins. These can be used independently of the `kemitix-parent` POM. -The [Maven Compiler Plugin](https://maven.apache.org/plugins/maven-compiler-plugin/) -compiles your sources. +### Usage -### Configuration +```xml + + + 2.10 + 0.1.0 + + + + + io.repaint.maven + tiles-maven-plugin + ${tiles-maven-plugin.version} + true + + + net.kemitix.tiles:all-tiles:${kemitix-tiles.version} + + + + net.kemitix.tiles:maven-plugins-tile:${kemitix-tiles.version} + net.kemitix.tiles:enforcer-tile:${kemitix-tiles.version} + net.kemitix.tiles:compiler-tile:${kemitix-tiles.version} + net.kemitix.tiles:checkstyle-tile:${kemitix-tiles.version} + net.kemitix.tiles:huntbugs-tile:${kemitix-tiles.version} + net.kemitix.tiles:pmd-tile:${kemitix-tiles.version} + net.kemitix.tiles:digraph-tile:${kemitix-tiles.version} + net.kemitix.tiles:testing-tile:${kemitix-tiles.version} + net.kemitix.tiles:coverage-tile:${kemitix-tiles.version} + net.kemitix.tiles:pitest-tile:${kemitix-tiles.version} + net.kemitix.tiles:release-tile:${kemitix-tiles.version} + + + + + + +``` + +### Properties + +If you want to override the version or configuration values of any of the plugins configured by the tiles, you can set the following properties to the desired value. + +* `project.build.sourceEncoding` +* `maven-javadoc-plugin.version` +* `maven-source-plugin.version` +* `maven-gpg-plugin.version` +* `maven-deploy-plugin.version` +* `maven-compiler-plugin.version` +* `maven-surefire-plugin.version` +* `maven-failsafe-plugin.version` +* `maven-jxr-plugin.version` +* `java.version` +* `versions.version` +* `coveralls-maven-plugin.version` + +### Maven Plugins Tile + +Sets updated versions for the following `org.apache.maven.plugins`: + +* `maven-clean-plugin` +* `maven-install-plugin` +* `maven-site-plugin` + +Adds an updated version of the `org.codehaus.mojo:versions-maven-plugin` plugin. + +#### Maven JXR Plugin + +The [Maven JXR Plugin](http://maven.apache.org/jxr/maven-jxr-plugin/index.html) produces cross-referenced HTML pages of your source code as part of the `compile` phase in `target/site/xref/`. + +### Enforcer Tile + +Provides the `maven-enforcer-plugin`, performing the `display-info` and `enforce` goals during the `validate` phase. + +Required Maven Version is set by the `required-maven.version` property. + +Required Java Version is set by the `java.version` property. + +### Compiler Tile + +#### Maven Compiler Plugin + +The [Maven Compiler Plugin](https://maven.apache.org/plugins/maven-compiler-plugin/) compiles your sources. Ref: [compile:compile](https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html) @@ -58,101 +133,114 @@ Ref: [compile:compile](https://maven.apache.org/plugins/maven-compiler-plugin/co * target: ${java.version} * encoding: ${project.build.sourceEncoding} -## Maven Surefire Plugin +### Checkstyle Tile -The [Maven Surefire Plugin](http://maven.apache.org/surefire/maven-surefire-plugin/index.html) -runs your Unit Tests. +The [Maven Checkstyle Plugin](https://maven.apache.org/plugins/maven-checkstyle-plugin/) verifies the source code against a Checkstyle ruleset file. -### Configuration +The default ruleset is the level `5-complexity` ruleset from [`kemitix-checkstyle-ruleset`](https://github.com/kemitix/kemitix-checkstyle-ruleset). -No configuration applied beyond the defaults. +To use another level within `kemitix-checkstyle-ruleset`, set the `ruleset.level` property. e.g. `4-tweaks`. -## Maven Failsafe Plugin +To use a different checkstyle ruleset completely, set the `checkstyle.ruleset.location` property. -The [Maven Failsafe Plugin](http://maven.apache.org/surefire/maven-failsafe-plugin/index.html) -runs your Integration Tests. -Runs its [integration-test](http://maven.apache.org/surefire/maven-failsafe-plugin/integration-test-mojo.html) -goal during the `verify` phase. +### Huntbugs Tile -### Configuration +The [Huntbugs Maven Plugin](https://github.com/amaembo/huntbugs) performs a static analysis of the compiled bytecode for common bug patterns during the `verify` phase. -No configuration applied beyond the defaults. +### PMD Tile -## Maven Source Plugin +The [PMD Maven Plugin](https://maven.apache.org/plugins/maven-pmd-plugin/) performs the PMD static code analysis during the `verify` phase. -The [Maven Source Plugin](https://maven.apache.org/plugins/maven-source-plugin/) -bundles your sources into a jar file ready for deployment. +Has a transitive dependency upon the `maven-plugins-tile` and includes it automatically. -Runs its [jar-no-fork](https://maven.apache.org/plugins/maven-source-plugin/jar-no-fork-mojo.html) -goal during the `verify` phase. +### Digraph Tile -### Configuration +The [Digraph Maven Plugin](https://github.com/kemitix/digraph-dependency-maven-plugin/) creates a graphviz diagram of the package dependencies within the source code during the `verify` phase. -No configuration applied beyond the defaults. +Set the property `digraph-dependency.basePackage` to the base of the project to be graphed. The default value is `net.kemitix`. -## Maven Javadoc Plugin +### Testing Tile -The [Maven Javadoc Plugin](https://maven.apache.org/plugins/maven-javadoc-plugin/) -generates your html javadocs and bundles them into a jar file ready for -deployment. +#### Maven Surefire Plugin -Runs its [jar](https://maven.apache.org/plugins/maven-javadoc-plugin/jar-mojo.html) -goal during the `verify` phase. +The [Maven Surefire Plugin](http://maven.apache.org/surefire/maven-surefire-plugin/index.html) runs your Unit Tests during the `test` phase. -### Configuration +### Maven Failsafe Plugin -No configuration applied beyond the defaults. +The [Maven Failsafe Plugin](http://maven.apache.org/surefire/maven-failsafe-plugin/index.html) runs your Integration Tests during the `verify` phase. -## Maven Deploy Plugin +### Coverage Tile -The [Maven Deploy Plugin](https://maven.apache.org/plugins/maven-deploy-plugin/) -uploads your artifacts to a remote repository. +#### Jacoco -### Configuration +The [Jacoco Maven Plugin](http://www.eclemma.org/jacoco/trunk/doc/maven.html) verifies that the test suite meets the required coverage ratios. -No configuration applied beyond the defaults. +The defaults require that all classes, lines and branches be covered by tests. i.e. 100% code coverage. -## Maven JXR Plugin +Set the following properties to set less strict targets: -The [Maven JXR Plugin](http://maven.apache.org/jxr/maven-jxr-plugin/index.html) -produces cross-referenced HTML pages of your source code. +* `jacoco-class-line-covered-ratio` - default = 1 (i.e. 100%) +* `jacoco-class-instruction-covered-ratio` - default = 1 (i.e. 100%) +* `jacoco-class-missed-count-maximum` - default = 0 (i.e. #classes with no tests <= 0) -### Configuration +Classes with names that end in the following are excluded from these limits: -No configuration applied beyond the defaults. +* `Test` +* `IT` +* `Main` +* `Application` +* `Configuration` +* `Immutable` -## Coveralls +#### Coveralls -The [Coveralls Maven Plugin](https://github.com/trautonen/coveralls-maven-plugin) -publishes coverage data to coveralls.io. +The [Coveralls Maven Plugin](https://github.com/trautonen/coveralls-maven-plugin) publishes coverage data to coveralls.io. -### Configuration - -The plugin is not configured to run automatically. It must be initiated manually: +The plugin is not configured to run automatically. It must be initiated manually, and requires the `release` profile to be enabled: ```shell mvn -P release test jacoco:report coveralls:report ``` -#### Requirements +This runs the tests, creates the jacoco report from the tests then uploads the results to http://coveralls.io. -In order to use the plugin: +### Pitest Tile -* *must* enable the `release` profile +#### Mutation Testing -# Distribution Management +The [Pitest Maven Plugin](http://pitest.org/quickstart/maven/) perform mutation test coverage checks during the `verify` phase. -Remote repositories are provided for the Sonatype Nexus Snapshots and Nexus Release -Repositories. See the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) -for information on how to deploy your artifact the Maven Central through -Sonatype. +Code coverage must by 100% and all mutations must result in a test from the test suite failing. -### Changing the Build Directory +Set `pitest.skip` to avoid running the mutation test. -If you want to change the build directory, e.g. from your settings.xml to an SSD -or ram drive, then set the value of the `kemitix.build.directory` to your required -locations. e.g. -` -/mnt/ramdrive/${project.groupId}/${project.artifactId} -` +Set `pitest.coverage` to a value between 0 and 1 to set the allowed ratio of uncovered code. i.e. 0 = 100% code coverage, 0.2 = 80% code coverage + +Set `pitest.mutation` to a value between 0 and 1 to set the allowed mutations to survive the test suite. i.e. 0 = 100% mutations caught, 0.2 = 80% mutations caught + +#### Highwheel Cyclic Analysis + +The [Highwheel Maven Plugin](https://github.com/hcoles/highwheel) detects and visualises class and package cyclic dependencies during the `verify` phase. It also reports on tests that appear to have been orphaned during refactoring. + +The generated report is created in `target/highwheel/`. + +### Release Tile + +The plugins in this Tile are only activated when the `release` profile is enabled. + +#### Maven Source Plugin + +The [Maven Source Plugin](https://maven.apache.org/plugins/maven-source-plugin/) bundles your sources into a jar file ready for deployment. + +Runs its [jar-no-fork](https://maven.apache.org/plugins/maven-source-plugin/jar-no-fork-mojo.html) goal during the `verify` phase. + +#### Maven Javadoc Plugin + +The [Maven Javadoc Plugin](https://maven.apache.org/plugins/maven-javadoc-plugin/) generates your html javadocs and bundles them into a jar file ready for deployment. + +Runs its [jar](https://maven.apache.org/plugins/maven-javadoc-plugin/jar-mojo.html) goal during the `verify` phase. + +#### Maven Deploy Plugin + +The [Maven Deploy Plugin](https://maven.apache.org/plugins/maven-deploy-plugin/) uploads your artifacts to a remote repository. diff --git a/pom.xml b/pom.xml index d472e68..6ba7184 100644 --- a/pom.xml +++ b/pom.xml @@ -5,12 +5,9 @@ net.kemitix kemitix-parent - 4.0.0 + 5.0.0 pom - Kemitix Parent - Common Parent with preconfigured plugins. - https://github.com/kemitix/kemitix-parent/issues GitHub Issues @@ -34,33 +31,8 @@ - UTF-8 UTF-8 - target - 0.2.1 - net.kemitix - - 1.16.18 - 1.8 - 3.0.0 - 2.5.2 - 2.5.3 - 3.6 - 3.0.0-M1 - 3.0.1 - 1.6 - 2.8.2 - 3.7.0 - 3.0.2 - 3.1.0 - 2.20.1 - 2.20.1 - 2.5 - 2.9 - 1.8 - 2.4 - 4.3.0 @@ -72,272 +44,9 @@ - - - org.projectlombok - lombok - ${lombok.version} - provided - - - - - - release - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadocs - verify - - jar - - - - - - - org.apache.maven.plugins - maven-source-plugin - - - attach-sources - verify - - jar-no-fork - - - - - - - org.apache.maven.plugins - maven-gpg-plugin - - ${gpg.passphrase} - - - - sign-artifacts - verify - - sign - - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - - - - - - - - sonatype-snapshots - https://oss.sonatype.org/content/repositories/snapshots/ - - true - - - false - - - - - - - sonatype-snapshots - https://oss.sonatype.org/content/repositories/snapshots/ - - true - - - false - - - - - - ${kemitix.build.directory} - - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${maven-javadoc-plugin.version} - - - org.apache.maven.plugins - maven-source-plugin - ${maven-source-plugin.version} - - - org.apache.maven.plugins - maven-gpg-plugin - ${maven-gpg-plugin.version} - - - org.apache.maven.plugins - maven-deploy-plugin - ${maven-deploy-plugin.version} - - - org.apache.maven.plugins - maven-clean-plugin - ${maven-clean-plugin.version} - - - org.apache.maven.plugins - maven-antrun-plugin - ${maven-antrun-plugin.version} - - - org.apache.maven.plugins - maven-install-plugin - ${maven-install-plugin.version} - - - org.apache.maven.plugins - maven-site-plugin - ${maven-site-plugin.version} - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - - -Xlint:unchecked - - true - true - ${java.version} - ${java.version} - ${project.build.sourceEncoding} - - - - net.kemitix - kemitix-quality-maven-plugin - ${kemitix-quality-maven-plugin.version} - - - - validate - verify - - - - - - org.apache.maven.plugins - maven-dependency-plugin - ${maven-dependency-plugin.version} - - - org.apache.maven.plugins - maven-assembly-plugin - ${maven-assembly-plugin.version} - - - org.apache.maven.plugins - maven-release-plugin - ${maven-release-plugin.version} - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - org.apache.maven.plugins - maven-failsafe-plugin - ${maven-failsafe-plugin.version} - - - integration-test - - integration-test - - - - verify - - verify - - - - - - org.eluder.coveralls - coveralls-maven-plugin - ${coveralls-maven-plugin.version} - - - org.codehaus.mojo - versions-maven-plugin - ${versions.version} - - - - - - - net.kemitix - kemitix-quality-maven-plugin - - - - - - - - org.apache.maven.plugins - maven-project-info-reports-plugin - ${maven-project-info-reports-plugin.version} - - - org.apache.maven.plugins - maven-javadoc-plugin - ${maven-javadoc-plugin.version} - - - org.apache.maven.plugins - maven-surefire-report-plugin - ${maven-surefire-plugin.version} - - - org.apache.maven.plugins - maven-jxr-plugin - ${maven-jxr-plugin.version} - - - org.codehaus.mojo - versions-maven-plugin - ${versions.version} - - - - dependency-updates-report - plugin-updates-report - property-updates-report - - - - - - + + tiles + diff --git a/tiles/.gitignore b/tiles/.gitignore new file mode 100644 index 0000000..e68e0db --- /dev/null +++ b/tiles/.gitignore @@ -0,0 +1,36 @@ +# Package Files # +*.jar +*.war +*.ear +*.zip + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +# maven build outputs +target/ + +# netbeans legacy +nbproject/ +nbactions.xml + +# eclipse legacy +.project + +# intellij +.idea/ +*.iml + +# Spring +spring.log +logs/ +/application.properties +/bootstrap.properties + +# Composer-style +vendor + +# Git and temp files +*.orig +*.patch +*~ diff --git a/tiles/LICENSE.txt b/tiles/LICENSE.txt new file mode 100644 index 0000000..e69de29 diff --git a/tiles/README.md b/tiles/README.md new file mode 100644 index 0000000..b5c62da --- /dev/null +++ b/tiles/README.md @@ -0,0 +1,43 @@ +# Kemitix Maven Tiles + +## Usage + +```xml + + + 2.10 + 0.1.0 + + + + + io.repaint.maven + tiles-maven-plugin + ${tiles-maven-plugin.version} + true + + + net.kemitix.tiles:all-tiles:${kemitix-tiles.version} + + + + net.kemitix.tiles:maven-plugins-tile:${kemitix-tiles.version} + net.kemitix.tiles:enforcer-tile:${kemitix-tiles.version} + net.kemitix.tiles:compiler-tile:${kemitix-tiles.version} + net.kemitix.tiles:checkstyle-tile:${kemitix-tiles.version} + net.kemitix.tiles:huntbugs-tile:${kemitix-tiles.version} + net.kemitix.tiles:pmd-tile:${kemitix-tiles.version} + net.kemitix.tiles:digraph-tile:${kemitix-tiles.version} + net.kemitix.tiles:testing-tile:${kemitix-tiles.version} + net.kemitix.tiles:coverage-tile:${kemitix-tiles.version} + net.kemitix.tiles:pitest-tile:${kemitix-tiles.version} + net.kemitix.tiles:release-tile:${kemitix-tiles.version} + + + + + + +``` + +Enabling the plugins in the `release-tile` requires the `release` profile to be active. diff --git a/tiles/all/pom.xml b/tiles/all/pom.xml new file mode 100644 index 0000000..b8e9635 --- /dev/null +++ b/tiles/all/pom.xml @@ -0,0 +1,16 @@ + + + + tiles-parent + net.kemitix.tiles + 0.1.0 + ../tiles-parent/pom.xml + + 4.0.0 + + all-tiles + tile + + diff --git a/tiles/all/tile.xml b/tiles/all/tile.xml new file mode 100644 index 0000000..683b376 --- /dev/null +++ b/tiles/all/tile.xml @@ -0,0 +1,27 @@ + + + + + io.repaint.maven + tiles-maven-plugin + ${tiles-maven-plugin.version} + true + + + net.kemitix.tiles:maven-plugins-tile:0.1.0 + net.kemitix.tiles:enforcer-tile:0.1.0 + net.kemitix.tiles:compiler-tile:0.1.0 + net.kemitix.tiles:checkstyle-tile:0.1.0 + net.kemitix.tiles:huntbugs-tile:0.1.0 + net.kemitix.tiles:pmd-tile:0.1.0 + net.kemitix.tiles:digraph-tile:0.1.0 + net.kemitix.tiles:testing-tile:0.1.0 + net.kemitix.tiles:coverage-tile:0.1.0 + net.kemitix.tiles:pitest-tile:0.1.0 + net.kemitix.tiles:release-tile:0.1.0 + + + + + + diff --git a/tiles/checkstyle/pom.xml b/tiles/checkstyle/pom.xml new file mode 100644 index 0000000..559c84c --- /dev/null +++ b/tiles/checkstyle/pom.xml @@ -0,0 +1,16 @@ + + + + tiles-parent + net.kemitix.tiles + 0.1.0 + ../tiles-parent/pom.xml + + 4.0.0 + + checkstyle-tile + tile + + diff --git a/tiles/checkstyle/tile.xml b/tiles/checkstyle/tile.xml new file mode 100644 index 0000000..96ea2c7 --- /dev/null +++ b/tiles/checkstyle/tile.xml @@ -0,0 +1,47 @@ + + + 2.17 + 8.0 + 1.24.1 + 3.3.0 + 5-complexity + net/kemitix/checkstyle-${ruleset.level}.xml + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + ${maven-checkstyle-plugin.version} + + + com.puppycrawl.tools + checkstyle + ${checkstyle.version} + + + com.github.sevntu-checkstyle + sevntu-checkstyle-maven-plugin + ${sevntu.version} + + + net.kemitix + kemitix-checkstyle-ruleset + ${ruleset.version} + + + + ${checkstyle.ruleset.location} + + + + verify + + check + + + + + + + diff --git a/tiles/compiler/pom.xml b/tiles/compiler/pom.xml new file mode 100644 index 0000000..011c3d1 --- /dev/null +++ b/tiles/compiler/pom.xml @@ -0,0 +1,16 @@ + + + + tiles-parent + net.kemitix.tiles + 0.1.0 + ../tiles-parent/pom.xml + + 4.0.0 + + compiler-tile + tile + + diff --git a/tiles/compiler/tile.xml b/tiles/compiler/tile.xml new file mode 100644 index 0000000..f3222f1 --- /dev/null +++ b/tiles/compiler/tile.xml @@ -0,0 +1,26 @@ + + + 1.8 + 3.7.0 + UTF-8 + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven-compiler-plugin.version} + + + -Xlint:unchecked + + true + true + ${java.version} + ${java.version} + ${project.build.sourceEncoding} + + + + + diff --git a/tiles/coverage/pom.xml b/tiles/coverage/pom.xml new file mode 100644 index 0000000..9c63fc9 --- /dev/null +++ b/tiles/coverage/pom.xml @@ -0,0 +1,16 @@ + + + + tiles-parent + net.kemitix.tiles + 0.1.0 + ../tiles-parent/pom.xml + + 4.0.0 + + coverage-tile + tile + + diff --git a/tiles/coverage/tile.xml b/tiles/coverage/tile.xml new file mode 100644 index 0000000..edbe34e --- /dev/null +++ b/tiles/coverage/tile.xml @@ -0,0 +1,85 @@ + + + UTF-8 + 0.7.9 + 4.3.0 + 1 + 1 + 0 + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco-maven-plugin.version} + + + + prepare-agent + + + + report + prepare-package + + report + + + + default-check + + check + + + + + + + CLASS + + *Test + *IT + *Main + *Application + *Configuration + *Immutable* + + + + LINE + COVEREDRATIO + ${jacoco-class-line-covered-ratio} + + + INSTRUCTION + COVEREDRATIO + ${jacoco-class-instruction-covered-ratio} + + + CLASS + MISSEDCOUNT + ${jacoco-class-missed-count-maximum} + + + + + + + + org.eluder.coveralls + coveralls-maven-plugin + ${coveralls-maven-plugin.version} + + + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco-maven-plugin.version} + + + + diff --git a/tiles/digraph/pom.xml b/tiles/digraph/pom.xml new file mode 100644 index 0000000..b840b0a --- /dev/null +++ b/tiles/digraph/pom.xml @@ -0,0 +1,16 @@ + + + + tiles-parent + net.kemitix.tiles + 0.1.0 + ../tiles-parent/pom.xml + + 4.0.0 + + digraph-tile + tile + + diff --git a/tiles/digraph/tile.xml b/tiles/digraph/tile.xml new file mode 100644 index 0000000..df398fd --- /dev/null +++ b/tiles/digraph/tile.xml @@ -0,0 +1,26 @@ + + + 0.9.0 + net.kemitix + + + + + net.kemitix + digraph-dependency-maven-plugin + ${digraph-dependency.version} + + ${digraph-dependency.basePackage} + + + + verify + + digraph + + + + + + + diff --git a/tiles/enforcer/pom.xml b/tiles/enforcer/pom.xml new file mode 100644 index 0000000..9da2f75 --- /dev/null +++ b/tiles/enforcer/pom.xml @@ -0,0 +1,16 @@ + + + + tiles-parent + net.kemitix.tiles + 0.1.0 + ../tiles-parent/pom.xml + + 4.0.0 + + enforcer-tile + tile + + diff --git a/tiles/enforcer/tile.xml b/tiles/enforcer/tile.xml new file mode 100644 index 0000000..6cf8764 --- /dev/null +++ b/tiles/enforcer/tile.xml @@ -0,0 +1,36 @@ + + + 1.4.1 + 3.0.4 + 1.8 + + + + + org.apache.maven.plugins + maven-enforcer-plugin + ${maven-enforcer-plugin.version} + + + enforce-maven + validate + + display-info + enforce + + + + + + + ${required-maven.version} + + + ${java.version} + + + + + + + diff --git a/tiles/huntbugs/pom.xml b/tiles/huntbugs/pom.xml new file mode 100644 index 0000000..5a7686a --- /dev/null +++ b/tiles/huntbugs/pom.xml @@ -0,0 +1,16 @@ + + + + tiles-parent + net.kemitix.tiles + 0.1.0 + ../tiles-parent/pom.xml + + 4.0.0 + + huntbugs-tile + tile + + diff --git a/tiles/huntbugs/tile.xml b/tiles/huntbugs/tile.xml new file mode 100644 index 0000000..26c6c23 --- /dev/null +++ b/tiles/huntbugs/tile.xml @@ -0,0 +1,22 @@ + + + 0.0.11 + + + + + one.util + huntbugs-maven-plugin + ${huntbugs.version} + + + verify + + huntbugs + + + + + + + diff --git a/tiles/maven-plugins/pom.xml b/tiles/maven-plugins/pom.xml new file mode 100644 index 0000000..f6c182d --- /dev/null +++ b/tiles/maven-plugins/pom.xml @@ -0,0 +1,16 @@ + + + + tiles-parent + net.kemitix.tiles + 0.1.0 + ../tiles-parent/pom.xml + + 4.0.0 + + maven-plugins-tile + tile + + diff --git a/tiles/maven-plugins/tile.xml b/tiles/maven-plugins/tile.xml new file mode 100644 index 0000000..923a35d --- /dev/null +++ b/tiles/maven-plugins/tile.xml @@ -0,0 +1,70 @@ + + + UTF-8 + 3.0.0 + 2.5.2 + 3.6 + 2.5 + 2.4 + + + + + org.apache.maven.plugins + maven-clean-plugin + ${maven-clean-plugin.version} + + + org.apache.maven.plugins + maven-install-plugin + ${maven-install-plugin.version} + + + org.apache.maven.plugins + maven-site-plugin + ${maven-site-plugin.version} + + + org.codehaus.mojo + versions-maven-plugin + ${versions.version} + + + org.apache.maven.plugins + maven-jxr-plugin + ${maven-jxr-plugin.version} + + + compile + + jxr + + + + + + + + + + org.apache.maven.plugins + maven-jxr-plugin + ${maven-jxr-plugin.version} + + + org.codehaus.mojo + versions-maven-plugin + ${versions.version} + + + + dependency-updates-report + plugin-updates-report + property-updates-report + + + + + + + diff --git a/tiles/pitest/pom.xml b/tiles/pitest/pom.xml new file mode 100644 index 0000000..4934674 --- /dev/null +++ b/tiles/pitest/pom.xml @@ -0,0 +1,16 @@ + + + + tiles-parent + net.kemitix.tiles + 0.1.0 + ../tiles-parent/pom.xml + + 4.0.0 + + pitest-tile + tile + + diff --git a/tiles/pitest/tile.xml b/tiles/pitest/tile.xml new file mode 100644 index 0000000..0a9fd46 --- /dev/null +++ b/tiles/pitest/tile.xml @@ -0,0 +1,64 @@ + + + 1.2 + 1.2.0 + 0 + 0 + false + true + + + + + org.pitest + highwheel-maven + ${highwheel-maven.version} + + + verify + + analyse + + + + + + org.pitest + pitest-maven + ${pitest.version} + + + verify + + mutationCoverage + + + + + ${pitest.skip} + false + *.Immutable* + ${pitest.coverage} + ${pitest.mutation} + ${pitest.failWhenNoMutations} + + + + + + + + org.pitest + pitest-maven + ${pitest.version} + + + + report + + + + + + + diff --git a/tiles/pmd/pom.xml b/tiles/pmd/pom.xml new file mode 100644 index 0000000..e219976 --- /dev/null +++ b/tiles/pmd/pom.xml @@ -0,0 +1,16 @@ + + + + tiles-parent + net.kemitix.tiles + 0.1.0 + ../tiles-parent/pom.xml + + 4.0.0 + + pmd-tile + tile + + diff --git a/tiles/pmd/tile.xml b/tiles/pmd/tile.xml new file mode 100644 index 0000000..231f95c --- /dev/null +++ b/tiles/pmd/tile.xml @@ -0,0 +1,58 @@ + + + 3.8 + + + + + org.apache.maven.plugins + maven-pmd-plugin + ${maven-pmd-plugin.version} + + true + true + false + + + + pmd + verify + + pmd + + + + cpd + verify + + cpd + + + + + + io.repaint.maven + tiles-maven-plugin + ${tiles-maven-plugin.version} + true + + + net.kemitix.tiles:maven-plugins-tile:${kemitix-tiles.version} + + + + + + + + + org.apache.maven.plugins + maven-pmd-plugin + ${maven-pmd-plugin.version} + + true + + + + + diff --git a/tiles/pom.xml b/tiles/pom.xml new file mode 100644 index 0000000..ca51ded --- /dev/null +++ b/tiles/pom.xml @@ -0,0 +1,34 @@ + + + 4.0.0 + + + net.kemitix + kemitix-parent + 5.0.0 + + net.kemitix.tiles + kemitix-maven-tiles + 0.1.0 + + pom + + + tiles-parent + checkstyle + compiler + release + digraph + enforcer + coverage + testing + maven-plugins + pitest + huntbugs + pmd + all + + + diff --git a/tiles/release/pom.xml b/tiles/release/pom.xml new file mode 100644 index 0000000..0512285 --- /dev/null +++ b/tiles/release/pom.xml @@ -0,0 +1,16 @@ + + + + tiles-parent + net.kemitix.tiles + 0.1.0 + ../tiles-parent/pom.xml + + 4.0.0 + + release-tile + tile + + diff --git a/tiles/release/tile.xml b/tiles/release/tile.xml new file mode 100644 index 0000000..dc28eba --- /dev/null +++ b/tiles/release/tile.xml @@ -0,0 +1,83 @@ + + + 3.0.0-M1 + 3.0.1 + 1.6 + 2.8.2 + + + + release + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven-javadoc-plugin.version} + + + attach-javadocs + package + + jar + + + + + + + org.apache.maven.plugins + maven-source-plugin + ${maven-source-plugin.version} + + + attach-sources + package + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + ${maven-gpg-plugin.version} + + ${gpg.passphrase} + + + + sign-artifacts + package + + sign + + + + + + + org.apache.maven.plugins + maven-deploy-plugin + ${maven-deploy-plugin.version} + + + + + + + sonatype-nexus-snapshots + Sonatype Nexus Snapshots + https://oss.sonatype.org/content/repositories/snapshots/ + + + sonatype-nexus-staging + Nexus Release Repository + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + diff --git a/tiles/testing/pom.xml b/tiles/testing/pom.xml new file mode 100644 index 0000000..8005cc9 --- /dev/null +++ b/tiles/testing/pom.xml @@ -0,0 +1,16 @@ + + + + tiles-parent + net.kemitix.tiles + 0.1.0 + ../tiles-parent/pom.xml + + 4.0.0 + + testing-tile + tile + + diff --git a/tiles/testing/tile.xml b/tiles/testing/tile.xml new file mode 100644 index 0000000..4e139d2 --- /dev/null +++ b/tiles/testing/tile.xml @@ -0,0 +1,44 @@ + + + UTF-8 + 2.20.1 + 2.20.1 + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + org.apache.maven.plugins + maven-failsafe-plugin + ${maven-failsafe-plugin.version} + + + integration-test + + integration-test + + + + verify + + verify + + + + + + + + + + org.apache.maven.plugins + maven-surefire-report-plugin + ${maven-surefire-plugin.version} + + + + diff --git a/tiles/tiles-parent/pom.xml b/tiles/tiles-parent/pom.xml new file mode 100644 index 0000000..ae73fa4 --- /dev/null +++ b/tiles/tiles-parent/pom.xml @@ -0,0 +1,29 @@ + + + + kemitix-maven-tiles + net.kemitix.tiles + 0.1.0 + + 4.0.0 + + tiles-parent + pom + + + 2.10 + + + + + + io.repaint.maven + tiles-maven-plugin + ${tiles-maven-plugin.version} + true + + + +