Hi, Do you have a scm element in your module ? Just to be sure your tree is similar to : http://github.com/olamy/scm-git-test ? And you want to release only my-app ?
By the way it could be fixed if there was a way to do something like git clone [email protected]:olamy/scm-git-test.git/my-app Or doing some hackhish stuff for git in the release plugin. Can you load an issue on this ? (IHMO it looks to be reasonnable to add hack for such case) 2010/8/5 Johannes Schneider <[email protected]>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I have such a structure within my Git tree: > > daParent > - moduleA > - moduleB > - ... > > Until today I released all modules together. This worked like a charm. > > Now I want to release the modules independently. But that does not work. > > I have removed the "modules" section from "daParent" and have been able > to release that artifact successfully. > Now I upgraded the parent version within moduleA and moduleB manually. > > But releasing moduleA does *not* work now. > > > release:prepare works as expected, but release:perform checks out the > the tagged version and tries to release "/pom.xml". > Of course this pom is the pom of "daParent"... > > Since I am using Git I can't simply add a corrected scm tag to moduleA > and moduleB... > > > So how could I solve that? I experimented with > - -DpomFileName=moduleA/pom.xml but that did not work.... > Any ideas are welcome... > > > > Thanks, > > Johannes > > > - -- > Johannes Schneider - blog.cedarsoft.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iQEcBAEBAgAGBQJMWx9FAAoJEAytD9R7Qv6dfCYIAMPeb9WfTX4hntgj6CnNwXUw > 8/CnY2KgSBadoPDGW4zSF+XS2/RyosU9gmmBYyNyqfKm/fMoI/DrXp3KOG4SZ7a7 > owX3QMBRPRPqOGXT8z9kp9rOVYY5HodZXHmbU7GKuMpNFgYz9zIPpscFWS+1ohhT > 2szO2OMPfPsSBgq3Py6rchQXZigMD+dLB2lTrjdZ9jApo1b4ZlrnQDAZEnWCHhki > E5tVBTRyCRMwTEDFdsdr0lX9LLX9gn/8ViOTayS5gnd/PxaftRRfSrmKltPDwygw > GbrmgQGtXi+/OnOX2tRfllYUqsoPrANzMEFvE5mTq44p45Q75bNZ8dtbm3+KgdY= > =/OF4 > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Olivier http://twitter.com/olamy http://fr.linkedin.com/in/olamy http://www.viadeo.com/fr/profile/olivier.lamy7 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
