Uploaded image for project: 'Maven Resources Plugin'
  1. Maven Resources Plugin
  2. MRESOURCES-253

Convention over configuration of filtered resources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.1.0
    • None
    • filtering
    • None

    Description

      We would appreciate if there would be a convention for a resource folder that is filtered by convention. Like "resources-filtered" for main and test resources. Just omit bloated configurations.

      <resources>
        <resource>
          <directory>${project.basedir}/src/main/resources</directory>
        </resource>
        <resource>
          <directory>${project.basedir}/src/main/resources-filtered</directory>
          <filtering>true</filtering>
        </resource>
      </resources>
      <testResources>
        <testResource>
          <directory>${project.basedir}/src/test/resources</directory>
        </testResource>
        <testResource>
          <directory>${project.basedir}/src/test/resources-filtered</directory>
          <filtering>true</filtering>
        </testResource>
      </testResources>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hsyn Hüseyin Kartal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: