[ 
https://jira.codehaus.org/browse/MINSTALL-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=328358#comment-328358
 ] 

Robert Scholte commented on MINSTALL-43:
----------------------------------------

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.
                
> install:install-file plugin to use file naming convention in place of most 
> parameters
> -------------------------------------------------------------------------------------
>
>                 Key: MINSTALL-43
>                 URL: https://jira.codehaus.org/browse/MINSTALL-43
>             Project: Maven 2.x Install Plugin
>          Issue Type: Improvement
>          Components: install:install-file
>    Affects Versions: 2.2
>            Reporter: James Drucza
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to