On Jan 26, 2007, at 8:03 AM, anita kulshreshtha wrote:

   This is a fragment from openejb3/server's pom.xml. Could someone
please explain how this works?


I haven't investigate thoroughly, but I believe that this is an easy way to make sure that if any container module references any server module as a dependency you will get a circular dependency and maven will refuse to build.

thanks
david jencks


Thanks
Anita
................................................................
<dependencies>
    <!--
       This dependency is here to ensure that absolutely nothing
       under the container module section can be dependent on any
       server modules.
    -->
    <dependency>
      <groupId>org.apache.openejb</groupId>
      <artifactId>container</artifactId>
      <version>${pom.version}</version>
      <type>pom</type>
      <scope>compile</scope>
    </dependency>
  </dependencies>






______________________________________________________________________ ______________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html

Reply via email to