Re: Setting up Repository

2007-04-27 Thread Wayne Fay

No, this is not sufficient as there is additional metadata required.

You should install Archiva, Proximity, Artifactory, etc.

Wayne

On 4/27/07, Petr V. [EMAIL PROTECTED] wrote:

I have to set up repository for the developers in my company.

I added following in my settings.xml and run http server at localhost

profile
 iddefault-repositories/id
 repositories
  repository
  idmy-internal/id
  urlhttp://localhost:/repository//url
  /repository
 /repositories

 pluginRepositories
  pluginRepository
  idmy-internal/id
  urlhttp://localhost:/repository//url
  /pluginRepository
  /pluginRepositories
 /profile
/profiles

activeProfiles
   activeProfiledefault-repositories/activeProfile
/activeProfiles

Now issue is, how can I install the required jar file etc into 
localhost/repository.
Can I simply copy repository (from one of developer's machine which he got via 
ibiblio by default) into loclahost repository ?

Any help is really really appreciated. I am now desperate. I have tried many 
things and nothing seem to work.

Thanks,

Petr V.




-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Setting up Repository

2007-04-27 Thread Petr V.
No, I did not try that. 

I found this page when I googled mvn deploy

http://maven.apache.org/guides/mini/guide-deploying-3rd-party-jars.html but it 
is not making lots of sense to me. Problem is that server that is gonna host 
the repository would have no outside world connection so I have to simply 
create a repository of required artifacts manually. 

Any pointers ???



Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco) [EMAIL PROTECTED] 
wrote:  
Have you tried mvn deploy?
--Marilyn

 -Original Message-
 From: Petr V. [mailto:[EMAIL PROTECTED] 
 Sent: Friday, April 27, 2007 12:03 PM
 To: Maven Users List
 Subject: Setting up Repository
 
 I have to set up repository for the developers in my company.
 
 I added following in my settings.xml and run http server at localhost
 
 

   default-repositories
   

my-internal
http://localhost:/repository/

   
 
   



my-internal
http://localhost:/repository/




   

 
 
 
 default-repositories
 
 
 Now issue is, how can I install the required jar file etc 
 into localhost/repository.
 Can I simply copy repository (from one of developer's machine 
 which he got via ibiblio by default) into loclahost repository ?
 
 Any help is really really appreciated. I am now desperate. I 
 have tried many things and nothing seem to work.
 
 Thanks,
 
 Petr V.
 
 
 

 -
 Ahhh...imagining that irresistible new car smell?
  Check outnew cars at Yahoo! Autos.
 


   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.

RE: Setting up Repository

2007-04-27 Thread Marilyn Sander -X \(marilysa - Digital-X, Inc. at Cisco\)
The guide to deploying third-party jars is where I got all the
information I needed to be able to deploy artifacts to our internal
repository.  When running mvn deploy, you have to have your Maven
environment (M2_HOME, Maven installation, ~/m2.settings or other way to
locate the local repository) all set up.
 
All you need is the jar/war/ear file.  The pom is optional.  mvn deploy
will generate the pom if you want, or will deploy an existing pom if you
have one.  You have to set the correct arguments to get it to do what
you want.
 
The one thing that I found tricky, and I had to experiment with it, is
specify the repository to deploy to.  You don't have to specify a
repository id.  You can just specify the URL.
 
The jar/war/ear file and the pom file can be anywhere. They don't have
be and probably should not be in the local repository you use for this
operation. The current working directory is a good place. The artifact
and pom will be deployed to both your local repository and to the
repository specified in the url definition.   
 
Hope this helps.
--Marilyn




From: Petr V. [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 27, 2007 12:23 PM
To: Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco);
Maven Users List
Subject: RE: Setting up Repository


No, I did not try that. 

I found this page when I googled mvn deploy


http://maven.apache.org/guides/mini/guide-deploying-3rd-party-jars.html
but it is not making lots of sense to me. Problem is that server that is
gonna host the repository would have no outside world connection so I
have to simply create a repository of required artifacts manually. 

Any pointers ???



Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco)
[EMAIL PROTECTED] wrote: 


Have you tried mvn deploy?
--Marilyn

 -Original Message-
 From: Petr V. [mailto:[EMAIL PROTECTED] 
 Sent: Friday, April 27, 2007 12:03 PM
 To: Maven Users List
 Subject: Setting up Repository
 
 I have to set up repository for the developers in my
company.
 
 I added following in my settings.xml and run http
server at localhost
 
 
 default-repositories
 
 
 my-internal
 http://localhost:/repository/
 
 
 
 
 
 my-internal
 http://localhost:/repository/
 
 
 
 
 
 
 default-repositories
 
 
 Now issue is, how can I install the required jar file
etc 
 into localhost/repository.
 Can I simply copy repository (from one of developer's
machine 
 which he got via ibiblio by default) into loclahost
repository ?
 
 Any help is really really appreciated. I am now
desperate. I 
 have tried many things and nothing seem to work.
 
 Thanks,
 
 Petr V.
 
 
 
 
 -
 Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.
 






Ahhh...imagining that irresistible new car smell?
Check out new cars at Yahoo! Autos.
http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;
_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM
-