You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gaurav Mutreja (JIRA)" <ji...@codehaus.org> on 2011/04/11 12:49:22 UTC

[jira] Created: (MINSTALL-83) The install should also conatin a goal to install directory of external jar files into the repository.

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


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

        

[jira] Updated: (MINSTALL-83) The install should also conatin a goal to install directory of external jar files into the repository.

Posted by "Gaurav Mutreja (JIRA)" <ji...@codehaus.org>.
     [ 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

        

[jira] Commented: (MINSTALL-83) The install should also conatin a goal to install directory of external jar files into the repository.

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MINSTALL-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=263575#action_263575 ] 

John Casey commented on MINSTALL-83:
------------------------------------

...But please be sure your patch includes tests, and conforms to the source formatting guidelines at:

http://maven.apache.org/developers/conventions/code.html

> 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
>
> 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

        

[jira] Commented: (MINSTALL-83) The install should also conatin a goal to install directory of external jar files into the repository.

Posted by "Gaurav Mutreja (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MINSTALL-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=263583#action_263583 ] 

Gaurav Mutreja commented on MINSTALL-83:
----------------------------------------

Hi John,

Thanks a lot for the reply.
Let me complete the tests and then I will submit the patch,

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
>
> 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

        

[jira] Commented: (MINSTALL-83) The install should also conatin a goal to install directory of external jar files into the repository.

Posted by "Gaurav Mutreja (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MINSTALL-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=265889#action_265889 ] 

Gaurav Mutreja commented on MINSTALL-83:
----------------------------------------

Hi John,

Did you get any chance to look at the files I uploaded.
please let me know about changes required.

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

        

[jira] Commented: (MINSTALL-83) The install should also conatin a goal to install directory of external jar files into the repository.

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MINSTALL-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=263573#action_263573 ] 

John Casey commented on MINSTALL-83:
------------------------------------

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.

> 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
>
> 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