[David Taylor wrote:]
> Thanks that was very useful and looks very easy to implement.
> We have to be careful with externalization because, as you pointed out,
> some projects may need to have war-bundle true, while other's not.
> Should we vote on externalizing POM dependencies as entities?
> My vote is +1 to move all dependencies into a central location like in
> the examples found on the Wiki link above.

Right, my example in the last email made the entire dependency node an
external entity,
they recommend only the artifactId, groupId, version, and url in the entity
declaration as in:

  <!ENTITY dep-junit "
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>3.8.1</version>
    <url>http://www.junit.org</url>
  ">

so that this is then possible:

  <dependency>&dep-junit;
     <properties>
        <war.bundle>true</war.bundle>
     </properties>
  </dependency>

##
Prior to a vote, let me ask on the maven-user list if using external
entities will be forward compatible with Maven 2, unless anyone already
knows?




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to