[ 
https://issues.apache.org/jira/browse/RAT-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17746577#comment-17746577
 ] 

Jochen Wiedmann commented on RAT-315:
-------------------------------------

Quoting [~pottlinger] :

[~joc...@apache.org] the merge changed the minimum version of Maven required to 
3.2.5 from 2.x -
AFAIK this is a breaking change. 

In my opinion, there is no problem with changing the build requirements, as 
they do not affect the generated jar files. *That* could be a breaking change.

 

> RAT build fails with most current Maven 4-alpha3 build
> ------------------------------------------------------
>
>                 Key: RAT-315
>                 URL: https://issues.apache.org/jira/browse/RAT-315
>             Project: Apache Rat
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.16
>            Reporter: Philipp Ottlinger
>            Assignee: Jochen Wiedmann
>            Priority: Major
>             Fix For: 0.16
>
>
> The build fails within an integration test with the most current Mvn4:
> {{$ mvn --version
> Apache Maven 4.0.0-alpha-3 (2ccf57baa5191468f9911fe85fd99672ac3bacb9)
> Maven home: /home/user/software/maven
> Java version: 18.0.2.1, vendor: Oracle Corporation, runtime: 
> /home/user/jdk-18.0.2.1
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.15.0-58-generic", arch: "amd64", family: "unix"
> }}
> Running on RAT itself yields:
> {{
> [INFO] Building: it4_RAT-168/pom.xml
> [DEBUG] Build log initialized in: 
> /home/user/ws/creadur-rat/apache-rat-plugin/target/invoker/it4_RAT-168
> [DEBUG] Using invoker properties:
> [DEBUG] invoker.goals = clean apache-rat:rat
> [DEBUG] selector script : no script 'selector' found in directory 
> /home/user/ws/creadur-rat/apache-rat-plugin/target/invoker/it4_RAT-168
> [DEBUG] pre-build script : no script 'prebuild' found in directory 
> /home/user/ws/creadur-rat/apache-rat-plugin/target/invoker/it4_RAT-168
> [DEBUG] Using MAVEN_OPTS: null
> [DEBUG] Executing: /bin/sh -c cd 
> '/home/user/ws/creadur-rat/apache-rat-plugin/target/invoker/it4_RAT-168' && 
> '/home/user/software/apache-maven-4.0.0-alpha-3/bin/mvn' '-B' '-D' 
> 'maven.repo.local=/home/user/ws/creadur-rat/apache-rat-plugin/target/local-repo'
>  '-s' 
> '/home/user/ws/creadur-rat/apache-rat-plugin/target/invoker/interpolated-settings.xml'
>  'clean' 'apache-rat:rat'
> [INFO] run post-build script verify.groovy
> [DEBUG] Running script with GroovyScriptInterpreter 
> :/home/user/ws/creadur-rat/apache-rat-plugin/target/invoker/it4_RAT-168/verify.groovy
> [INFO] Assertion Error
> [INFO] it4_RAT-168/pom.xml .............................. FAILED (2.0 s)
> }}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to