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

Incompatibities with Velocity in Archetypes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.1
    • Archetypes, Generator, Plugin
    • None

    Description

      Hello, 

      I am having an issue caused by the new version of the maven-archetype-plugin:3.3.0 related with the recent upgrade of velocity 1.7 to velocity 2.3.

      As it is reported in the Velocity configuration, from version 1.7 to version 2+, the use of hyphens have changed and now they are not supported in parameters, causing errors.

      To avoid this, there is a property that allow backwards compatibility detailed here, but I believe there is no way to tell maven-archetype-plugin to allow this compatibility in the configuration.

      I have a very complex project that uses hyphens in multiple instances and now, it is impossible to generate a project with the new archetype:3.3.0 version.

      My problem is that changing the hyphen will cause a major impact in some other projects that rely on this archetype, so it is not a viable option for me to do.

      Could it be possible for you to include a way to modify Velocity configuration in maven-archetype-plugin:3.3.0? This would be extremely helpful so we can keep up with the future updates

      Thanks in advance!

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              javidomjim Javid
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: