[ 
http://jira.codehaus.org/browse/MINSTALL-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gaurav Mutreja updated MINSTALL-83:
-----------------------------------

    Attachment: directory-plugin.zip

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

> The install should also conatin a goal to install directory of external jar 
> files into the repository.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MINSTALL-83
>                 URL: http://jira.codehaus.org/browse/MINSTALL-83
>             Project: Maven 2.x Install Plugin
>          Issue Type: Improvement
>            Reporter: Gaurav Mutreja
>         Attachments: directory-plugin.zip
>
>
> The install should conatin 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to