The release-notes profile is intended to be run as follows: mvn changes:announcement-generate -Prelease-notes -Dchanges.version=0.12
It is not guaranteed to work as part of any other build. Having said that, there is a problem somewhere which I will look at On 30 September 2015 at 15:46, Jochen Wiedmann <[email protected]> wrote: > Hi, Sebb, > > could you please be so kind and have a look into the release-notes.vm > of RAT? I am getting the error below and don't feel confident to > resolve that without help. > > Thanks, > > Jochen > > $ mvn clean install -Prelease-notes -Dchanges.version=0.12 > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Build Order: > [INFO] > [INFO] Apache Creadur Rat > [INFO] Apache Creadur Rat::API > [INFO] Apache Creadur Rat::Core > [INFO] Apache Creadur Rat::Plugin4Maven > [INFO] Apache Creadur Rat::Tasks4Ant > [INFO] Apache Creadur Rat::Command Line > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache Creadur Rat 0.12-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ apache-rat-project > --- > [INFO] > [INFO] --- maven-enforcer-plugin:1.3.1:enforce > (enforce-bytecode-version) @ apache-rat-project --- > [INFO] > [INFO] --- apache-rat-plugin:0.11:check (default) @ apache-rat-project --- > [INFO] 56 implicit excludes (use -debug for more details). > [INFO] Exclude: BUILD.txt > [INFO] Exclude: apache-rat/README*.txt > [INFO] Exclude: apache-rat-core/src/test/resources/** > [INFO] Exclude: apache-rat*/target/** > [INFO] Exclude: apache-rat-plugin/src/test/resources/** > [INFO] Exclude: apache-rat-plugin/src/it/** > [INFO] Exclude: apache-rat-tasks/src/test/resources/** > [INFO] 16 resources included (use -debug for more details) > [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 > generated: 0 approved: 11 licence. > [INFO] > [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ > apache-rat-project --- > [INFO] > [INFO] --- maven-changes-plugin:2.11:announcement-generate > (create-release-notes) @ apache-rat-project --- > [INFO] Including issues from file > C:\Users\jwi\rat\apache-rat-project\src\changes\changes.xml in > announcement... > [debug] Found 7 releases. > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 61, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 62, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 63, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 61, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 62, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 63, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 61, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 62, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 63, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 61, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 62, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 63, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 61, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 62, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 63, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 61, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 62, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 63, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 61, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 62, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 63, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 61, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 62, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 63, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 61, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 62, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 63, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 61, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 62, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 63, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 61, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 62, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 63, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 61, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 62, column 23] > [ERROR] Right side ($indent1.length()) of '<' operation has null value > at src/changes/release-notes.vm[line 63, column 23] > [ERROR] Exception in macro #processaction called at > src/changes/release-notes.vm[line 87, column 1] > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Creadur Rat ................................. FAILURE [ 2.332 > s] > [INFO] Apache Creadur Rat::API ............................ SKIPPED > [INFO] Apache Creadur Rat::Core ........................... SKIPPED > [INFO] Apache Creadur Rat::Plugin4Maven ................... SKIPPED > [INFO] Apache Creadur Rat::Tasks4Ant ...................... SKIPPED > [INFO] Apache Creadur Rat::Command Line ................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 2.587 s > [INFO] Finished at: 2015-09-30T16:42:13+02:00 > [INFO] Final Memory: 27M/317M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-changes-plugin:2.11:announcement-generate > (create-release-notes) on project apache-rat-project: > org.apache.velocity.exception.VelocityException: > org.apache.velocity.exception.MethodInvocationException: Invocation of > method 'replaceAll' in class java.lang.String threw exception > java.lang.IllegalArgumentException: Illegal group reference at > src/changes/release-notes.vm[line 57, column 22] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with > the -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
