On Thu, Nov 25, 2010 at 6:59 AM, Ilya Basin <[email protected]> wrote:
> Now I need to add the foo-impl.jar to my dependencies, and it must be
> the same version as foo-api.jar. How?
Set a property elsewhere in the pom (or further up the hierarchy) and
use that for both versions: ${foo.version}
You'll see this in various open source projects for things like Spring
which have a lot of pieces. As an example, search for 'properties' in
this pom: http://svn.apache.org/repos/asf/archiva/trunk/pom.xml
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]