java - Maven - release snapshot dependencies -


so have 2 projects, lets call them projecta, , projectb. projecta , projectb should released independently of each other. both use shared project called projectcommon.

<groupid>group</groupid> <artifactid>projecta</artifactid> <version>0.0.10-snapshot</version> <dependencies>     <dependency>         <groupid>group</groupid>         <artifactid>projectcommon</artifactid>         <version>0.0.2-snapshot</version>     </dependency> </dependencies> 

currently if want realease projecta, first have release projectcommon, , update version in projecta pom.xml.

is there way automate this? have been looking @ versions:use-latest-releases plugin cant work if projectcommon using snapshot. "cant release project due unreleased dependencies"

thanks

you should use released version of projectcommon in other projects, way have 2 scenarios.

1) make changes in projectcommon , release update dependency in projecta , projectb

2) make changes in projecta , release projecta


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -