From 5a45fd0d7d8ee71b272b6a9c00a7d51f08559ce4 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Wed, 2 Dec 2026 14:38:57 +0100 Subject: [PATCH] Narrow Jackson and SnakeYAML to test scope The generators only write the names of these classes into the code they generate. The libraries are needed to compile that code in the tests, not to run the generators. --- modello-plugins/modello-plugin-jackson/pom.xml | 3 +++ modello-plugins/modello-plugin-snakeyaml/pom.xml | 1 + 2 files changed, 4 insertions(+) diff --git a/modello-plugins/modello-plugin-jackson/pom.xml b/modello-plugins/modello-plugin-jackson/pom.xml index 19b5cbd7d..2c9fa9e08 100644 --- a/modello-plugins/modello-plugin-jackson/pom.xml +++ b/modello-plugins/modello-plugin-jackson/pom.xml @@ -34,14 +34,17 @@ com.fasterxml.jackson.core jackson-core + test com.fasterxml.jackson.core jackson-databind + test com.fasterxml.jackson.core jackson-annotations + test org.codehaus.modello diff --git a/modello-plugins/modello-plugin-snakeyaml/pom.xml b/modello-plugins/modello-plugin-snakeyaml/pom.xml index a0e2b6ae8..d751356f8 100644 --- a/modello-plugins/modello-plugin-snakeyaml/pom.xml +++ b/modello-plugins/modello-plugin-snakeyaml/pom.xml @@ -29,6 +29,7 @@ org.yaml snakeyaml 2.7 + test org.codehaus.modello