Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-241

Parent version is expected to be equal to the module version in POM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.1
    • 1.4-RC1
    • Core
    • None

    Description

      Following (valid) POM causes Ivy to fail with the message:

      ERROR: maven: bad revision found in
      file:/[...]/maven/repository/[...]/[...]-15.3.1.pom: expected=15.3.1 found=1.0

      <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">
      <parent>
      <groupId>com.foo</groupId>
      <artifactId>foo-base</artifactId>
      <version>1.0</version>
      </parent>
      <modelVersion>4.0.0</modelVersion>
      <groupId>com.foo</groupId>
      <artifactId>foo-common</artifactId>
      <packaging>jar</packaging>
      <name>Foo Common Module</name>
      <version>15.3.1</version>
      </project>

      Attachments

        Activity

          People

            xavier Xavier Hanin
            valeri.felberg Valeri Felberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: