*Purpose

This page will help you solve problems related to the WARNING Messages The analysis of POM file <Project-Name>/pom.xml has failed occurring during the Project Discovery :


*Observed in CAST AIP
Release
Yes/No
8.3.x(error)
8.2.x(error)
8.1.x x<2(tick)
8.0.x(tick)
7.3.x(tick) 
*Observed on RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS2(tick) 
Action Plan
  1. In the discovery log file, select the warning message, and display the detail of the warning message by enabling the Show Details option as below screenshot, in order to see the stack trace if any:
     
  2. If the stack trace is like below, the issue is due to special characters in the pom.xml files, like "é", "è", "ê", "à", etc... :

    2017-04-26 14:32:51.165              WARNING          Maven Java project: The analysis of POM file My_Pom_with_accent/pom.xml has failed
                    com.castsoftware.dmt.discoverer.jee.maven.PomAnalysisException:
                                   at com.castsoftware.dmt.discoverer.jee.maven.MavenProcessor.start(MavenProcessor.java:194)
                                   at com.castsoftware.dmt.discoverer.jee.maven.MavenProjectsDiscoverer.buildProject(MavenProjectsDiscoverer.java:67)
                                   at com.castsoftware.dmt.engine.discovery.ProjectsDiscovererWrapper.startTextFile(ProjectsDiscovererWrapper.java:1198)
                                   at com.castsoftware.dmt.engine.foldertree.FolderTreeInterpreterDelegate.startTextFile(FolderTreeInterpreterDelegate.java:91)
                                   at com.castsoftware.dmt.engine.foldertree.FolderTreeFileReader$FolderTreeXMLHandler.endElement(FolderTreeFileReader.java:212)
                                   at com.castsoftware.util.xml.AbstractXMLFileReader.endElement(AbstractXMLFileReader.java:274)
                                   at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(:0)
                                   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(:0)
                                   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(:0)
                                   at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(:0)
                                   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(:0)
                                   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(:0)
                                   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(:0)
                                   at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(:0)
    
    

     


  3. The solution is to remove from the pom.xml file these special characters (they are appearing in comments).

  4. If you do not find the information you are looking for or solution for your problem, in this page, contact  CAST Technical Support and provide the below relevant input to help CAST Support team investigate your problem or procure the required information.

  

 

Notes/Comments

 

Related Pages