Hi David & Serge,
[David Sean Taylor wrote:]
> Another problem Im seeing is that we are not referencing the same
> versions of dependencies in components
> For example, different components have different dependencies on jars
> like commons-lang
> I think we need to ensure that we use the same jars in all components
Externalizing POM dependencies as entities may help with this.
The specifics of the jar + version could be maintained in a central location
(dependency entities file).
The pom for each component would have a declaration & dependency section
like this:
<?xml version="1.0"?>
<!DOCTYPE project [
<!ENTITY % dependencies SYSTEM "file:../[somepath]/dependencies.ent">
%dependencies;
]>
...
<dependencies>
&dep-commons-digester;
&dep-commons-lang;
</dependencies>
Wiki post on project consistency with Entities:
http://wiki.codehaus.org/maven/EnsureProjectConsistencyWithEntities#head-f08
4de6c54f76773e10827ea8619e139fa4af082
The wiki has more detailed information, such as when war bundle is true,
etc.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]