Skip to content

Commit

Permalink
chore(deps): upgrade maven plugin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
CarstenWickner committed Sep 29, 2024
1 parent 69decae commit 878096c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

package com.github.victools.jsonschema.examples;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

package com.github.victools.jsonschema.examples;
Expand Down
18 changes: 16 additions & 2 deletions jsonschema-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
</prerequisites>

<properties>
<maven.core.version>3.8.1</maven.core.version>
<maven.core.version>3.9.9</maven.core.version>
<maven.testing.version>3.3.0</maven.testing.version>
<maven.tools.version>3.6.0</maven.tools.version>
<maven.tools.version>3.15.0</maven.tools.version>
<commons.io.version>2.17.0</commons.io.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -61,7 +62,20 @@
<artifactId>maven-plugin-testing-harness</artifactId>
<version>${maven.testing.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons.io.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.github.victools</groupId>
<artifactId>jsonschema-generator</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ public void testGeneration(String testCaseName) throws Exception {
Assertions.assertTrue(FileUtils.contentEqualsIgnoreEOL(resultFile, referenceFile, CHARSET_NAME),
"Generated schema for " + testCaseName + " is not equal to the expected reference.\n"
+ "Generated:\n"
+ FileUtils.readFileToString(resultFile)
+ FileUtils.readFileToString(resultFile, CHARSET_NAME)
+ "\n----------\n"
+ "Expected:\n"
+ FileUtils.readFileToString(referenceFile));
+ FileUtils.readFileToString(referenceFile, CHARSET_NAME));
}

/**
Expand Down

0 comments on commit 878096c

Please sign in to comment.