Purpose (problem description)

The issue can occur in 7.2.x x<5 when the DMT is discovering a Maven project file (pom.xml).

The page explains the process to follow to troubleshoot the error : java.util.regex.PatternSyntaxException Illegal repetition near index 5
This error can be found in the DMT discovery log. To see the log location, refer the section Possible location for logs of the page : Delivery Manager Tool Component DMT

Observed in CAST AIP
Release
Yes/No
8.2.x(tick)
8.1.x(tick)
8.0.x(tick)
7.3.x(tick)
7.2.x x<5(tick)
7.0.x(error)
Observed on RDBMS
This section is not applicable for this page(DMT)

 

RDBMS
Yes/No
Oracle ServerNA
Microsoft SQL ServerNA
CSS2NA
CSS1NA
Action Plan
  1. Check the Delivery Manager Tool Discovery log files
  2. Identify the maven project file(s) leading to this issue
  3. Apply the workaround
Relevant input

The Delivery Manager Tool Discovery log files and the source code or the maven project files.

Action Plan

When in the maven project file (pom.xml), a resource section is defined with a location variable, as for example ${Basedir}, the discoverer steps fails. A regular expression is computed, then combining this location variable with the regular expression leads to a failure.

  1. Identify the failure.
    1. In the DMT discovery log file discovery_xxx.CastLog2, search for the error message:
      Figure 1
    2. If the log file does not point to the pom.xml file which leads to this error. You need to manually search the culprit file :
      Search in the all pom.xml files the statement that begins with ${ (they are configuration variable). For instance, in the case above it is ${basedir}.
    3. Remove ${basedir} from the line (replace ${basedir} by "")
  2. Run the Packaging again by forcing the extraction.