Apache CXF has several poms that follow this pattern:

   ....
   <properties>
     <jetty.version>6.1.24</jetty.version>
   </properties>
   ...
   <dependencies>
     <dependency>
       <groupId>g</groupId>
       <artifactId>a</artifactId>
       <version>${jetty.version}</version>
     </dependency>
   </dependencies>

I was very surprised to learn, recently, that the release publication
process leaves the property reference in the POM. Then, if some
project of mine lists one of these projects as a dependency, and then
sets jetty.version to something else, CXFs dependencies follow along.
Oops. I somehow expected that the release process would resolve these
props and replace them with fixed values.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to