rumi78
asked on
maven release tree
Dear All,
I have plenty of maven projects in the tree structure.
They are related by dependencies in related pom.xml files.
Now most of them are in SNAPSHOT version.
How could I release them all in batch mode?
I would like to have all dependencies to released versions after "global release".
Creating parent project with list of all maven project is not an option (There are too many dependencies and I will not be able to manage it).
Please help
rgds
rumi
I have plenty of maven projects in the tree structure.
They are related by dependencies in related pom.xml files.
Now most of them are in SNAPSHOT version.
How could I release them all in batch mode?
I would like to have all dependencies to released versions after "global release".
Creating parent project with list of all maven project is not an option (There are too many dependencies and I will not be able to manage it).
Please help
rgds
rumi
ASKER
Dear objects,
I know how to release the single project. If you know what parameters should be provided to release the whole tree in batch mode let me know.
rgrds
rumi
I know how to release the single project. If you know what parameters should be provided to release the whole tree in batch mode let me know.
rgrds
rumi
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>> I know how to release the single project.
Making a release for multiple project is not that different from that of
single project - you need to make sure that the project hierarchy is
maintained correctly.
Making a release for multiple project is not that different from that of
single project - you need to make sure that the project hierarchy is
maintained correctly.
ASKER
There is no solution for releasing project tree.
The only solution is to release them step by step starting from most deeper.
rgds
rumi
The only solution is to release them step by step starting from most deeper.
rgds
rumi
>> There is no solution for releasing project tree.
The only solution is to release them step by step starting from most deeper.
I don't think so. I have maven project has around 20+ subprojects nested. I release from the top of the tree.
If you can tell me what error you are getting or exact issue, I can help you better.
The only solution is to release them step by step starting from most deeper.
I don't think so. I have maven project has around 20+ subprojects nested. I release from the top of the tree.
If you can tell me what error you are getting or exact issue, I can help you better.
ASKER
Please give me the command to do it in batch mode.
rgds
rumi
rgds
rumi
mvn release:prepare
mvn release:perform
mvn release:perform
I've requested that this question be closed as follows:
Accepted answer: 250 points for Ajay-Singh's comment http:/Q_26488936.html#33796003
Assisted answer: 250 points for Ajay-Singh's comment http:/Q_26488936.html#33857233
for the following reason:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Accepted answer: 250 points for Ajay-Singh's comment http:/Q_26488936.html#33796003
Assisted answer: 250 points for Ajay-Singh's comment http:/Q_26488936.html#33857233
for the following reason:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
ASKER
Ajay_singh's answer:
mvn release:prepare
mvn release:perform
does not cover the question (it releases the single project, what I have already mentioned).
The proper answer is:
not possible.
mvn release:prepare
mvn release:perform
does not cover the question (it releases the single project, what I have already mentioned).
The proper answer is:
not possible.
Does that mean that you think this answer is correct?
ID:33732009 Author:ksivananth
https://www.experts-exchange.com/questions/26488936/maven-release-tree.html?cid=238&anchorAnswerId=33732009#a33732009
If that is not what you meant, please post which answer you think should have been marked as correct and why. Or if you think this should be deleted, which is another possibility. I thought others might benefit from this thread, but you can request a deletion if that is what you think is better.
ID:33732009 Author:ksivananth
https://www.experts-exchange.com/questions/26488936/maven-release-tree.html?cid=238&anchorAnswerId=33732009#a33732009
If that is not what you meant, please post which answer you think should have been marked as correct and why. Or if you think this should be deleted, which is another possibility. I thought others might benefit from this thread, but you can request a deletion if that is what you think is better.
ASKER
"not possible" is proper answer.
http://maven.apache.org/plugins/maven-release-plugin/