Am trying to release a new version of the formFileter module to 1.3
following an update of the module to run on platform 2.* .
. i have the mavenrepo credentials , and am now doing the mvn release:prepare…
but am getting this error
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:prepare (default-cli) on project formfilter: Unable to tag SCM
[ERROR] Provider message:
[ERROR] The git-push command failed.
[ERROR] Command output:
[ERROR] fatal: HttpRequestException encountered.
[ERROR] An error occurred while sending the request.
[ERROR] bash: /dev/tty: No such device or address
[ERROR] error: failed to execute prompt script (exit code 1)
[ERROR] fatal: could not read Username for 'https://github.com': No error
[ERROR]
[ERROR] -> [Help 1]
Am i supposed to also have credentilas to the openmrs github repo?? and how am i supposed to configure it in my POM ??
@dkayiwa@wyclif@darius@k.joseph
nooo . ovcos it wasnt merged with errors. the errors are arising because of the command “mvn release: prepare”, like trying to release it ,
not necesarily because am trying to compile “mvn package” .
it compiles pretty fine , it has no problem there
Because you have the tag locally from a previous release attempt that failed, you will need to run mvn release:rollback to undo things before you attempt the release again.
ya i have rolled back.
but wen i attempted another release , i still get the error
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:prepare (default-cli) on project formfilter: Unable to commit files
[ERROR] Provider message:
[ERROR] The git-push command failed.
[ERROR] Command output:
[ERROR] fatal: HttpRequestException encountered.
[ERROR] An error occurred while sending the request.
[ERROR] bash: /dev/tty: No such device or address
[ERROR] error: failed to execute prompt script (exit code 1)
[ERROR] fatal: could not read Username for 'https://github.com': No error
[ERROR]
[ERROR] -> [Help 1]
To be able to push code to the master OpenMRS repository you need to have a github user account with commit privileges, if you don’t have commit privileges, you will need to create a help desk ticket requesting for them. Once you’ve been assigned the privileges, you will need to configure git on your machine by updating your maven settings.xml file to setup the repository and and login credentials.