Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-382

Invalid POM for ftpserver-parent causes compilation failures with Maven 3 when using ftplet transitive dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4
    • 1.0.5
    • None
    • None

    Description

      Maven 3 has stricter pom parsing and an invalid character in the ftpserver-parent prevents it from being used when resolving the ftplet-api transitive dependency from ftpserver-core.

      I've confirmed this affects all 1.0 versions. In the parent pom (for example https://repository.sonatype.org/service/local/repositories/central-proxy/content/org/apache/ftpserver/ftpserver-parent/1.0.0/ftpserver-parent-1.0.0.pom) see the see the 'r' between </groupId> and <artifactId>.

      I've attached an example project that illustrates this. See the *-session.txt files for a comparison between Maven 2 and 3. A work around is to declare the ftplet-api dependency directly, as seen in a build with pom-with-transitive.xml .

      Attachments

        1. com.example.apache.ftpserver.zip
          17 kB
          Basil James Whitehouse III

        Activity

          People

            niklas Niklas Therning
            jwhitehouse Basil James Whitehouse III
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: