File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,19 @@ We appreciate that. Do keep the following in mind:
1010 code/output. See [ GitHub Flavored Markdown] ( https://help.github.com/articles/github-flavored-markdown ) 's
1111 * Fenced Code Blocks* for details.
1212
13+ ## Building
14+
15+ When building the project for the first time, run:
16+
17+ ```
18+ mvn install -DskipTests=true -DskipITs=true -Darchetype.test.skip=true
19+ ```
20+
21+ The ` cucumber-archetype ` modules integration tests against ` -SNAPSHOT `
22+ versions of Cucumber. These must be installed first.
23+
24+ Afterwards ` mvn test ` or ` mvn verify ` should work as expected.
25+
1326## Formatting Java
1427
1528The source code is formatted automatically by spotless when running:
Original file line number Diff line number Diff line change 1818 <junit-jupiter .version>5.9.1</junit-jupiter .version>
1919 </properties >
2020
21- <!-- Not used by this module, but used by the integration tests of
22- created project. Declaring the dependencies keeps the project
23- in the right order in the maven reactor -->
2421 <dependencyManagement >
2522 <dependencies >
2623 <dependency >
3027 <type >pom</type >
3128 <scope >import</scope >
3229 </dependency >
33- <!-- Also not used by this module. But ensures the junit-jupiter.version
30+ <!-- Not used by this module. But ensures the junit-jupiter.version
3431 in the archetype template is also automatically updated by renovate
3532 bot. -->
3633 <dependency >
4441 </dependencyManagement >
4542
4643 <dependencies >
44+ <!-- Also not used by this module, but used by the integration tests of
45+ created project. Declaring the dependencies keeps the project
46+ in the right order in the maven reactor -->
4747 <dependency >
4848 <groupId >io.cucumber</groupId >
4949 <artifactId >cucumber-bom</artifactId >
5050 <version >${project.version} </version >
5151 <type >pom</type >
52- <scope >import </scope >
52+ <scope >test </scope >
5353 </dependency >
5454 <dependency >
5555 <groupId >io.cucumber</groupId >
You can’t perform that action at this time.
0 commit comments