GeezerVison is showing github.com — [Build] Remove warnings caused by the cucumber-archetype · cucumber/cucumber-jvm@3b66ab6
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: CONTRIBUTING.md +13Lines changed: 13 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -10,6 +10,19 @@ We appreciate that. Do keep the following in mind: |
10 | 10 | code/output. See [GitHub Flavored Markdown](https://help.github.com/articles/github-flavored-markdown)'s |
11 | 11 | *Fenced Code Blocks* for details. |
12 | 12 |
|
| 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 | + |
13 | 26 | ## Formatting Java |
14 | 27 |
|
15 | 28 | The source code is formatted automatically by spotless when running: |
|
Collapse file
Copy file name to clipboardExpand all lines: cucumber-archetype/pom.xml +5-5Lines changed: 5 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
18 | 18 | <junit-jupiter.version>5.9.1</junit-jupiter.version> |
19 | 19 | </properties> |
20 | 20 |
|
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 --> |
24 | 21 | <dependencyManagement> |
25 | 22 | <dependencies> |
26 | 23 | <dependency> |
|
30 | 27 | <type>pom</type> |
31 | 28 | <scope>import</scope> |
32 | 29 | </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 |
34 | 31 | in the archetype template is also automatically updated by renovate |
35 | 32 | bot. --> |
36 | 33 | <dependency> |
|
44 | 41 | </dependencyManagement> |
45 | 42 |
|
46 | 43 | <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 --> |
47 | 47 | <dependency> |
48 | 48 | <groupId>io.cucumber</groupId> |
49 | 49 | <artifactId>cucumber-bom</artifactId> |
50 | 50 | <version>${project.version}</version> |
51 | 51 | <type>pom</type> |
52 | | - <scope>import</scope> |
| 52 | + <scope>test</scope> |
53 | 53 | </dependency> |
54 | 54 | <dependency> |
55 | 55 | <groupId>io.cucumber</groupId> |
|