Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-782

Deprecated option classpathMavenRepositoryLayout not marked as deprecated in the documentation

    XMLWordPrintableJSON

Details

    Description

      Problem:

      The page https://maven.apache.org/shared/maven-archiver/index.html describes the option classpathMavenRepositoryLayout. This option is deprecated, but the index page does not mention the deprecation.

      By adding

      <classpathMavenRepositoryLayout>true</classpathMavenRepositoryLayout>

      to you pom.xml maven will produce the following error

      Unable to parse configuration of mojo org.apache.maven.plugins:maven-jar-plugin:3.1.0:jar for parameter manifest: Cannot find setter, adder nor field in org.apache.maven.archiver.ManifestConfiguration for 'classpathMavenRepositoryLayout' -> [Help 1]

      Fix:

      Mention deprecation status of this option on the referenced page.

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              spcified spacy finder
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified