This is an automated email from the ASF dual-hosted git repository. rec pushed a commit to branch bugfix/UIMA-6479-PearPackagingMavenPlugin-has-ancient-JUnit-dependency in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git
commit 763e262c1e83b58f46eb23871cdde137ed0d2095 Author: Richard Eckart de Castilho <[email protected]> AuthorDate: Mon Jul 11 12:10:43 2022 +0200 [UIMA-6479] PearPackagingMavenPlugin has ancient JUnit dependency - Switch from maven-project 2.0.4 to maven-core 3.0.3 (which is also used in the jcasgen plugin) - Also mark maven-core as provided in the jcasgen plugin --- PearPackagingMavenPlugin/pom.xml | 19 +++++++++++-------- jcasgen-maven-plugin/pom.xml | 1 + 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/PearPackagingMavenPlugin/pom.xml b/PearPackagingMavenPlugin/pom.xml index d6e07b2da..0ba1e63ca 100644 --- a/PearPackagingMavenPlugin/pom.xml +++ b/PearPackagingMavenPlugin/pom.xml @@ -17,7 +17,9 @@ specific language governing permissions and limitations under the License. --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> @@ -43,6 +45,7 @@ <artifactId>maven-plugin-api</artifactId> <version>3.1.0</version> </dependency> + <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> @@ -50,6 +53,13 @@ <scope>provided</scope> </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-core</artifactId> + <version>3.0.3</version> + <scope>provided</scope> + </dependency> + <dependency> <groupId>org.apache.uima</groupId> <artifactId>uimaj-core</artifactId> @@ -61,13 +71,6 @@ <artifactId>commons-io</artifactId> <version>2.11.0</version> </dependency> - - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-project</artifactId> - <version>2.0.4</version> - </dependency> - </dependencies> <build> diff --git a/jcasgen-maven-plugin/pom.xml b/jcasgen-maven-plugin/pom.xml index 36cf7e36a..64587ea1d 100644 --- a/jcasgen-maven-plugin/pom.xml +++ b/jcasgen-maven-plugin/pom.xml @@ -47,6 +47,7 @@ <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>3.0.3</version> + <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId>
