[ https://issues.apache.org/jira/browse/MRESOURCES-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MRESOURCES-267. ------------------------------------- Resolution: Invalid So basically you were not able to neither gather the effective POM nor run in debug mode. It pretty much says it: {noformat} [DEBUG] Copying file images/pdn/UserPermissionViewModel.pdn [DEBUG] file UserPermissionViewModel.pdn has a filtered file extension [DEBUG] Using 'UTF-8' encoding to copy filtered resource 'UserPermissionViewModel.pdn'. [DEBUG] filtering /var/osipovmi/Projekte/isis/extensions/security/secman/model/src/main/resources/images/pdn/UserPermissionViewModel.pdn to /var/osipovmi/Projekte/isis/extensions/security/secman/model/target/classes/images/pdn/UserPermissionViewModel.pdn {noformat} with {noformat} <resources> <resource> <filtering>true</filtering> <directory>/var/osipovmi/Projekte/isis/extensions/security/secman/model/src/main/resources</directory> <includes> <include>**</include> </includes> </resource> {noformat} produced by this: https://maven.apache.org/plugins/maven-resources-plugin/xref/org/apache/maven/plugins/resources/ResourcesMojo.html#L360 which ic calling http://maven.apache.org/shared/maven-filtering/xref/org/apache/maven/shared/filtering/DefaultMavenFileFilter.html#L98. The problem is your setup. If want some improvement, consider analyzing Maven Filtering and propose a PR with a JIRA issue there. > MojoExecutionException: Input length = 1 > ---------------------------------------- > > Key: MRESOURCES-267 > URL: https://issues.apache.org/jira/browse/MRESOURCES-267 > Project: Maven Resources Plugin > Issue Type: Improvement > Affects Versions: 3.2.0 > Reporter: Andi Huber > Priority: Major > Attachments: input-len-1-stacktrace.txt > > > We lately tried to migrate from 3.1.0 to 3.2.0, but had to revert, because > our build pipeline fails with an exception: > {noformat} > MojoExecutionException: Input length = 1 > {noformat} > One possibility is, that we have a malformed file within our project, that > causes this. However, it would be great if the maven-resources-plugin, could > catch this exception and re-throw, with additional information, stating which > file or resource is causing it. > Stacktrace is attached. > -- This message was sent by Atlassian Jira (v8.3.4#803005)