[ https://issues.apache.org/jira/browse/ARCHETYPE-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated ARCHETYPE-682: ------------------------------------- Summary: [REGRESSION] With the latest maven-archetype-plugin version 3.3.0, facing the below error, "Error merging velocity templates: Encountered "<EOF>" at <path_to_file.sh>" while creating a new maven project using archetype (was: With the latest maven-archetype-plugin version 3.3.0, facing the below error, "Error merging velocity templates: Encountered "<EOF>" at <path_to_file.sh>" while creating a new maven project using archetype) > [REGRESSION] With the latest maven-archetype-plugin version 3.3.0, facing the > below error, "Error merging velocity templates: Encountered "<EOF>" at > <path_to_file.sh>" while creating a new maven project using archetype > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: ARCHETYPE-682 > URL: https://issues.apache.org/jira/browse/ARCHETYPE-682 > Project: Maven Archetype > Issue Type: Bug > Components: Archetypes, Plugin > Affects Versions: 3.3.0 > Reporter: Sasi Kumar > Priority: Major > Labels: EOF, archetype > > [https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-archetype-plugin/3.3.0] > > Facing the following issue with the latest version of > maven-archetype-plugin/3.3.0 > *Error merging velocity templates: Encountered "<EOF>" at <path_to_file.sh>* > *[exec] [ERROR] Was expecting one of:* > *[exec] [ERROR] "\u001c" ...* > *[exec] [ERROR] "\u001c" ...* > *[exec] [ERROR] "||" ...* > *[exec] [ERROR] "|" ...* > *[exec] [ERROR] "(" ...* > *[exec] [ERROR] ")" ...* > *[exec] [ERROR] <ESCAPE_DIRECTIVE> ...* > *[exec] [ERROR] "]]#" ...* > *[exec] [ERROR] <WHITESPACE> ...* > *[exec] [ERROR] <NEWLINE> ...* > *[exec] [ERROR] <SUFFIX> ...* > *[exec] [ERROR] <STRING_LITERAL> ...* > *[exec] [ERROR] <INTEGER_LITERAL> ...* > *[exec] [ERROR] <FLOATING_POINT_LITERAL> ...* > *[exec] [ERROR] <DOT> ...* > *[exec] [ERROR] "{" ...* > *[exec] [ERROR] "}" ...* > *[exec] [ERROR] "\\\\" ...* > *[exec] [ERROR] "\\" ...* > *[exec] [ERROR] <TEXT> ...* > *[exec] [ERROR] <INLINE_TEXT> ...* > *[exec] [ERROR] <EMPTY_INDEX> ...* > *[exec] [ERROR] "{" ...* > *[exec] [ERROR] "\u001c" ...* > *[exec] [ERROR] -> [Help 1]* > > This happens while parsing a shell script file that ends with {*}"cd../.." > without Line Feed{*}. This is working fine till maven-archetype-plugin/3.2.1 > but starts failing from last week after the new version of > maven-archetype-plugin/3.2.1 released on 26th Sep, 2024. Help us resolve this > as soon. Thanks. -- This message was sent by Atlassian Jira (v8.20.10#820010)