Re: Creating local repository
Hi, You don't share the "local repository", it should be seen and actually have been called "cache". Search for tools called "Maven Repository Manager". The famous ones out there are Archiva, Artifactory & Nexus (in alphabetical order). Cheers 2015-09-05 5:07 GMT+02:00 Niraj Chaudhary: > Hi George, > > We had tried this earlier in my company. > The problem is you never know what is 'all' the artifacts. > Challenges faced: > > 1.One developer adding a new third-party dependency required that the > artifact should be present in all the local dev repos for proper > compilation. > 2.Repo grows in size. Sharing becomes difficult. > > Thanks, > Niraj > > On Fri, Sep 4, 2015 at 8:51 PM, George Karabotsos > wrote: > > > Hi Gail, > > > > The problem is that the VM is not controlled by my organization--they > > are controlled by a third party. As such, they are not even within our > > intranet. > > > > I do have access to the master VM which has access to the internet to > > allow me to set it up. So what you and Michael mention, to get all > > artifacts first, then use the -o flag from offilne VMs, should do the > > trick. > > > > Thank you so much! > > > > Cheers, > > George > > > > On Fri, Sep 4, 2015, at 10:54 AM, Gail Stewart wrote: > > > How are you going to get the libraries you need to this server if you > > > have > > > no net access? > > > > > > I'm not sure if this would work, but one way might be to run the maven > on > > > a > > > system with internet access so it populates the local repository in > > > $HOME/.m2 > > > > > > Tar or zip that directory up and get it to your server. Unzip it into > > > your > > > $HOME/.m2 or to a common location for several developers to use. You > can > > > tell maven where to find the local repo if you aren't using the default > > > $HOME/.m2 location. > > > > > > Then run maven in offline mode. > > > > > > This is not ideal - why doesn't the server have internet access? Could > > > it > > > have access to a company managed server? If so you could setup a nexus > > > or > > > artifactory enterprise server - that would have internet access, but > > > could > > > be controlled in a secure manner. > > > > > > > > > On Fri, Sep 4, 2015 at 10:27 AM, George Karabotsos > > > wrote: > > > > > > > Hello all, > > > > > > > > Let me start by admitting I am by no means a maven expert :). > > > > > > > > Now I have a need to create a local file-based repository to be used > by > > > > maven when building my project. I need this because I have no net > > > > access from a set of VMs I and colleagues have to use . > > > > > > > > I was thinking of the following: > > > > 1) connected to the net, normally proceed and download all necessary > > > > artifacts > > > > 2) copy these jars with > > > > > cp -r Users/gkarabotsos/.m2/repository . > > > > 3) Add the following to my pom.xml > > > > > > > > > > > > localrepository > > > > file:///c:/repository/ > > > > > > > > > > > > > > > > I do know that it does not work--I am guessing my c:/repository > > > > structure does not have the correct form. > > > > > > > > I have also seen, in the net, commands such as the following: > > > > > > > > mvn install:install-file -Dfile=YOUR_JAR.jar -DgroupId=YOUR_GROUP_ID > > > > -DartifactId=YOUR_ARTIFACT_ID -Dversion=YOUR_VERSION -Dpackaging=jar > > > > -DlocalRepositoryPath=/var/www/html/mavenRepository > > > > > > > > Is this the only correct way? I have yet to try it, primarily > because I > > > > have a few dozen artifacts and doing so will take me a long time. > > > > > > > > > > > > Cheers, > > > > George > > > > > > > > - > > > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > > > > > > > > > > > > > -- > > > > > > Gail Stewart > > > Sr. Release Engineer > > > > > > AP & Payment Automation > > > 125 Cambridgepark Drive > > > Cambridge, MA 02140 > > > gail.stew...@mineraltree.com > > > 617.299.3399 x148 > > > > - > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > -- Baptiste MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
Creating local repository
Hello all, Let me start by admitting I am by no means a maven expert :). Now I have a need to create a local file-based repository to be used by maven when building my project. I need this because I have no net access from a set of VMs I and colleagues have to use . I was thinking of the following: 1) connected to the net, normally proceed and download all necessary artifacts 2) copy these jars with > cp -r Users/gkarabotsos/.m2/repository . 3) Add the following to my pom.xml localrepository file:///c:/repository/ I do know that it does not work--I am guessing my c:/repository structure does not have the correct form. I have also seen, in the net, commands such as the following: mvn install:install-file -Dfile=YOUR_JAR.jar -DgroupId=YOUR_GROUP_ID -DartifactId=YOUR_ARTIFACT_ID -Dversion=YOUR_VERSION -Dpackaging=jar -DlocalRepositoryPath=/var/www/html/mavenRepository Is this the only correct way? I have yet to try it, primarily because I have a few dozen artifacts and doing so will take me a long time. Cheers, George - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Creating local repository
George, Nor am I a Maven expert, by any stretch of the imagination! But from experience, when you want to work with Maven such that is uses only the local repository you must use the -o (the offline only) option when executing your builds. I will look at your other questions because I think there are some other things you can do as alternatives. Mike Michael Tarullo Contractor (Engility Corp) Enterprise Architect NSRR System Administrator FAA WJH Technical Center (609)485-5294 -Original Message- From: George Karabotsos [mailto:kara...@gmail.com] Sent: Friday, September 04, 2015 10:27 AM To: users@maven.apache.org Subject: Creating local repository Hello all, Let me start by admitting I am by no means a maven expert :). Now I have a need to create a local file-based repository to be used by maven when building my project. I need this because I have no net access from a set of VMs I and colleagues have to use . I was thinking of the following: 1) connected to the net, normally proceed and download all necessary artifacts 2) copy these jars with > cp -r Users/gkarabotsos/.m2/repository . 3) Add the following to my pom.xml localrepository file:///c:/repository/ I do know that it does not work--I am guessing my c:/repository structure does not have the correct form. I have also seen, in the net, commands such as the following: mvn install:install-file -Dfile=YOUR_JAR.jar -DgroupId=YOUR_GROUP_ID -DartifactId=YOUR_ARTIFACT_ID -Dversion=YOUR_VERSION -Dpackaging=jar -DlocalRepositoryPath=/var/www/html/mavenRepository Is this the only correct way? I have yet to try it, primarily because I have a few dozen artifacts and doing so will take me a long time. Cheers, George - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Creating local repository
How are you going to get the libraries you need to this server if you have no net access? I'm not sure if this would work, but one way might be to run the maven on a system with internet access so it populates the local repository in $HOME/.m2 Tar or zip that directory up and get it to your server. Unzip it into your $HOME/.m2 or to a common location for several developers to use. You can tell maven where to find the local repo if you aren't using the default $HOME/.m2 location. Then run maven in offline mode. This is not ideal - why doesn't the server have internet access? Could it have access to a company managed server? If so you could setup a nexus or artifactory enterprise server - that would have internet access, but could be controlled in a secure manner. On Fri, Sep 4, 2015 at 10:27 AM, George Karabotsoswrote: > Hello all, > > Let me start by admitting I am by no means a maven expert :). > > Now I have a need to create a local file-based repository to be used by > maven when building my project. I need this because I have no net > access from a set of VMs I and colleagues have to use . > > I was thinking of the following: > 1) connected to the net, normally proceed and download all necessary > artifacts > 2) copy these jars with > > cp -r Users/gkarabotsos/.m2/repository . > 3) Add the following to my pom.xml > > > localrepository > file:///c:/repository/ > > > > I do know that it does not work--I am guessing my c:/repository > structure does not have the correct form. > > I have also seen, in the net, commands such as the following: > > mvn install:install-file -Dfile=YOUR_JAR.jar -DgroupId=YOUR_GROUP_ID > -DartifactId=YOUR_ARTIFACT_ID -Dversion=YOUR_VERSION -Dpackaging=jar > -DlocalRepositoryPath=/var/www/html/mavenRepository > > Is this the only correct way? I have yet to try it, primarily because I > have a few dozen artifacts and doing so will take me a long time. > > > Cheers, > George > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Gail Stewart Sr. Release Engineer AP & Payment Automation 125 Cambridgepark Drive Cambridge, MA 02140 gail.stew...@mineraltree.com 617.299.3399 x148
RE: Creating local repository
You don't really need to point to a local repository. By default Maven will use C:\Users\\.m2\respository as the local repo. (i.e. for a Windows host). If you want to specify a different location for the local repo you can use this in your settings.xml: C:\.. Finally, to populate your local repo for the first time (i.e. when you ARE connected to the net), you can execute the Maven goal archetype:create to build a "hello world" app. As long a you start with an empty local repository, wherever that happens to be i.e. the default location or somewhere else as per your settings.xml file, then Maven will attempt to get plugins and artifacts from the local repo first but since it is empty it will go to the default remote repo to get these and populate the local repo. As long as you can access the location of the local repo from your VM's there is no need to copy anything! Just one reminder, when you run Maven with the archetype:create goal DO NOT use the -o option!!! After that, when you want to use the local repo only USE the -o option. One last thought. Using Maven in offline only mode may present you with some problems down the road, depending on what "external" artifacts your application uses. If you only populate the local repo once then you will not be using updated artifacts as they become available. If you are not using any "external" artifacts (e.g. XML parsers, log file libraries, etc.) in your app, this should not be a problem. Other on the mailing list feel free to correct me if I've given George any incorrect info. Good luck! And happy building. Michael Tarullo Contractor (Engility Corp) Enterprise Architect NSRR System Administrator FAA WJH Technical Center (609)485-5294 -Original Message- From: George Karabotsos [mailto:kara...@gmail.com] Sent: Friday, September 04, 2015 10:27 AM To: users@maven.apache.org Subject: Creating local repository Hello all, Let me start by admitting I am by no means a maven expert :). Now I have a need to create a local file-based repository to be used by maven when building my project. I need this because I have no net access from a set of VMs I and colleagues have to use . I was thinking of the following: 1) connected to the net, normally proceed and download all necessary artifacts 2) copy these jars with > cp -r Users/gkarabotsos/.m2/repository . 3) Add the following to my pom.xml localrepository file:///c:/repository/ I do know that it does not work--I am guessing my c:/repository structure does not have the correct form. I have also seen, in the net, commands such as the following: mvn install:install-file -Dfile=YOUR_JAR.jar -DgroupId=YOUR_GROUP_ID -DartifactId=YOUR_ARTIFACT_ID -Dversion=YOUR_VERSION -Dpackaging=jar -DlocalRepositoryPath=/var/www/html/mavenRepository Is this the only correct way? I have yet to try it, primarily because I have a few dozen artifacts and doing so will take me a long time. Cheers, George - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Creating local repository
Hi Gail, The problem is that the VM is not controlled by my organization--they are controlled by a third party. As such, they are not even within our intranet. I do have access to the master VM which has access to the internet to allow me to set it up. So what you and Michael mention, to get all artifacts first, then use the -o flag from offilne VMs, should do the trick. Thank you so much! Cheers, George On Fri, Sep 4, 2015, at 10:54 AM, Gail Stewart wrote: > How are you going to get the libraries you need to this server if you > have > no net access? > > I'm not sure if this would work, but one way might be to run the maven on > a > system with internet access so it populates the local repository in > $HOME/.m2 > > Tar or zip that directory up and get it to your server. Unzip it into > your > $HOME/.m2 or to a common location for several developers to use. You can > tell maven where to find the local repo if you aren't using the default > $HOME/.m2 location. > > Then run maven in offline mode. > > This is not ideal - why doesn't the server have internet access? Could > it > have access to a company managed server? If so you could setup a nexus > or > artifactory enterprise server - that would have internet access, but > could > be controlled in a secure manner. > > > On Fri, Sep 4, 2015 at 10:27 AM, George Karabotsos> wrote: > > > Hello all, > > > > Let me start by admitting I am by no means a maven expert :). > > > > Now I have a need to create a local file-based repository to be used by > > maven when building my project. I need this because I have no net > > access from a set of VMs I and colleagues have to use . > > > > I was thinking of the following: > > 1) connected to the net, normally proceed and download all necessary > > artifacts > > 2) copy these jars with > > > cp -r Users/gkarabotsos/.m2/repository . > > 3) Add the following to my pom.xml > > > > > > localrepository > > file:///c:/repository/ > > > > > > > > I do know that it does not work--I am guessing my c:/repository > > structure does not have the correct form. > > > > I have also seen, in the net, commands such as the following: > > > > mvn install:install-file -Dfile=YOUR_JAR.jar -DgroupId=YOUR_GROUP_ID > > -DartifactId=YOUR_ARTIFACT_ID -Dversion=YOUR_VERSION -Dpackaging=jar > > -DlocalRepositoryPath=/var/www/html/mavenRepository > > > > Is this the only correct way? I have yet to try it, primarily because I > > have a few dozen artifacts and doing so will take me a long time. > > > > > > Cheers, > > George > > > > - > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > > > -- > > Gail Stewart > Sr. Release Engineer > > AP & Payment Automation > 125 Cambridgepark Drive > Cambridge, MA 02140 > gail.stew...@mineraltree.com > 617.299.3399 x148 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Creating local repository
Thank you Michael, I will give it a try and let you know how it goes. Cheers, George On Fri, Sep 4, 2015, at 10:54 AM, michael.ctr.taru...@faa.gov wrote: > You don't really need to point to a local repository. By default Maven > will use C:\Users\\.m2\respository as the local repo. (i.e. > for a Windows host). > > If you want to specify a different location for the local repo you can > use this in your settings.xml: > > C:\.. > > > Finally, to populate your local repo for the first time (i.e. when you > ARE connected to the net), you can execute the Maven goal > archetype:create to build a "hello world" app. As long a you start with > an empty local repository, wherever that happens to be i.e. the default > location or somewhere else as per your settings.xml file, then Maven will > attempt to get plugins and artifacts from the local repo first but since > it is empty it will go to the default remote repo to get these and > populate the local repo. As long as you can access the location of the > local repo from your VM's there is no need to copy anything! > > Just one reminder, when you run Maven with the archetype:create goal DO > NOT use the -o option!!! After that, when you want to use the local repo > only USE the -o option. > > One last thought. Using Maven in offline only mode may present you with > some problems down the road, depending on what "external" artifacts your > application uses. If you only populate the local repo once then you will > not be using updated artifacts as they become available. If you are not > using any "external" artifacts (e.g. XML parsers, log file libraries, > etc.) in your app, this should not be a problem. > > Other on the mailing list feel free to correct me if I've given George > any incorrect info. > > Good luck! And happy building. > > Michael Tarullo > Contractor (Engility Corp) > Enterprise Architect > NSRR System Administrator > FAA WJH Technical Center > (609)485-5294 > > > -Original Message- > From: George Karabotsos [mailto:kara...@gmail.com] > Sent: Friday, September 04, 2015 10:27 AM > To: users@maven.apache.org > Subject: Creating local repository > > Hello all, > > Let me start by admitting I am by no means a maven expert :). > > Now I have a need to create a local file-based repository to be used by > maven when building my project. I need this because I have no net access > from a set of VMs I and colleagues have to use . > > I was thinking of the following: > 1) connected to the net, normally proceed and download all necessary > artifacts > 2) copy these jars with > > cp -r Users/gkarabotsos/.m2/repository . > 3) Add the following to my pom.xml > > > localrepository > file:///c:/repository/ > > > > I do know that it does not work--I am guessing my c:/repository > structure does not have the correct form. > > I have also seen, in the net, commands such as the following: > > mvn install:install-file -Dfile=YOUR_JAR.jar -DgroupId=YOUR_GROUP_ID > -DartifactId=YOUR_ARTIFACT_ID -Dversion=YOUR_VERSION -Dpackaging=jar > -DlocalRepositoryPath=/var/www/html/mavenRepository > > Is this the only correct way? I have yet to try it, primarily because I > have a few dozen artifacts and doing so will take me a long time. > > > Cheers, > George > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Creating local repository
Hi George, We had tried this earlier in my company. The problem is you never know what is 'all' the artifacts. Challenges faced: 1.One developer adding a new third-party dependency required that the artifact should be present in all the local dev repos for proper compilation. 2.Repo grows in size. Sharing becomes difficult. Thanks, Niraj On Fri, Sep 4, 2015 at 8:51 PM, George Karabotsoswrote: > Hi Gail, > > The problem is that the VM is not controlled by my organization--they > are controlled by a third party. As such, they are not even within our > intranet. > > I do have access to the master VM which has access to the internet to > allow me to set it up. So what you and Michael mention, to get all > artifacts first, then use the -o flag from offilne VMs, should do the > trick. > > Thank you so much! > > Cheers, > George > > On Fri, Sep 4, 2015, at 10:54 AM, Gail Stewart wrote: > > How are you going to get the libraries you need to this server if you > > have > > no net access? > > > > I'm not sure if this would work, but one way might be to run the maven on > > a > > system with internet access so it populates the local repository in > > $HOME/.m2 > > > > Tar or zip that directory up and get it to your server. Unzip it into > > your > > $HOME/.m2 or to a common location for several developers to use. You can > > tell maven where to find the local repo if you aren't using the default > > $HOME/.m2 location. > > > > Then run maven in offline mode. > > > > This is not ideal - why doesn't the server have internet access? Could > > it > > have access to a company managed server? If so you could setup a nexus > > or > > artifactory enterprise server - that would have internet access, but > > could > > be controlled in a secure manner. > > > > > > On Fri, Sep 4, 2015 at 10:27 AM, George Karabotsos > > wrote: > > > > > Hello all, > > > > > > Let me start by admitting I am by no means a maven expert :). > > > > > > Now I have a need to create a local file-based repository to be used by > > > maven when building my project. I need this because I have no net > > > access from a set of VMs I and colleagues have to use . > > > > > > I was thinking of the following: > > > 1) connected to the net, normally proceed and download all necessary > > > artifacts > > > 2) copy these jars with > > > > cp -r Users/gkarabotsos/.m2/repository . > > > 3) Add the following to my pom.xml > > > > > > > > > localrepository > > > file:///c:/repository/ > > > > > > > > > > > > I do know that it does not work--I am guessing my c:/repository > > > structure does not have the correct form. > > > > > > I have also seen, in the net, commands such as the following: > > > > > > mvn install:install-file -Dfile=YOUR_JAR.jar -DgroupId=YOUR_GROUP_ID > > > -DartifactId=YOUR_ARTIFACT_ID -Dversion=YOUR_VERSION -Dpackaging=jar > > > -DlocalRepositoryPath=/var/www/html/mavenRepository > > > > > > Is this the only correct way? I have yet to try it, primarily because I > > > have a few dozen artifacts and doing so will take me a long time. > > > > > > > > > Cheers, > > > George > > > > > > - > > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > > > > > > > > -- > > > > Gail Stewart > > Sr. Release Engineer > > > > AP & Payment Automation > > 125 Cambridgepark Drive > > Cambridge, MA 02140 > > gail.stew...@mineraltree.com > > 617.299.3399 x148 > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
Re: Creating a repository
Thanks for the replies. I'm looking at Archiva and I was wondering where do I configure access to download/publish maven artifacts. I would prefer the user of SSH keys over username/passwords. Would this configuration be at the Archiva level, or would it be at the Maven level? Thanks again On 2/23/11 10:19 AM, Jesse Farinacci wrote: Greetings, On Wed, Feb 23, 2011 at 1:08 PM, Markstatic.void@gmail.com wrote: Can someone please point me in the direction on how to create a respository that will be located behind our firewall and accessible to our engineers. Try installing a MRM like http://nexus.sonatype.org/ or http://archiva.apache.org/ and then follow http://www.sonatype.com/books/nexus-book/reference/maven-sect-single-group.html -Jesse - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Creating a repository
On Thu, Feb 24, 2011 at 11:09 AM, Mark static.void@gmail.com wrote: I'm looking at Archiva and I was wondering where do I configure access to download/publish maven artifacts. I would prefer the user of SSH keys over username/passwords. Would this configuration be at the Archiva level, or would it be at the Maven level? Archiva has its own mailing lists, you can find info here: http://archiva.apache.org/mail-lists.html Downloading and publishing are two separate questions though. If you want to use scp for publishing, then you'd configure that in Maven settings.xml and Archiva wouldn't be involved with access control, it would just discover the artifacts the next time it scans. Not familiar with using scp for retrieving artifacts, that's always http/https afaik. -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Creating a repository
Can someone please point me in the direction on how to create a respository that will be located behind our firewall and accessible to our engineers. Thanks - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Creating a repository
Hi, Can someone please point me in the direction on how to create a respository that will be located behind our firewall and accessible to our engineers. I would suggest to install a repository Manager (Artifactory, Nexus, Archiva) and work with them... Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 Würselen http://www.soebes.de - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Creating a repository
Greetings, On Wed, Feb 23, 2011 at 1:08 PM, Mark static.void@gmail.com wrote: Can someone please point me in the direction on how to create a respository that will be located behind our firewall and accessible to our engineers. Try installing a MRM like http://nexus.sonatype.org/ or http://archiva.apache.org/ and then follow http://www.sonatype.com/books/nexus-book/reference/maven-sect-single-group.html -Jesse -- There are 10 types of people in this world, those that can read binary and those that can not. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Creating a Repository in weblogic server
Hello, I want to create my own repository in my weblogic server like http://localhost:7001/maven/repository Can some one suggest how to get this?Do I need to define a web application to get this done Regards Jaish - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating a Repository in weblogic server
Here is a web application we use as our companies internal repository. It doubles as an open source cache too: http://proximity.abstracthorizon.org/ On 5/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I want to create my own repository in my weblogic server like http://localhost:7001/maven/repository Can some one suggest how to get this?Do I need to define a web application to get this done Regards Jaish - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating a Repository in weblogic server
You can create a lightweight web application with just a web.xml and weblogic.xml. In the weblogic.xml you can specify the context root your wish to use and the location on the filesystem relative to the server that you wish to store the repository files. Scott Ryan [EMAIL PROTECTED] On 5/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I want to create my own repository in my weblogic server like http://localhost:7001/maven/repository Can some one suggest how to get this?Do I need to define a web application to get this done Regards Jaish - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Bug: Creating Internal repository
were you able to create the internal reposiotry successfully? I am still lookign for tips to get this working. Carlos Cadete wrote: Hi, I have my local maven repository in $HOME/.m2/repository and I want to change my local repository to c:\repository so I change in settings localRepositoryc:\repository/localRepostory and that runs ok. But I want to use $HOME/.m2/repository as my central repository so I create in global settings mirror idMyMirror/id mirrorOfcentral/mirrorOf nameMy New Repositorio/name urlfile://$HOME\.m2\repository/url /mirror but it give me the error [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exi st or no valid version could be found I notice that it creates file c:\repository\org\apache\plugins\maven-resources-pluin\maven-metadata-central.xml but it differs from the one I have in $HOME/.m2/repository so I replace it, run again and it runs for this plugins, but the same problem arises for the other plugins the file it creates is something like this that don't work ?xml version=1.0 encoding=UTF-8? metadata groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId versionLATEST/version /metadata witch differs from the one in repository metadata groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId versioning latest2.1/latest release2.1/release versions version2.0-beta-1/version version2.0-beta-2/version version2.0/version version2.1/version /versions lastUpdated20051025005815/lastUpdated /versioning /metadata so is this a bug? If it is not what is wrong to give th error? I am using maven 2.0.4 the lastest version. -- View this message in context: http://www.nabble.com/-M2--Bug%3A-Creating-Internal-repository-tf1441274.html#a5750130 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Bug: Creating Internal repository
Hi, I have my local maven repository in $HOME/.m2/repository and I want to change my local repository to c:\repository so I change in settings c:\repository and that runs ok. But I want to use $HOME/.m2/repository as my central repository so I create in global settings MyMirror central My New Repositorio file://$HOME\.m2\repository but it give me the error [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exi st or no valid version could be found I notice that it creates file c:\repository\org\apache\plugins\maven-resources-pluin\maven-metadata-central.xml but it differs from the one I have in $HOME/.m2/repository so I replace it, run again and it runs for this plugins, but the same problem arises for the other plugins the file it creates is something like this that don't work ?xml version=1.0 encoding=UTF-8? org.apache.maven.plugins maven-resources-plugin LATEST witch differs from the one in repository org.apache.maven.plugins maven-resources-plugin 2.1 2.1 2.0-beta-1 2.0-beta-2 2.0 2.1 20051025005815 so is this a bug? If it is not what is wrong to give th error? I am using maven 2.0.4 the lastest version. -- View this message in context: http://www.nabble.com/-M2-Bug%3A-Creating-Internal-repository-t1441271.html#a3891929 Sent from the Maven - Users forum at Nabble.com.
[M2] Bug: Creating Internal repository
Hi, I have my local maven repository in $HOME/.m2/repository and I want to change my local repository to c:\repository so I change in settings localRepositoryc:\repository/localRepostory and that runs ok. But I want to use $HOME/.m2/repository as my central repository so I create in global settings mirror idMyMirror/id mirrorOfcentral/mirrorOf nameMy New Repositorio/name urlfile://$HOME\.m2\repository/url /mirror but it give me the error [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exi st or no valid version could be found I notice that it creates file c:\repository\org\apache\plugins\maven-resources-pluin\maven-metadata-central.xml but it differs from the one I have in $HOME/.m2/repository so I replace it, run again and it runs for this plugins, but the same problem arises for the other plugins the file it creates is something like this that don't work ?xml version=1.0 encoding=UTF-8? metadata groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId versionLATEST/version /metadata witch differs from the one in repository metadata groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId versioning latest2.1/latest release2.1/release versions version2.0-beta-1/version version2.0-beta-2/version version2.0/version version2.1/version /versions lastUpdated20051025005815/lastUpdated /versioning /metadata so is this a bug? If it is not what is wrong to give th error? I am using maven 2.0.4 the lastest version. -- View this message in context: http://www.nabble.com/-M2-Bug%3A-Creating-Internal-repository-t1441274.html#a3891938 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]