[ https://issues.apache.org/jira/browse/MRESOURCES-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MRESOURCES-276: -------------------------------------- Comment: was deleted (was: You properties file is invalid. By specification, it has either to be ISO-8859-1 or UTF-8. Yours is Windows 1251.) > Incorrect read comment on Russian in application.properties > ----------------------------------------------------------- > > Key: MRESOURCES-276 > URL: https://issues.apache.org/jira/browse/MRESOURCES-276 > Project: Maven Resources Plugin > Issue Type: Bug > Affects Versions: 3.2.0 > Reporter: Alexey Osetsky > Priority: Major > Attachments: application.properties > > > In org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources error when > use comment on Russian language. I attachmented/[^application.properties] > [DEBUG] resource with targetPath null > directory C:\Users\koldy\Downloads\demo\src\main\resources > excludes [] > includes [**/application*.yml, **/application*.yaml, > **/application*.properties] > [DEBUG] ignoreDelta true > [INFO] Copying 1 resource > [DEBUG] Copying file application.properties > [DEBUG] file application.properties has a filtered file extension > [DEBUG] Using 'UTF-8' encoding to copy filtered resource > 'application.properties'. > [DEBUG] filtering > C:\Users\koldy\Downloads\demo\src\main\resources\application.properties to > C:\Users\koldy\Downloads\demo\target\classes\application.properties > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 6.600 s > [INFO] Finished at: 2021-08-13T15:07:18+03:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources > (default-resources) on project demo: Input length = 1 -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources > (default-resources) on project demo: Input > length = 1 > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:215) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:64) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) > Caused by: org.apache.maven.plugin.MojoExecutionException: Input length = 1 > at org.apache.maven.plugins.resources.ResourcesMojo.execute > (ResourcesMojo.java:362) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:210) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) -- This message was sent by Atlassian Jira (v8.3.4#803005)