From 3b66ab6cfd204f4667e2c861a9515ea89c76c59d Mon Sep 17 00:00:00 2001 From: "M.P. Korstanje" Date: Thu, 15 Dec 2022 17:21:28 +0100 Subject: [PATCH] [Build] Remove warnings caused by the cucumber-archetype --- CONTRIBUTING.md | 13 +++++++++++++ cucumber-archetype/pom.xml | 10 +++++----- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3f41ea3ef9..06deae176a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,6 +10,19 @@ We appreciate that. Do keep the following in mind: code/output. See [GitHub Flavored Markdown](https://help.github.com/articles/github-flavored-markdown)'s *Fenced Code Blocks* for details. +## Building + +When building the project for the first time, run: + +``` +mvn install -DskipTests=true -DskipITs=true -Darchetype.test.skip=true +``` + +The `cucumber-archetype` modules integration tests against `-SNAPSHOT` +versions of Cucumber. These must be installed first. + +Afterwards `mvn test` or `mvn verify` should work as expected. + ## Formatting Java The source code is formatted automatically by spotless when running: diff --git a/cucumber-archetype/pom.xml b/cucumber-archetype/pom.xml index a3dfc27120..d08d52ba71 100644 --- a/cucumber-archetype/pom.xml +++ b/cucumber-archetype/pom.xml @@ -18,9 +18,6 @@ 5.9.1 - @@ -30,7 +27,7 @@ pom import - @@ -44,12 +41,15 @@ + io.cucumber cucumber-bom ${project.version} pom - import + test io.cucumber