Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-632

Add logging conflict line in integration-test

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.3.0
    • Plugin
    • None

    Description

      In maven-archetype-plugin integration-test phase, if a generated file is not equal to a reference file, WARNING is raised

      [WARNING] Contents of file src/test/java/it/pkg/RuleTest.java are not equal
      

      But sometimes it's hard to locate where the conflict line is.

      This JIRA is to log more information like:

      [WARNING] Conflict found. Reference line :
      [WARNING]     private static final Logger LOG = LoggerFactory.getLogger(RuleTest.class);
      [WARNING] Actual line :
      [WARNING]     static final Logger LOG = LoggerFactory.getLogger(RuleTest.class);
      [WARNING] Contents of file src/test/java/it/pkg/RuleTest.java are not equal
      

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              toshiyakobayashi Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: