[
https://issues.apache.org/jira/browse/MINSTALL-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965875#comment-17965875
]
Olivier Lamy commented on MINSTALL-36:
--------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-install-plugin#231|https://github.com/apache/maven-install-plugin/issues/231].
> install:install-file ignores -DrepositoryLayout
> -----------------------------------------------
>
> Key: MINSTALL-36
> URL: https://issues.apache.org/jira/browse/MINSTALL-36
> Project: Maven Install Plugin (Moved to GitHub Issues)
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Joerg Vater
> Priority: Major
> Fix For: 2.2
>
> Attachments: InstallFileMojo.java.patch
>
>
> install:install-file accepts parameter -DrepositoryLayout=legacy, but the
> parameter is ignored.
> This is due to an error in InstallFileMojo.java. The repositoryLayout
> parameter must be of type String and then be mapped to an
> ArtifactRepositoryLayout (see e.g. maven-deploy-plugin). With the attached
> patch for me it worked fine.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)