Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSO2 Release helper plugin fails in release:prepare phase #12

Open
Drifftr opened this issue Aug 19, 2017 · 0 comments
Open

WSO2 Release helper plugin fails in release:prepare phase #12

Drifftr opened this issue Aug 19, 2017 · 0 comments

Comments

@Drifftr
Copy link
Contributor

Drifftr commented Aug 19, 2017

When trying to run WSO2 release helper plugin to do a release, it fails with this error in release:prepare phase

[INFO] [ERROR] Failed to execute goal org.wso2.maven:wso2-release-helper-plugin:1.0.1:prepare-snapshots (default-cli) on project ESBPlugin: Error occurred while updating artifact versions. Project: /home/heshitha/Desktop/DevTools/Support/NIJIFRDEV-136/othertest/ESBConfig/pom.xml Goal: prepare-snapshots: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[5,13] [INFO] [ERROR] Message: Content is not allowed in trailing section.

However when we resume the release(After failing), it executes without an error. This fails at the first iteration only. From a debug session identified that this occurs when updating artifact.xml to the next development version. The file reading fails at UTF8Reader.java read() method in xerces parser where it corrupts the xml in the buffer and reads some further bites even when EOF is reached.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant