git - Github release from maven-release-plugin -


i have multimodule project aggregator in root of project , parent in subdirectory, next other modules

pom.xml (aggregator, inherits parent) |---parent |---module1 (inherits parent) |---module2 (inherits parent) 

i'm trying release project using maven-release-plugin-2.4.1

i run mvn release:prepare -ddryrun=true , works fine, if run real run, not dryrun problem @ end when trying push tag github:

... [info] checking in modified poms... [info] executing: /bin/sh -c cd "/home/hilikus/dev/eclipse workspace/jrobocom" && git add -- jrobocom-parent/pom.xml jrobocom-core/pom.xml jrobocom-simple-gui/pom.xml jrobocom-samples/pom.xml jrobocom-samples/legends/pom.xml jrobocom-samples/simple/pom.xml jrobocom-samples/simple/4lunch/pom.xml jrobocom-samples/simple/black-jacks/pom.xml jrobocom-samples/simple/bank-jumper/pom.xml pom.xml [info] working directory: /home/hilikus/dev/eclipse workspace/jrobocom [info] executing: /bin/sh -c cd "/home/hilikus/dev/eclipse workspace/jrobocom" && git status [info] working directory: /home/hilikus/dev/eclipse workspace/jrobocom [info] executing: /bin/sh -c cd "/home/hilikus/dev/eclipse workspace/jrobocom" && git commit --verbose -f /tmp/maven-scm-646807004.commit jrobocom-parent/pom.xml jrobocom-core/pom.xml jrobocom-simple-gui/pom.xml jrobocom-samples/pom.xml jrobocom-samples/legends/pom.xml jrobocom-samples/simple/pom.xml jrobocom-samples/simple/4lunch/pom.xml jrobocom-samples/simple/black-jacks/pom.xml jrobocom-samples/simple/bank-jumper/pom.xml pom.xml [info] working directory: /home/hilikus/dev/eclipse workspace/jrobocom [info] executing: /bin/sh -c cd "/home/hilikus/dev/eclipse workspace/jrobocom" && git symbolic-ref head [info] working directory: /home/hilikus/dev/eclipse workspace/jrobocom [info] executing: /bin/sh -c cd "/home/hilikus/dev/eclipse workspace/jrobocom" && git push https://github.com/thehilikus/jrobocom.git/jrobocom-aggregator master:master [info] working directory: /home/hilikus/dev/eclipse workspace/jrobocom [info] ------------------------------------------------------------------------ [info] reactor summary: [info]  [info] parent pom ........................................ skipped ... [info] bank-jumper ....................................... skipped [info] overall aggregator ............................ failure [3:30.447s] [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 3:32.658s [info] finished at: tue jul 23 22:31:43 edt 2013 [info] final memory: 9m/44m [info] ------------------------------------------------------------------------ [error] failed execute goal org.apache.maven.plugins:maven-release-plugin:2.4.1:prepare (default-cli) on project jrobocom-aggregator: unable commit files [error] provider message: [error] git-push command failed. [error] command output: [error] fatal: https://github.com/thehilikus/jrobocom.git/jrobocom-aggregator/info/refs not found: did run git update-server-info on server? [error] -> [help 1] 

any ideas means , how fix it? far know, i'm following standard release procedure, different (but common) configuration separation of aggregator , parent poms

the problem seemed "circular" reference aggregator inherits 1 of poms aggregating. removed that, worked.
there 2 simple choices, either merge parent , aggregator, or have scm info duplicated (or moved) in aggregator aggregator doesn't inherit anyone


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -