Hi!

I'm having a problem with releasing one of our projects (multimodule).
We've got the following structure:

"github": repository (no commit access)
"fork on github": forked repository (commit access)
"local server": git clone (bare) of "fork on github"
local development machine: git clone of the repo on "local server"

(Reason for this approach is that the whole team is using the same
development version)

As we want to be able to push changes from our local server back to github
(through a pull request) we can not change the settings of the pom (the
project on github uses different developerconnections, scmconnections, ...).

Although we must be able to create new releases of our clone.

I theory this should work with something like this if I understood the docs
correctly:
mvn release:prepare
-Dproject.scm.developerConnection=scm:git:git@localserver:/home/git/repositories/ourproject
-Dproject.scm.connection=scm:git:git@localserver
:/home/git/repositories/ourproject

This doesn't change the pom.xml though and doesn't seem to work as at the
end it tries to push to github. I would guess that the pom.xml should be
modified to the provided arguments in the created tag - but they are not.

Please help.. Thanks :)

Best regards,
Bernhard Friedreich

Reply via email to