Jose,

Installing a jar simply means making it available in your local .m2/ 
repository.  Sometimes its the case that a jar cannot be published  
due to distribution restrictions. Sometimes its the case that the  
dependency listed is available under a different name in the central  
repository.

I'm curious what the dependency is your trying to meet. Can you post  
that detail?

Likewise, you are correct, unless the dependency is explicitly  
required by your production environment, it should not interfere with  
that build process.  In the event that you are really concerned about  
this, you can setup two separate local repositories to meet each  
need, either by (1) working in a different user account for  
development and production or (2) configuring mvn to look for a  
different local repository.

I'm not convinced you need be doing either of these.

I don't think theres a command to uninstall a jar in mvn, which is  
interesting given you can just delete the installed copy from you .m2/ 
repository by hand to get it out of there.

http://maven.apache.org/plugins/maven-install-plugin/usage.html

-Mark

On Aug 14, 2008, at 9:11 AM, Blanco, Jose wrote:

> I am experimenting in a separate development are with a new storage
> mechanism, and the instructions ask me to install a jar file using  
> mvn.
> I'm wondering how this will affect my production environment.  I  
> suppose
> that because it's not being used in production, the installation of  
> this
> new jar file will have no affect, but I wanted to make sure before I
> went ahead and issued the 'mvn install:install-file' command.  Doest
> that make sense?  BTW, what is the command to uninstall a jar file?
>
> Thanks!
> Jose
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to