Uploaded image for project: 'Apache Rat'
  1. Apache Rat
  2. RAT-315

RAT build fails with most current Maven 4-alpha3 build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16
    • 0.16
    • build
    • None

    Description

      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)
      }}

      Attachments

        Issue Links

          Activity

            People

              jochen@apache.org Jochen Wiedmann
              pottlinger Philipp Ottlinger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: