Richard Gould a écrit :
The poms are changed whenever maven release:prepare is executed, but they do not change the formatting. I had a look at the diff for the commit and it just changes version numbers.

Just checked. It is true that the poms are almost the same between 2.2.x and 2.2-RC3. But they are quite different between (2.2.x / 2.2-RC3) and trunk (2.3). The attached files are from modules/api. The first file is from the trunk (which was the original pom.xml). The second file is found on 2.2.x. All comments are lost and the formatting is different (I have the feeling that the xml file was read and rewrite by some automatic tool). In some bigger pom.xml files in plugins, I noticed strange duplications (e.g. same dependency declared many times).

Does someone has an idea what happened?

        Martin.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ===========================================================================
         Project configuration file for the Geotools 2 project
         http://www.geotools.org/

         Version: $Id: pom.xml 18541 2006-03-07 23:47:46Z chorner $
     =========================================================================== -->

<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.geotools</groupId>
    <artifactId>gt2-module</artifactId>
    <version>2.3-SNAPSHOT</version>
  </parent>


  <!-- ==================================================== -->
  <!--     Module description                               -->
  <!-- ==================================================== -->
  <groupId>org.geotools</groupId>
  <artifactId>gt2-api</artifactId>
  <packaging>jar</packaging>
  <name>API interfaces</name>
  <url>http://maven.geotools.fr/reports/api/</url>
  <scm>
    <connection>scm:svn:http://svn.geotools.org/geotools/trunk/gt/module/api/</connection>
    <url>http://svn.geotools.org/geotools/trunk/gt/module/api/</url>
  </scm>
  <description>
    The api module contains key geotools interfaces that are used by
    other GeoTools modules (and geotools applications). Where possible
    we make use of standard interfaces from projects such as GeoAPI.
  </description>



  <!-- ==================================================== -->
  <!--     Developers and contributors                      -->
  <!-- ==================================================== -->
  <developers>
    <developer>
      <name>Jody Garnett</name>
      <id>jive</id>
      <email>[EMAIL PROTECTED]</email>
      <organization>Refractions Research, Inc.</organization>
      <roles>
        <role>Java Developer</role>
        <role>Documentation</role>
        <role>Module Maintainer</role>
      </roles>
    </developer>
    <developer>
      <name>Cory Horner</name>
      <id>chorner</id>
      <email>[EMAIL PROTECTED]</email>
      <organization>Refractions Research, Inc.</organization>
      <roles>
        <role>Java Developer</role>
        <role>Module Maintainer</role>
      </roles>
    </developer>
  </developers>



  <!-- ==================================================== -->
  <!--     Dependencies                                     -->
  <!-- ==================================================== -->
  <dependencies>
    <dependency>
      <groupId>com.vividsolutions</groupId>
      <artifactId>jts</artifactId>
      <!-- The version number is specified in the parent POM. -->
    </dependency>
    <dependency>
      <groupId>org.geotools</groupId>
      <artifactId>gt2-referencing</artifactId>
      <version>2.3-SNAPSHOT</version>
    </dependency>
  </dependencies>

</project>
<?xml version="1.0" encoding="UTF-8"?><project>
  <parent>
    <artifactId>gt2-module</artifactId>
    <groupId>org.geotools</groupId>
    <version>2.2-RC3</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.geotools</groupId>
  <artifactId>gt2-api</artifactId>
  <name>API interfaces</name>
  <version>2.2-RC3</version>
  <description>The api module contains key geotools interfaces that are used by
    other GeoTools modules (and geotools applications). Where possible
    we make use of standard interfaces from projects such as GeoAPI.</description>
  <url>http://maven.geotools.fr/reports/api</url>
  <developers>
    <developer>
      <id>jive</id>
      <name>Jody Garnett</name>
      <email>[EMAIL PROTECTED]</email>
      <organization>Refractions Research, Inc.</organization>
      <roles>
        <role>Java Developer</role>
        <role>Documentation</role>
        <role>Module Maintainer</role>
      </roles>
    </developer>
    <developer>
      <id>chorner</id>
      <name>Cory Horner</name>
      <email>[EMAIL PROTECTED]</email>
      <organization>Refractions Research, Inc.</organization>
      <roles>
        <role>Java Developer</role>
        <role>Module Maintainer</role>
      </roles>
    </developer>
  </developers>
  <scm>
    <connection>scm:svn:http://svn.geotools.org/geotools/tags/2.2-RC3</connection>
    <url>http://svn.geotools.org/geotools/tags/2.2-RC3</url>
  </scm>
  <dependencies>
    <dependency>
      <groupId>org.geotools</groupId>
      <artifactId>gt2-referencing</artifactId>
      <version>2.2-RC3</version>
    </dependency>
    <dependency>
      <groupId>com.vividsolutions</groupId>
      <artifactId>jts</artifactId>
    </dependency>
  </dependencies>
</project>

Reply via email to