maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Läubrich (Jira) <j...@apache.org>
Subject [jira] [Created] (MNG-6742) org.sonatype.maven.polyglot.TeslaModelProcessor.locatePom(File) ignores files ending in.xml
Date Tue, 20 Aug 2019 11:59:00 GMT
Christoph Läubrich created MNG-6742:
---------------------------------------

             Summary: org.sonatype.maven.polyglot.TeslaModelProcessor.locatePom(File) ignores
files ending in.xml
                 Key: MNG-6742
                 URL: https://issues.apache.org/jira/browse/MNG-6742
             Project: Maven
          Issue Type: Bug
            Reporter: Christoph Läubrich


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

{code:java}
 File pomFile = manager.locatePom(dir);
    if (pomFile != null && !pomFile.getName().endsWith(".pom") && !pomFile.getName().endsWith(".xml"))
{
 ...
}
{code}
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.




--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message