Mark:

Thanks for addressing my question.  What I'm trying to do is use a
honeycomb server as our assetstore.  Some one from honeycomb ( Eric Reid
) and some one from Dspace ( Richard Rogers ) worked on making this
possible, and I am tasked with testing it out with what we have.  

So I have a dev area in which according to the instructions I have to
issue the following instructions:

dspace% mvn install:install-file
-Dfile=[emulator]/java/lib/honeycomb-client.jar \
-DgroupId=com.sun.honeycomb -DartifactId=client -Dversion=84 \
-Dpackaging=jar -DgeneratePom=true 

I'm also suppose to add the following lines to the
[dspace-source]/pom.xml file:

 <dependency>
<groupId>com.sun.honeycomb</groupId>
<artifactId>client</artifactId>
<version>84</version>
</dependency>

Eric has also supplied me with some new files and replacements for 

Cleanup.java, BitstreamStorageManager.java

So, I just want to make sure a that when I run the install I don't mess
anything up in prod.

I'm not sure what you mean by .m2/ repository.

Basically what I have done is created 2 directory in which I installed
dspace 1.5 and then I ran the instructions to get the dev area running
and then the prod area.  Both of these use their own repositories.

Any thoughts now?

Thanks!
Jose


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Diggory
Sent: Thursday, August 14, 2008 12:43 PM
To: Blanco, Jose
Cc: [email protected]
Subject: Re: [Dspace-tech] Using maven in development environment

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

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