Community
Participate
Working Groups
Hi, in case of a malformed pom.xml, Tycho shows in the error message the details (line, column), but doesn't provide information about the affected file. Would be nice to receive as well this information in teh error message. How to reproduce: create malformed POM with missing whitespace between attributes: <unzip src="target/abc.def.ghaik-1.0.0.zip"dest="${project.build.directory}/jars" /> leads to the following error message: [ERROR] Failed to execute goal org.eclipse.tycho:tycho-versions-plugin:0.17.0:set-version (default-cli) on project parent: Execution default-cli of goal org.eclipse.tycho:tycho-versions-plugin:0.17.0:set-version failed: Line 42, column 4711: Expected whitespace between attributes of element a but found Token (ATTRIBUTE, 22925:22963, "dest=\"${project.build.directory}/jars\"") -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-versions-plugin:0.17.0:set-version (default-cli) on project parent: Execution default-cli of goal org.eclipse.tycho:tycho-versions-plugin:0.17.0:set-version failed: Line 42, column 4711: Expected whitespace between attributes of element a but found Token (ATTRIBUTE, 22925:22963, "dest=\"${project.build.directory}/jars\"")
Can you please provide an example pom.xml that is failing - Thanks!
New Gerrit change created: https://git.eclipse.org/r/94278
@Guilaaume thanks for providing a patch! will review latest until end of this week
Gerrit change https://git.eclipse.org/r/94278 was merged to [master]. Commit: http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/commit/?id=3e87c92e605af964d1dee5bc89a8e1414711f59b
thanks for the patch!