Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6742

org.sonatype.maven.polyglot.TeslaModelProcessor.locatePom(File) ignores files ending in.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Invalid
    • None
    • None
    • None
    • None

    Description

      in org.sonatype.maven.polyglot.TeslaModelProcessor.locatePom(File) there is the following code:

       File pomFile = manager.locatePom(dir);
          if (pomFile != null && !pomFile.getName().endsWith(".pom") && !pomFile.getName().endsWith(".xml")) {
       ...
      }
      

      This makes it impossible to return any file with xml ending as alternative to pom.xml, in my case data is stored in a file named category.xml and i can't use ist because then my Mapping is never called.

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            laeubi Christoph Läubrich
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: