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:52:00 UTC
[I] [MINSTALL-43] install:install-file plugin to use file naming convention in place of most parameters [maven-install-plugin]
jira-importer opened a new issue, #327:
URL: https://github.com/apache/maven-install-plugin/issues/327
**[James Drucza](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jdrucza)** opened **[MINSTALL-43](https://issues.apache.org/jira/browse/MINSTALL-43?redirect=false)** and commented
It would be really nice to have the install:install-file plugin support a file naming convention instead of specifying all the parameters (and thus maven support i.e. ignore the extra info in the file name).
eg:
instead of:
mvn install:install-file -DgroupId=MSSQLDriver -DartifactId=sqljdbc -Dversion=1.1.1501.101 -Dpackaging=jar -Dfile=sqljdbc.jar
use:
mvn install:install-file -Dfile=MSSQLDriver-sqljdbc-1.1.1501.101.jar
or some similar convention.
---
**Affects:** 2.2
1 votes, 2 watchers
--
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-43] install:install-file plugin to use file naming convention in place of most parameters [maven-install-plugin]
Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer closed issue #327: [MINSTALL-43] install:install-file plugin to use file naming convention in place of most parameters
URL: https://github.com/apache/maven-install-plugin/issues/327
--
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
Re: [I] [MINSTALL-43] install:install-file plugin to use file naming convention in place of most parameters [maven-install-plugin]
Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #327:
URL: https://github.com/apache/maven-install-plugin/issues/327#issuecomment-2771868815
**[Robert Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)** commented
If the jar was build by Maven, you'd be very happy with MINSTALL-52, but a jar like the MSSQLDriver probably doesn't contain such a pom.xml
I think you still need to specify the groupId, no matter the naming convention (which valid file character is never a valid artifactId character?). The artifactId and version are easy to extract. The extension could be used as the default packaging, although that is a bit tricky. For instance, a maven-plugin is also a jar.
--
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