GeezerVison is showing github.com — Upgrade Surefire (#597) · aws/aws-lambda-java-libs@09c4b4e
File tree
Expand file treeCollapse file tree
Open diff view settings
aws-lambda-java-events-sdk-transformer aws-lambda-java-runtime-interface-client experimental/aws-lambda-java-profiler/examples/cdk samples/kinesis-firehose-event-handler
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: aws-lambda-java-events-sdk-transformer/pom.xml +7-3Lines changed: 7 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
38 | 38 | <maven.compiler.target>1.8</maven.compiler.target> |
39 | 39 | <sdk.v1.version>1.11.914</sdk.v1.version> |
40 | 40 | <sdk.v2.version>2.15.40</sdk.v2.version> |
41 | | - <junit-jupiter.version>5.14.3</junit-jupiter.version> |
| 41 | + <junit-jupiter.version>5.12.2</junit-jupiter.version> |
| 42 | + <maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version> |
42 | 43 | </properties> |
43 | 44 |
|
44 | 45 | <distributionManagement> |
|
80 | 81 | <plugins> |
81 | 82 | <plugin> |
82 | 83 | <artifactId>maven-surefire-plugin</artifactId> |
83 | | - <version>2.22.2</version> |
| 84 | + <version>${maven-surefire-plugin.version}</version> |
| 85 | + <configuration> |
| 86 | + <failIfNoTests>true</failIfNoTests> |
| 87 | + </configuration> |
84 | 88 | </plugin> |
85 | 89 | <plugin> |
86 | 90 | <artifactId>maven-failsafe-plugin</artifactId> |
87 | | - <version>2.22.2</version> |
| 91 | + <version>${maven-surefire-plugin.version}</version> |
88 | 92 | </plugin> |
89 | 93 | </plugins> |
90 | 94 | </build> |
|
Collapse file
Copy file name to clipboardExpand all lines: aws-lambda-java-events/pom.xml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
39 | 39 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
40 | 40 | <jackson.version>2.20.1</jackson.version> |
41 | 41 | <json.unit>2.40.1</json.unit> |
42 | | - <junit-jupiter.version>5.14.3</junit-jupiter.version> |
| 42 | + <junit-jupiter.version>5.12.2</junit-jupiter.version> |
43 | 43 | </properties> |
44 | 44 |
|
45 | 45 | <distributionManagement> |
|
Collapse file
Copy file name to clipboardExpand all lines: aws-lambda-java-runtime-interface-client/pom.xml +8-2Lines changed: 8 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
37 | 37 | <jacoco.maven.plugin.version>0.8.12</jacoco.maven.plugin.version> |
38 | 38 | <maven-install-plugin.version>2.4</maven-install-plugin.version> |
39 | 39 | <maven-deploy-plugin.version>3.1.1</maven-deploy-plugin.version> |
40 | | - <junit-jupiter.version>5.14.3</junit-jupiter.version> |
| 40 | + <junit-jupiter.version>5.12.2</junit-jupiter.version> |
41 | 41 | <maven-checkstyle-plugin.version>3.4.0</maven-checkstyle-plugin.version> |
| 42 | + <maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version> |
42 | 43 | <!-- |
43 | 44 | The test/integration/codebuild/buildspec.*.yml files will set -DmultiArch=false |
44 | 45 | as a workaround for executing within Github Actions. At time of writing (2022-04-08) the |
|
126 | 127 | </plugin> |
127 | 128 | <plugin> |
128 | 129 | <artifactId>maven-surefire-plugin</artifactId> |
129 | | - <version>3.0.0-M9</version> |
| 130 | + <version>${maven-surefire-plugin.version}</version> |
130 | 131 | <configuration> |
131 | 132 | <argLine>${argLineForReflectionTestOnly} ${argLine}</argLine> |
132 | 133 | </configuration> |
|
136 | 137 | <artifactId>junit-jupiter-engine</artifactId> |
137 | 138 | <version>${junit-jupiter.version}</version> |
138 | 139 | </dependency> |
| 140 | + <dependency> |
| 141 | + <groupId>org.junit.platform</groupId> |
| 142 | + <artifactId>junit-platform-launcher</artifactId> |
| 143 | + <version>1.12.2</version> |
| 144 | + </dependency> |
139 | 145 | </dependencies> |
140 | 146 | </plugin> |
141 | 147 | <plugin> |
|
Collapse file
Copy file name to clipboardExpand all lines: aws-lambda-java-tests/pom.xml +9-1Lines changed: 9 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
33 | 33 | <maven.compiler.source>1.8</maven.compiler.source> |
34 | 34 | <maven.compiler.target>1.8</maven.compiler.target> |
35 | 35 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
36 | | - <junit.version>5.14.3</junit.version> |
| 36 | + <!-- |
| 37 | + JUnit is a compile-scope transitive dependency for consumers of this module. |
| 38 | + Upgrading it requires a version bump of aws-lambda-java-tests to avoid |
| 39 | + breaking customers who don't pin their own JUnit version. |
| 40 | + --> |
| 41 | + <junit.version>5.9.2</junit.version> |
37 | 42 | <jacoco.maven.plugin.version>0.8.7</jacoco.maven.plugin.version> |
38 | 43 | </properties> |
39 | 44 |
|
|
250 | 255 | <groupId>org.apache.maven.plugins</groupId> |
251 | 256 | <artifactId>maven-surefire-plugin</artifactId> |
252 | 257 | <version>2.22.2</version> |
| 258 | + <configuration> |
| 259 | + <failIfNoTests>true</failIfNoTests> |
| 260 | + </configuration> |
253 | 261 | </plugin> |
254 | 262 | </plugins> |
255 | 263 | </build> |
|
Collapse file
Copy file name to clipboardExpand all lines: experimental/aws-lambda-java-profiler/examples/cdk/pom.xml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
11 | 11 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
12 | 12 | <cdk.version>2.155.0</cdk.version> |
13 | 13 | <constructs.version>[10.0.0,11.0.0)</constructs.version> |
14 | | - <junit.version>5.14.3</junit.version> |
| 14 | + <junit.version>5.12.2</junit.version> |
15 | 15 | </properties> |
16 | 16 |
|
17 | 17 | <build> |
|
Collapse file
Copy file name to clipboardExpand all lines: samples/kinesis-firehose-event-handler/pom.xml +7-2Lines changed: 7 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
35 | 35 | <maven.compiler.source>1.8</maven.compiler.source> |
36 | 36 | <maven.compiler.target>1.8</maven.compiler.target> |
37 | 37 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
38 | | - <junit-jupiter.version>5.14.3</junit-jupiter.version> |
| 38 | + <junit-jupiter.version>5.12.2</junit-jupiter.version> |
| 39 | + <maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version> |
| 40 | + |
39 | 41 | </properties> |
40 | 42 |
|
41 | 43 | <dependencies> |
|
69 | 71 | <plugin> |
70 | 72 | <groupId>org.apache.maven.plugins</groupId> |
71 | 73 | <artifactId>maven-surefire-plugin</artifactId> |
72 | | - <version>2.22.2</version> |
| 74 | + <version>${maven-surefire-plugin.version}</version> |
| 75 | + <configuration> |
| 76 | + <failIfNoTests>true</failIfNoTests> |
| 77 | + </configuration> |
73 | 78 | </plugin> |
74 | 79 | </plugins> |
75 | 80 | </build> |
|