You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jira-importer (via GitHub)" <gi...@apache.org> on 2025/04/02 08:46:45 UTC

[I] [MINSTALL-36] install:install-file ignores -DrepositoryLayout [maven-install-plugin]

jira-importer opened a new issue, #231:
URL: https://github.com/apache/maven-install-plugin/issues/231

   **[Joerg Vater](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jova)** opened **[MINSTALL-36](https://issues.apache.org/jira/browse/MINSTALL-36?redirect=false)** and commented
   
   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.
   
   
   ---
   
   **Affects:** 2.2
   
   **Attachments:**
   - [InstallFileMojo.java.patch](https://issues.apache.org/jira/secure/attachment/12716607/InstallFileMojo.java.patch) (_1.71 kB_)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [MINSTALL-36] install:install-file ignores -DrepositoryLayout [maven-install-plugin]

Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #231:
URL: https://github.com/apache/maven-install-plugin/issues/231#issuecomment-2771853981

   **[Brian E. Fox (imported)](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=brianf@infinity.nu)** commented
   
   patch applied + tests added. thanks
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org