You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "spacy finder (JIRA)" <ji...@apache.org> on 2018/12/07 23:25:00 UTC

[jira] [Created] (MSHARED-782) Deprecated option classpathMavenRepositoryLayout not marked as deprecated in the documentation

spacy finder created MSHARED-782:
------------------------------------

             Summary: Deprecated option classpathMavenRepositoryLayout not marked as deprecated in the documentation
                 Key: MSHARED-782
                 URL: https://issues.apache.org/jira/browse/MSHARED-782
             Project: Maven Shared Components
          Issue Type: Bug
          Components: maven-archiver
    Affects Versions: maven-archiver-3.3.0
         Environment: Linux
            Reporter: spacy finder


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
{code:java}
<classpathMavenRepositoryLayout>true</classpathMavenRepositoryLayout>{code}
to you pom.xml maven will produce the following error
{code:java}
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]{code}
Fix:

Mention deprecation status of this option on the referenced page.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)