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:53 UTC
[I] [MINSTALL-83] The install should also contain a goal to install directory of external jar files into the repository. [maven-install-plugin]
jira-importer opened a new issue, #235:
URL: https://github.com/apache/maven-install-plugin/issues/235
**[Gaurav Mutreja](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gauravm)** opened **[MINSTALL-83](https://issues.apache.org/jira/browse/MINSTALL-83?redirect=false)** and commented
The install should contain a goal to install directory of jar files into the repository.
It is quite painful to install each jar file one by one(say if we have 100 jar files).It would be great if we provide the directory in which jar files are kept to a single command to install all of the files.
I have worked on it and created a new plug-in which which installs in repository the whole directory at once.The code basically modifies the existing installFile mojo source to support the installation of full directory.
How can I get it reviewed?So,that I can go ahead and commit the code.
Thanks
Gaurav
---
**Attachments:**
- [directory-plugin.zip](https://issues.apache.org/jira/secure/attachment/12716593/directory-plugin.zip) (_60.08 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-83] The install should also contain a goal to install directory of external jar files into the repository. [maven-install-plugin]
Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #235:
URL: https://github.com/apache/maven-install-plugin/issues/235#issuecomment-2771854724
**[Michael Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o)** commented
This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still applies, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.
--
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-83] The install should also contain a goal to install directory of external jar files into the repository. [maven-install-plugin]
Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #235:
URL: https://github.com/apache/maven-install-plugin/issues/235#issuecomment-2771854679
**[Gaurav Mutreja](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gauravm)** commented
Hi John,
Thanks a lot for the reply.
Let me complete the tests and then I will submit the patch,
Thanks
Gaurav
--
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-83] The install should also contain a goal to install directory of external jar files into the repository. [maven-install-plugin]
Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #235:
URL: https://github.com/apache/maven-install-plugin/issues/235#issuecomment-2771854644
**[John Dennis Casey](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jdcasey)** commented
You can attach a patch to the plugin here, and we'll review it. If everything looks ok, we'll commit the code and it'll get picked up in the next release.
--
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-83] The install should also contain a goal to install directory of external jar files into the repository. [maven-install-plugin]
Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #235:
URL: https://github.com/apache/maven-install-plugin/issues/235#issuecomment-2771854666
**[John Dennis Casey](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jdcasey)** commented
...But please be sure your patch includes tests, and conforms to the source formatting guidelines at:
http://maven.apache.org/developers/conventions/code.html
--
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-83] The install should also contain a goal to install directory of external jar files into the repository. [maven-install-plugin]
Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #235:
URL: https://github.com/apache/maven-install-plugin/issues/235#issuecomment-2771854689
**[Gaurav Mutreja](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gauravm)** commented
Hi John,
I had created a separate plug-in installDirectory(which I guess may also acts a new goal in install plugin) which I am attaching over here
The only change in installing all files inside a directory involves changes in execute method of InstallFileMojo.java and these changes are done in execute method of InstallDirectoryMojo.java
The directory can be installed with
mvn installDirectory:install-Dir -DgroupId=\<group-id> -D
version=\<version> -Dpackaging=\<packaging-type> -Dfile=\<directory-path>.
Please do let me know the changes which are required after you review it.
Thanks
Gaurav
--
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-83] The install should also contain a goal to install directory of external jar files into the repository. [maven-install-plugin]
Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #235:
URL: https://github.com/apache/maven-install-plugin/issues/235#issuecomment-2771854714
**[Gaurav Mutreja](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gauravm)** commented
Hi John,
Did you get any chance to look at the files I uploaded.
please let me know about changes required.
Thanks
Gaurav
--
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