Re: Unable to clone the maven repositories
Hi Sandeep, yesterday almost everyone had problems getting artifacts from maven central, it should be resolved by now. My guess is that a lot of developers pushed their updated artifacts b/c of the log4j2 issue. If you have a in internal build server and cannot accept downtimes, you can install a repository mirror like artifactory, nexus or Apache Archiva. - Ben Am Di., 14. Dez. 2021 um 18:27 Uhr schrieb Sandeep Sundarapu : > > Hi Team , > Could you please help me for the below issues > > -bash-4.2$ mvn package > [INFO] Scanning for projects... > [INFO] > [INFO] --< oracle.km.provision:km-provision > >-- > [INFO] Building km-provision 1.0.0-master-SNAPSHOT > [INFO] [ jar > ]- > Downloading from central: > https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/3.2.0/maven-resources-plugin-3.2.0.pom > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 02:10 min > [INFO] Finished at: 2021-12-14T00:00:30-08:00 > [INFO] > > [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:3.2.0 or one > of its dependencies could not be resolved: Failed to read artifact > descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:3.2.0: > Could not transfer artifact > org.apache.maven.plugins:maven-resources-plugin:pom:3.2.0 from/to central ( > https://repo.maven.apache.org/maven2): transfer failed for > https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/3.2.0/maven-resources-plugin-3.2.0.pom: > Connect to repo.maven.apache.org:443 [repo.maven.apache.org/199.232.8.215] > failed: Connection timed out (Connection timed out) -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException > > > Regards > Sandeep - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Unable to clone the maven repositories
Hi Team , Could you please help me for the below issues -bash-4.2$ mvn package [INFO] Scanning for projects... [INFO] [INFO] --< oracle.km.provision:km-provision >-- [INFO] Building km-provision 1.0.0-master-SNAPSHOT [INFO] [ jar ]- Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/3.2.0/maven-resources-plugin-3.2.0.pom [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 02:10 min [INFO] Finished at: 2021-12-14T00:00:30-08:00 [INFO] [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:3.2.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:3.2.0: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:3.2.0 from/to central ( https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/3.2.0/maven-resources-plugin-3.2.0.pom: Connect to repo.maven.apache.org:443 [repo.maven.apache.org/199.232.8.215] failed: Connection timed out (Connection timed out) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException Regards Sandeep
Re: How maven repositories are resolved?
Thanks John for such a detailed explanation. Few doubts For release version assuming empty local repo. > - Build order this time alpha, bravo, charlie > - Alpha needs A, and Aa is downloaded as it's in central repo and that > was 1st repo in the order list When you say central repo is the first repo in the order list , how is order determined? Is it because central repo is defined before company repo in the settings.xml ? What is the "cache" you are referring to in your answer? On Thu, Jul 30, 2020 at 1:33 AM John Patrick wrote: > The answer depends on the following; > > 1) is it a release version or snapshot version. As if the release > version is in local repo then no remote repo's are checked. > 2) order your pom's are executed > > I've simplified your profiles with central repo and company repo, and > Aa, Ab and Ac are the same GAV but it's just so in the explanation > it's easier to know what A i'm talking about. > > settings > - central repo (contains Aa) > - company repo (contains Ab) > > parent-pom > - alpha > -- A > - bravo (has extra R repository like your cloudera, contains Ac) > -- A > - charlie > -- A > > For release version assuming empty local repo. > - Build order this time alpha, bravo, charlie > - Alpha needs A, and Aa is downloaded as it's in central repo and that > was 1st repo in the order list > - Bravo needs A, it sees Aa in local repo and uses it > - Charlie needs A, it sees Aa in local repo and uses it > > Same as before but maven believe build order is bravo, alpha, charlie, > i.e. you've changed an internal dependency or reorder you modules > section. > - Bravo needs A, and Ac is downloaded as it's in R repo and that was > 1st repo in the order list, which i think it's pom repo's then parent > pom's then settings file. > - Alpha needs A, it sees Ac in local repo and uses it > - Charlie needs A, it sees Ac in local repo and uses it > > Next is if A is a -SNAPSHOT dependency assuming empty local repo, Aa > is v 1-1, Ab is v1-1 and Ac is v1-1 > - Build order this time alpha, bravo, charlie > - Alpha needs A, and Aa is downloaded as it's in central repo and that > was 1st repo in the order list, but it has a cache of Ab existing > - Bravo needs A, it sees it doesn't have a cache of A from R repo, so > looks up A from R repo, and if Ac in R repo is newer it is downloaded > and used. in this case Aa is newer so Aa is used. > - Charlie needs A, it sees all repo's have caches of A, and just uses > the A in the local repo, in this case Aa is used. > > Next is if A is a -SNAPSHOT dependency assuming empty local repo, Aa > is v 1-1, Ab is v1-1 and Ac is v1-2 > - Build order this time alpha, bravo, charlie > - Alpha needs A, and Aa is downloaded as it's in central repo and that > was 1st repo in the order list, but it has a cache of Ab existing > - Bravo needs A, it sees it doesn't have a cache of A from R repo, so > looks up A from R repo, and if Ac in R repo is newer it is downloaded > and used. in this case Ac is newer so Ac is used. > - Charlie needs A, it sees all repo's have caches of A, and just uses > the A in the local repo, in this case Ac is used. > > > > As you can see it can get very messy when -SNAPSHOT's are being used > and different pom's have repo. This is my hands-on experience of trial > and error, debugging and troubleshooting of build processes. > > Hope it was helpful. > > John > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
Re: How maven repositories are resolved?
The answer depends on the following; 1) is it a release version or snapshot version. As if the release version is in local repo then no remote repo's are checked. 2) order your pom's are executed I've simplified your profiles with central repo and company repo, and Aa, Ab and Ac are the same GAV but it's just so in the explanation it's easier to know what A i'm talking about. settings - central repo (contains Aa) - company repo (contains Ab) parent-pom - alpha -- A - bravo (has extra R repository like your cloudera, contains Ac) -- A - charlie -- A For release version assuming empty local repo. - Build order this time alpha, bravo, charlie - Alpha needs A, and Aa is downloaded as it's in central repo and that was 1st repo in the order list - Bravo needs A, it sees Aa in local repo and uses it - Charlie needs A, it sees Aa in local repo and uses it Same as before but maven believe build order is bravo, alpha, charlie, i.e. you've changed an internal dependency or reorder you modules section. - Bravo needs A, and Ac is downloaded as it's in R repo and that was 1st repo in the order list, which i think it's pom repo's then parent pom's then settings file. - Alpha needs A, it sees Ac in local repo and uses it - Charlie needs A, it sees Ac in local repo and uses it Next is if A is a -SNAPSHOT dependency assuming empty local repo, Aa is v 1-1, Ab is v1-1 and Ac is v1-1 - Build order this time alpha, bravo, charlie - Alpha needs A, and Aa is downloaded as it's in central repo and that was 1st repo in the order list, but it has a cache of Ab existing - Bravo needs A, it sees it doesn't have a cache of A from R repo, so looks up A from R repo, and if Ac in R repo is newer it is downloaded and used. in this case Aa is newer so Aa is used. - Charlie needs A, it sees all repo's have caches of A, and just uses the A in the local repo, in this case Aa is used. Next is if A is a -SNAPSHOT dependency assuming empty local repo, Aa is v 1-1, Ab is v1-1 and Ac is v1-2 - Build order this time alpha, bravo, charlie - Alpha needs A, and Aa is downloaded as it's in central repo and that was 1st repo in the order list, but it has a cache of Ab existing - Bravo needs A, it sees it doesn't have a cache of A from R repo, so looks up A from R repo, and if Ac in R repo is newer it is downloaded and used. in this case Ac is newer so Ac is used. - Charlie needs A, it sees all repo's have caches of A, and just uses the A in the local repo, in this case Ac is used. As you can see it can get very messy when -SNAPSHOT's are being used and different pom's have repo. This is my hands-on experience of trial and error, debugging and troubleshooting of build processes. Hope it was helpful. John - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
How maven repositories are resolved?
Cross-posting from stackoverflow <https://stackoverflow.com/questions/63071141/how-maven-repositories-are-resolved> Let's say my settings.xml is defined like below http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd; xmlns="http://maven.apache.org/SETTINGS/1.1.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;> false central libs-release http://artifactory.ark.local:8080/libs-release vmware-repo VM Nexus Repo http://build-squid.eng.vm.com/nexus/content/groups/repo true false snapshots libs-snapshot http://artifactory.ark.local:8080/libs-snapshot false central plugins-release http://artifactory.ark.local:8080/plugins-release snapshots plugins-snapshot http://artifactory.ark.local:8080/plugins-snapshot artifactory artifactory In a multimodule project of the form main storage metrics config common Let's say in metrics pom if a repository is added. cloudera https://repository.cloudera.com/artifactory/cloudera-repos/ 1. If a dependency is defined in A which is present in both cloudera repo and local nexus repo how maven will resolve the repository? Will, it first try to download from cloudera repo and if there is some problem then it will go in local nexus repo or it will check only in cloudera repo and if it is not present it will give error without trying from local nexus repo? 2. Does the answer to the above question change based on if A is defined as a dependency in metric or some other pom where the repository is not defined? Maven Version - 3.6.3
Doc page on Maven repositories at Apache
Hi, all: I am in the process of moving some pages from one location to another on the Apache websites. We have a page that was marked as a "draft" in its original location. I have moved it to https://infra.apache.org/repository-faq.html , and would love any suggestions you might have about how to make it more complete and useful. Thanks in advance. Andrew -- Andrew Wetmore Technical Writer-Editor Infra *Apache Software Foundation* andr...@apache.org
Re: Order of maven repositories in settings.xml
IIRC they are checked in the reverse order compared to how they are defined. That's probably undocumented though and could change between Maven versions. /Anders On Sun, Oct 23, 2016 at 12:07 PM, Debraj Mannawrote: > I have a settings.xml which looks like below:- > > http://maven.apache.org/SETTINGS/1.0.0; xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=" > http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd;> > > > nexusReleases > jabong > jabong123 > > > nexusSnapshots > jabong > jabong123 > > > > > > space > > > central > http://repo1.maven.org/maven2 > > > nReleases > Releases > http://someserver/repository/maven-releases/ > > > nSnapshots > Snapshots > http://someserver/repository/maven-snapshots/ > > > > > > > space > > > > I want maven to check repo1.maven.org first and then only look in > someserver. > Can some one let me know how this can be achieved? > > I am using maven 3.3.9. >
Order of maven repositories in settings.xml
I have a settings.xml which looks like below:- http://maven.apache.org/SETTINGS/1.0.0; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=" http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd;> nexusReleases jabong jabong123 nexusSnapshots jabong jabong123 space central http://repo1.maven.org/maven2 nReleases Releases http://someserver/repository/maven-releases/ nSnapshots Snapshots http://someserver/repository/maven-snapshots/ space I want maven to check repo1.maven.org first and then only look in someserver. Can some one let me know how this can be achieved? I am using maven 3.3.9.
Maven Repositories settings best practice
I do believe using maven mirror under setting.xml is best practice rather define them in pom.xml. However I am not able to locate some blogs I used to read before. Do you have any reference to this best practice? Very much appreciated -D
Re: Maven Repositories settings best practice
I found this http://blog.sonatype.com/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/#.VIpCmTHF_AQ sorry about the noise -D On Thu, Dec 11, 2014 at 3:42 PM, Dan Tran dant...@gmail.com wrote: I do believe using maven mirror under setting.xml is best practice rather define them in pom.xml. However I am not able to locate some blogs I used to read before. Do you have any reference to this best practice? Very much appreciated -D
Re: Maven Repositories settings best practice
On 12 December 2014 at 11:53, Dan Tran dant...@gmail.com wrote: I found this http://blog.sonatype.com/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/#.VIpCmTHF_AQ sorry about the noise If you can't find it in the official docs, then feel free to hack up some enhancements.
Re: Maven Repositories settings best practice
Where is in the official doc, this should land? Thanks -D On Thu, Dec 11, 2014 at 6:52 PM, Barrie Treloar baerr...@gmail.com wrote: On 12 December 2014 at 11:53, Dan Tran dant...@gmail.com wrote: I found this http://blog.sonatype.com/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/#.VIpCmTHF_AQ sorry about the noise If you can't find it in the official docs, then feel free to hack up some enhancements.
Re: Maven Repositories settings best practice
On 12 December 2014 at 15:10, Dan Tran dant...@gmail.com wrote: Where is in the official doc, this should land? That's an awfully good question. There is another thread about re-organising the documentation. The User Centre (http://maven.apache.org/users/index.html) docs are pretty thin, but I would expect this advice to land in there. Or perhaps the Run Maven Configuring Maven ( http://maven.apache.org/guides/mini/guide-configuring-maven.html) has a section on Mirrors that links to http://maven.apache.org/guides/mini/guide-mirror-settings.html. The first sentence says Repositories are declared inside a project, which means that if you have your own custom repositories, those sharing your project easily get the right settings out of the box. which runs against the current advice. Unfortunately those mini-guides dont have a hierarchy available on the left hand navigation page and hacking the URL to drop of the last path just gives a blank page.
Re: Upload arbitrary directories to maven repositories
if your components are packaged as jar files hm, jars are java archives so I feel better if components containing sql-files and shell-scripts are compressed in rar files ..to a source control system.. SCS and ant are used to create the deliveries shown in the picture, and these deliveries are plugged together in a projectbuild. But this projectbuild may take place anywhere in the world in any intranet. So svn or git is no option for that. And we do not know what the end result will be, eg application.xml may contain 20 or 80 ejb-jars What is it about the file server that prompts you to want to change? the enduser can get a compressed fileserver structure or a compressed maven repository. Both will work, only the access is different: .m2\repository\com\org\BusinessComponent\xy0032_8a\BusinessComponent-xy0032_8a-assembly.rar .m2\repository\com\org\UIComponent\xy0024_9a\UIComponent-xy0024_9a-assembly.rar If someone says maven is not thought to be used in that way, he may be right. ant recommends not to use if-statements, but who cares, so why not Burkhard -- View this message in context: http://maven.40175.n5.nabble.com/Upload-arbitrary-directories-to-maven-repositories-tp5743526p5744376.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Upload arbitrary directories to maven repositories
Maven might be a good solution if your components are packaged as jar files and your build just pulled in the right jar files. If you are pulling in source code and building, then your alternatives to a file server might range from a CMS or database to a source control system like svn or git or. What is it about the file server that prompts you to want to change? Ron On 23/01/2013 8:48 AM, Stephen Connolly wrote: Think of a Maven Repository as being for use by Maven and that delivery of components on a file server as shipping to production. Don't try and make the fileserver into a Maven repository. On 23 January 2013 12:06, burkhard kuehlert burkhard.kuehl...@wincor-nixdorf.com wrote: Hi, yes, you are right, but that is what I wanted to say with my last post I have to get used to it. I have realized that I have to change my ideas. And at long last I will answer your question. My company delivers an extendible j2ee framework, and we started with it in 2002. We deliver all our artifacts in so-called components on a file-server(see picture) and in an ant-projectbuild the components are assembled to applications. http://maven.40175.n5.nabble.com/file/n5744259/component.jpg And I wanted to know, if a maven repository can be used instead of a fileserver. And so I wanted to upload the same structure to a maven repository. That is where I started with maven. Best regards Burkhard -- View this message in context: http://maven.40175.n5.nabble.com/Upload-arbitrary-directories-to-maven-repositories-tp5743526p5744259.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Upload arbitrary directories to maven repositories
On 23 January 2013 02:17, burkhard kuehlert burkhard.kuehl...@wincor-nixdorf.com wrote: Hi Barrie, This is assumed knowledge of how maven works I think that was my problem. I am coming from ant and I have no knowledge of how maven works. By default, maven is much more restrictive than ant, and I have to get used to it. Again, You have not answered the question: What are you attempting to do? It is very hard to second guess someone else. You are probably only getting half the good advice you require because we don't know what you are doing. Maven is restrictive _for a reason_, the Maven Way is what is considered best practice. As you will find looking through other emails, when you stray from this path you will fight Maven, and lose. It is a lot easier to change your ideas and follow the Maven Way instead and get on with the interesting stuff of writing code for your product. I highly recommend stopping long enough to read the freely available books at http://maven.apache.org/articles.html - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Upload arbitrary directories to maven repositories
On 21 January 2013 22:58, burkhard kuehlert burkhard.kuehl...@wincor-nixdorf.com wrote: Hi, thanks for your quick responses. I want to state some topics: 1. It could have been documented, that directories cannot be uploaded. This is assumed knowledge of how maven works. Maven Repositories hold single artifacts - a directory is not such a thing (unless you wanted an empty directory) The console output should clearly indicate that a directory assembly will not be uploaded to the repository. Think of the directory assembly as a shortcut for you so that you do not need to un-archive the artifact before using it locally after a build has completed. 4. The archiving of the directory could have be done under the hood like with javadoc No, There are other assembly types for this purpose. 5. I am not happy with large poms and if you add zip/unzip commands the pom grows. I can find no suggestion of zip/unzip in this email thread. What exactly is your problem? As the pom size does not grow in any substantial way. You write everything for assembly in the assembly descriptor. 6. The suggestion of using the wagon-plugin may help. I will try it. But if I know that there is no other way, I can live with it. Many thanks again for your quick and valuable responses. p.s. you have not answered my question: Why do you want to upload an arbitrary directory? You are being given without knowing what you are attempting to do and there may be a simpler option. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Upload arbitrary directories to maven repositories
Hi, is it possible to upload arbitrary directories or filesets to maven repositories ? It seems to me, that artifacts have to be of type file and not directory. Is that right? Thanks Burkhard Kuehlert WINCOR NIXDORF International GmbH Sitz der Gesellschaft: Paderborn Registergericht Paderborn HRB 3507 Geschäftsführer: Eckard Heidloff (Vorsitzender), Dr. Jürgen Wunram Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193 Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. This e-mail may contain confidential information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Re: Upload arbitrary directories to maven repositories
Would you not include them in a jar or assembly and upload that? Ron On 16/01/2013 12:00 PM, Kuehlert, Burkhard wrote: Hi, is it possible to upload arbitrary directories or filesets to maven repositories ? It seems to me, that artifacts have to be of type file and not directory. Is that right? Thanks Burkhard Kuehlert WINCOR NIXDORF International GmbH Sitz der Gesellschaft: Paderborn Registergericht Paderborn HRB 3507 Geschäftsführer: Eckard Heidloff (Vorsitzender), Dr. Jürgen Wunram Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193 Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. This e-mail may contain confidential information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Upload arbitrary directories to maven repositories
Perhaps this is what you want? http://mojo.codehaus.org/wagon-maven-plugin/merge-maven-repos-mojo.html On 1/16/13 11:00 AM, Kuehlert, Burkhard burkhard.kuehl...@wincor-nixdorf.com wrote: Hi, is it possible to upload arbitrary directories or filesets to maven repositories ? It seems to me, that artifacts have to be of type file and not directory. Is that right? Thanks Burkhard Kuehlert WINCOR NIXDORF International GmbH Sitz der Gesellschaft: Paderborn Registergericht Paderborn HRB 3507 Geschäftsführer: Eckard Heidloff (Vorsitzender), Dr. Jürgen Wunram Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193 Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. This e-mail may contain confidential information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Upload arbitrary directories to maven repositories
And you might want to answer: Why do you want to upload an arbitrary directory? You are probably straying from the Maven path doing this. You should be thinking in terms of artifacts generated by your projects. On 17 January 2013 07:48, Ron Wheeler rwhee...@artifact-software.com wrote: Would you not include them in a jar or assembly and upload that? Ron On 16/01/2013 12:00 PM, Kuehlert, Burkhard wrote: Hi, is it possible to upload arbitrary directories or filesets to maven repositories ? It seems to me, that artifacts have to be of type file and not directory. Is that right? Thanks Burkhard Kuehlert WINCOR NIXDORF International GmbH Sitz der Gesellschaft: Paderborn Registergericht Paderborn HRB 3507 Geschäftsführer: Eckard Heidloff (Vorsitzender), Dr. Jürgen Wunram Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193 Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. This e-mail may contain confidential information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 - 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
maven repositories(how to
Hi , I am using maven 3.0.3.how to configure maven official repository and my company remote repository. It is always connect to repo1 central repository.plz help me. mirror idrepository/id mirrorOf*,!repo1/mirrorOf nameConsRepo/name urlhttp://mycompany.com/repository/url /mirror mirror idrepo1/id mirrorOfexternal:*/mirrorOf namemaven2/name urlhttp://repo1.maven.org/maven2/url /mirror Plz help me Thanks Regards, shekarchandra -- View this message in context: http://maven.40175.n5.nabble.com/maven-repositories-how-to-tp5090872p5090872.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven repositories(how to
First of all, if you have a company repository you should probably talk to the people managing it about this. They should be able to provide support. Also, you relying on other repos than the internal one might not work in the big picture as other people consuming your artifacts will have to do that as well (although central should be one of the common ones). Secondly, your company internal repo should be a repo manager which should proxy Maven central (repo1) in a correct setup IMO. So you shouldn't need to add it. Again, talk to the people managing your repo. Lastly, Maven central is already declared as a repo in the super-POM (with the id 'central'). So it should be possible to accomplish by removing the second mirror element and changing the mirrorOf string of the first element to *,!central (quotes not included). This relies on this id not to change in the super-POM so it's not future proof though. This can be solved by re-declaration Maven central as a repo in settings.xml. But, once again, please talk to your internal repository staff first. /Anders On Wed, Dec 21, 2011 at 05:12, chandrasheker chandrasheke...@gmail.com wrote: Hi , I am using maven 3.0.3.how to configure maven official repository and my company remote repository. It is always connect to repo1 central repository.plz help me. mirror idrepository/id mirrorOf*,!repo1/mirrorOf nameConsRepo/name urlhttp://mycompany.com/repository/url /mirror mirror idrepo1/id mirrorOfexternal:*/mirrorOf namemaven2/name urlhttp://repo1.maven.org/maven2/url /mirror Plz help me Thanks Regards, shekarchandra -- View this message in context: http://maven.40175.n5.nabble.com/maven-repositories-how-to-tp5090872p5090872.html Sent from the Maven - Users mailing list archive at Nabble.com. - 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
Maven repositories without the jars
Hello. When I try to compile my software I get this errors : [WARNING] The artifact xerces:xerces:jar:2.4.0 has been relocated to xerces:xercesImpl:jar:2.4.0 Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar Downloading: http://repo1.maven.org/maven2/javax/resource/connector/1.0/connector-1.0.jar Downloading: http://repo1.maven.org/maven2/javax/naming/jndi/1.2.1/jndi-1.2.1.jar Downloading: http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar Downloading: http://repo1.maven.org/maven2/com/oracle/toplink/toplink/10.1.3/toplink-10.1.3.jar When I browse those urls I see that indeed the jar file does not exist, but pom and sha files exists. 1. So, what's the purpose to store those files without the jar ? 2. Do I have to manually download the jars from their right location ? Thank's a lot. - *Slitzweitz !! *
Re: Maven repositories without the jars
It means that this artifact used to be under the coordinates xerces:cerces, but is now using the coordinates xerces:xercesImpl. When the developers moved it, the created a so-called relocation pom in the old space, to simplify for the users. The build still works right? But you get this warning. You should update your pom(s) to use the new coordinates instead of the old ones. If it's in one of your dependencies, it's not very much you can do but to report this to the devs of the artifact with that dependency. /Anders On Thu, Jan 20, 2011 at 10:09, Jonathan Vila Lopez jonathan.v...@gmail.comwrote: Hello. When I try to compile my software I get this errors : [WARNING] The artifact xerces:xerces:jar:2.4.0 has been relocated to xerces:xercesImpl:jar:2.4.0 Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar Downloading: http://repo1.maven.org/maven2/javax/resource/connector/1.0/connector-1.0.jar Downloading: http://repo1.maven.org/maven2/javax/naming/jndi/1.2.1/jndi-1.2.1.jar Downloading: http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar Downloading: http://repo1.maven.org/maven2/com/oracle/toplink/toplink/10.1.3/toplink-10.1.3.jar When I browse those urls I see that indeed the jar file does not exist, but pom and sha files exists. 1. So, what's the purpose to store those files without the jar ? 2. Do I have to manually download the jars from their right location ? Thank's a lot. - *Slitzweitz !! *
Re: Maven repositories without the jars
I should clarify: Maven handles this relocation for you. But you should update the coordinates used for future versions there might not be a relocation pom. /Anders On Thu, Jan 20, 2011 at 11:13, Anders Hammar and...@hammar.net wrote: It means that this artifact used to be under the coordinates xerces:cerces, but is now using the coordinates xerces:xercesImpl. When the developers moved it, the created a so-called relocation pom in the old space, to simplify for the users. The build still works right? But you get this warning. You should update your pom(s) to use the new coordinates instead of the old ones. If it's in one of your dependencies, it's not very much you can do but to report this to the devs of the artifact with that dependency. /Anders On Thu, Jan 20, 2011 at 10:09, Jonathan Vila Lopez jonathan.v...@gmail.com wrote: Hello. When I try to compile my software I get this errors : [WARNING] The artifact xerces:xerces:jar:2.4.0 has been relocated to xerces:xercesImpl:jar:2.4.0 Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar Downloading: http://repo1.maven.org/maven2/javax/resource/connector/1.0/connector-1.0.jar Downloading: http://repo1.maven.org/maven2/javax/naming/jndi/1.2.1/jndi-1.2.1.jar Downloading: http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar Downloading: http://repo1.maven.org/maven2/com/oracle/toplink/toplink/10.1.3/toplink-10.1.3.jar When I browse those urls I see that indeed the jar file does not exist, but pom and sha files exists. 1. So, what's the purpose to store those files without the jar ? 2. Do I have to manually download the jars from their right location ? Thank's a lot. - *Slitzweitz !! *
Re: Maven repositories without the jars
Hello Anders There is no problem with xerces and its relocation the problem is that any downloading has downloaded anything : http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar http://repo1.maven.org/maven2/javax/resource/connector/1.0/connector-1.0.jar http://repo1.maven.org/maven2/javax/naming/jndi/1.2.1/jndi-1.2.1.jar http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar http://repo1.maven.org/maven2/com/oracle/toplink/toplink/10.1.3/toplink-10.1.3.jar because the referenced jar does not exist in the repo1 repository. - *Slitzweitz !! * On Thu, Jan 20, 2011 at 11:14 AM, Anders Hammar and...@hammar.net wrote: I should clarify: Maven handles this relocation for you. But you should update the coordinates used for future versions there might not be a relocation pom. /Anders On Thu, Jan 20, 2011 at 11:13, Anders Hammar and...@hammar.net wrote: It means that this artifact used to be under the coordinates xerces:cerces, but is now using the coordinates xerces:xercesImpl. When the developers moved it, the created a so-called relocation pom in the old space, to simplify for the users. The build still works right? But you get this warning. You should update your pom(s) to use the new coordinates instead of the old ones. If it's in one of your dependencies, it's not very much you can do but to report this to the devs of the artifact with that dependency. /Anders On Thu, Jan 20, 2011 at 10:09, Jonathan Vila Lopez jonathan.v...@gmail.com wrote: Hello. When I try to compile my software I get this errors : [WARNING] The artifact xerces:xerces:jar:2.4.0 has been relocated to xerces:xercesImpl:jar:2.4.0 Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar Downloading: http://repo1.maven.org/maven2/javax/resource/connector/1.0/connector-1.0.jar Downloading: http://repo1.maven.org/maven2/javax/naming/jndi/1.2.1/jndi-1.2.1.jar Downloading: http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar Downloading: http://repo1.maven.org/maven2/com/oracle/toplink/toplink/10.1.3/toplink-10.1.3.jar When I browse those urls I see that indeed the jar file does not exist, but pom and sha files exists. 1. So, what's the purpose to store those files without the jar ? 2. Do I have to manually download the jars from their right location ? Thank's a lot. - *Slitzweitz !! *
Re: Maven repositories without the jars
There is no problem with xerces and its relocation the problem is that any downloading has downloaded anything : because the referenced jar does not exist in the repo1 repository. http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Do Maven repositories block User-Agents?
Yes, wget does work against central. It is blocked (by central). /Anders On Tue, Jun 22, 2010 at 08:00, Akshay Dev Wankhede akshay.sys...@gmail.comwrote: Maven failed to resolve repo1.maven.org. I tried manually it resolves. To further dig into the matter I tried to hit the URL manually using Firefox: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0-alpha-4.pom It worked, then I tried to hit the same URL using wget, it threw 403 Forbidden: aks...@lap7:~$ wget 'http://repo1.maven.org/maven2/org/apache/maven/ plugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0- alpha-4.pomhttp://repo1.maven.org/maven2/org/apache/maven/%0Aplugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0-%0Aalpha-4.pom ' --11:19:54-- http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0-alpha-4.pom = `maven-archetype-plugin-2.0-alpha-4.pom' Resolving repo1.maven.org... 38.97.124.18 Connecting to repo1.maven.org|38.97.124.18|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 11:19:54 ERROR 403: Forbidden. What's going on? I don't sit behind fancy firewalls/proxies which can block traffic based on User-Agents/executable processes. Kindly suggest. -- Forwarded message -- From: David Pollak feeder.of.the.be...@gmail.com Date: Jun 16, 7:03 pm Subject: Cannot create Lift projects using Maven and Netbeans To: Lift Looks to me like Maven is unable to communicate with the main Maven repository. This could be for a number of reasons: - Your machine is not connected to the Internet - You are behind a firewall and your proxy settings are not set for Maven/NetBeans (I don't know how to set this) - The main Maven repository was offline On Wed, Jun 16, 2010 at 4:27 AM, Akshay Dev Wankhede akshay.sys...@gmail.com wrote: Tried to create Lift project in NetBeans following is the error: NetBeans: Executing '/home/akshay/opt/apache-maven-2.2.1/bin/mvn - DarchetypeVersion=RELEASE -Darchetype.interactive=false - DgroupId=com.radical -DarchetypeArtifactId=lift-archetype-basic - DarchetypeRepository=http://scala-tools.org/repo-releases- Dversion=1.0-SNAPSHOT -DarchetypeGroupId=net.liftweb - Darchetype.repository=http://scala-tools.org/repo-releases-Dbasedir=/ home/akshay/NetBeansProjects -Dpackage=com.radical.mavenproject1 - DartifactId=mavenproject1 -Dnetbeans.execution=true --batch-mode -- errors -e org.apache.maven.plugins:maven-archetype-plugin:2.0- alpha-4:generate' NetBeans: JAVA_HOME=/opt/jdk1.6.0_03/jre + Error stacktraces are turned on. Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetyp... [WARNING] Unable to get resource 'org.apache.maven.plugins:maven- archetype-plugin:pom:2.0-alpha-4' from repository central (http:// repo1.maven.org/maven2): Error transferring file: repo1.maven.org Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetyp... [WARNING] Unable to get resource 'org.apache.maven.plugins:maven- archetype-plugin:pom:2.0-alpha-4' from repository central (http:// repo1.maven.org/maven2): Error transferring file: repo1.maven.org [ERROR]BUILD ERROR Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-archetype-plugin Reason: POM 'org.apache.maven.plugins:maven-archetype-plugin' not found in repository: Unable to download the artifact from any repository org.apache.maven.plugins:maven-archetype-plugin:pom:2.0-alpha-4 from the specified remote repositories: central (http://repo1.maven.org/maven2) for project org.apache.maven.plugins:maven-archetype-plugin Trace org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build project for plugin 'org.apache.maven.plugins:maven-archetype- plugin': POM 'org.apache.maven.plugins:maven-archetype-plugin' not found in repository: Unable to download the artifact from any repository org.apache.maven.plugins:maven-archetype-plugin:pom:2.0-alpha-4 from the specified remote repositories: central (http://repo1.maven.org/maven2) for project org.apache.maven.plugins:maven-archetype-plugin at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java: 1557) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java: 1851) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java: 462) at
Re: Do Maven repositories block User-Agents?
Sorry, it should read wget does NOT work. /Anders On Tue, Jun 22, 2010 at 09:09, Anders Hammar and...@hammar.net wrote: Yes, wget does work against central. It is blocked (by central). /Anders On Tue, Jun 22, 2010 at 08:00, Akshay Dev Wankhede akshay.sys...@gmail.com wrote: Maven failed to resolve repo1.maven.org. I tried manually it resolves. To further dig into the matter I tried to hit the URL manually using Firefox: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0-alpha-4.pom It worked, then I tried to hit the same URL using wget, it threw 403 Forbidden: aks...@lap7:~$ wget 'http://repo1.maven.org/maven2/org/apache/maven/ plugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0- alpha-4.pomhttp://repo1.maven.org/maven2/org/apache/maven/%0Aplugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0-%0Aalpha-4.pom ' --11:19:54-- http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0-alpha-4.pom = `maven-archetype-plugin-2.0-alpha-4.pom' Resolving repo1.maven.org... 38.97.124.18 Connecting to repo1.maven.org|38.97.124.18|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 11:19:54 ERROR 403: Forbidden. What's going on? I don't sit behind fancy firewalls/proxies which can block traffic based on User-Agents/executable processes. Kindly suggest. -- Forwarded message -- From: David Pollak feeder.of.the.be...@gmail.com Date: Jun 16, 7:03 pm Subject: Cannot create Lift projects using Maven and Netbeans To: Lift Looks to me like Maven is unable to communicate with the main Maven repository. This could be for a number of reasons: - Your machine is not connected to the Internet - You are behind a firewall and your proxy settings are not set for Maven/NetBeans (I don't know how to set this) - The main Maven repository was offline On Wed, Jun 16, 2010 at 4:27 AM, Akshay Dev Wankhede akshay.sys...@gmail.com wrote: Tried to create Lift project in NetBeans following is the error: NetBeans: Executing '/home/akshay/opt/apache-maven-2.2.1/bin/mvn - DarchetypeVersion=RELEASE -Darchetype.interactive=false - DgroupId=com.radical -DarchetypeArtifactId=lift-archetype-basic - DarchetypeRepository=http://scala-tools.org/repo-releases- Dversion=1.0-SNAPSHOT -DarchetypeGroupId=net.liftweb - Darchetype.repository=http://scala-tools.org/repo-releases-Dbasedir=/ home/akshay/NetBeansProjects -Dpackage=com.radical.mavenproject1 - DartifactId=mavenproject1 -Dnetbeans.execution=true --batch-mode -- errors -e org.apache.maven.plugins:maven-archetype-plugin:2.0- alpha-4:generate' NetBeans: JAVA_HOME=/opt/jdk1.6.0_03/jre + Error stacktraces are turned on. Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetyp... [WARNING] Unable to get resource 'org.apache.maven.plugins:maven- archetype-plugin:pom:2.0-alpha-4' from repository central (http:// repo1.maven.org/maven2): Error transferring file: repo1.maven.org Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetyp... [WARNING] Unable to get resource 'org.apache.maven.plugins:maven- archetype-plugin:pom:2.0-alpha-4' from repository central (http:// repo1.maven.org/maven2): Error transferring file: repo1.maven.org [ERROR]BUILD ERROR Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-archetype-plugin Reason: POM 'org.apache.maven.plugins:maven-archetype-plugin' not found in repository: Unable to download the artifact from any repository org.apache.maven.plugins:maven-archetype-plugin:pom:2.0-alpha-4 from the specified remote repositories: central (http://repo1.maven.org/maven2) for project org.apache.maven.plugins:maven-archetype-plugin Trace org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build project for plugin 'org.apache.maven.plugins:maven-archetype- plugin': POM 'org.apache.maven.plugins:maven-archetype-plugin' not found in repository: Unable to download the artifact from any repository org.apache.maven.plugins:maven-archetype-plugin:pom:2.0-alpha-4 from the specified remote repositories: central (http://repo1.maven.org/maven2) for project org.apache.maven.plugins:maven-archetype-plugin at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java: 1557) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java: 1851) at
Do Maven repositories block User-Agents?
Maven failed to resolve repo1.maven.org. I tried manually it resolves. To further dig into the matter I tried to hit the URL manually using Firefox: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0-alpha-4.pom It worked, then I tried to hit the same URL using wget, it threw 403 Forbidden: aks...@lap7:~$ wget 'http://repo1.maven.org/maven2/org/apache/maven/ plugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0- alpha-4.pom' --11:19:54-- http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0-alpha-4.pom = `maven-archetype-plugin-2.0-alpha-4.pom' Resolving repo1.maven.org... 38.97.124.18 Connecting to repo1.maven.org|38.97.124.18|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 11:19:54 ERROR 403: Forbidden. What's going on? I don't sit behind fancy firewalls/proxies which can block traffic based on User-Agents/executable processes. Kindly suggest. -- Forwarded message -- From: David Pollak feeder.of.the.be...@gmail.com Date: Jun 16, 7:03 pm Subject: Cannot create Lift projects using Maven and Netbeans To: Lift Looks to me like Maven is unable to communicate with the main Maven repository. This could be for a number of reasons: - Your machine is not connected to the Internet - You are behind a firewall and your proxy settings are not set for Maven/NetBeans (I don't know how to set this) - The main Maven repository was offline On Wed, Jun 16, 2010 at 4:27 AM, Akshay Dev Wankhede akshay.sys...@gmail.com wrote: Tried to create Lift project in NetBeans following is the error: NetBeans: Executing '/home/akshay/opt/apache-maven-2.2.1/bin/mvn - DarchetypeVersion=RELEASE -Darchetype.interactive=false - DgroupId=com.radical -DarchetypeArtifactId=lift-archetype-basic - DarchetypeRepository=http://scala-tools.org/repo-releases- Dversion=1.0-SNAPSHOT -DarchetypeGroupId=net.liftweb - Darchetype.repository=http://scala-tools.org/repo-releases-Dbasedir=/ home/akshay/NetBeansProjects -Dpackage=com.radical.mavenproject1 - DartifactId=mavenproject1 -Dnetbeans.execution=true --batch-mode -- errors -e org.apache.maven.plugins:maven-archetype-plugin:2.0- alpha-4:generate' NetBeans: JAVA_HOME=/opt/jdk1.6.0_03/jre + Error stacktraces are turned on. Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetyp... [WARNING] Unable to get resource 'org.apache.maven.plugins:maven- archetype-plugin:pom:2.0-alpha-4' from repository central (http:// repo1.maven.org/maven2): Error transferring file: repo1.maven.org Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetyp... [WARNING] Unable to get resource 'org.apache.maven.plugins:maven- archetype-plugin:pom:2.0-alpha-4' from repository central (http:// repo1.maven.org/maven2): Error transferring file: repo1.maven.org [ERROR]BUILD ERROR Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-archetype-plugin Reason: POM 'org.apache.maven.plugins:maven-archetype-plugin' not found in repository: Unable to download the artifact from any repository org.apache.maven.plugins:maven-archetype-plugin:pom:2.0-alpha-4 from the specified remote repositories: central (http://repo1.maven.org/maven2) for project org.apache.maven.plugins:maven-archetype-plugin Trace org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build project for plugin 'org.apache.maven.plugins:maven-archetype- plugin': POM 'org.apache.maven.plugins:maven-archetype-plugin' not found in repository: Unable to download the artifact from any repository org.apache.maven.plugins:maven-archetype-plugin:pom:2.0-alpha-4 from the specified remote repositories: central (http://repo1.maven.org/maven2) for project org.apache.maven.plugins:maven-archetype-plugin at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java: 1557) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java: 1851) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java: 462) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java: 175) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at
Re: Settings.xml : Maven repositories releases, updatePolicy = utility
It should be ignored, it stems from the fact that both fields use the same modello object internally. On Tue, Dec 29, 2009 at 5:18 AM, fabrice.mercier1 beufm...@yahoo.fr wrote: hi I am wonder me the utility of the updatePolicy rule for releases repositories. I set i to always for snapshots repository but in my opinion updatePolicy for releases repo is not needed. Except if Maven works like nexus with a request cache ? Fabrice - http://old.nabble.com/file/u1297858/ft.gif Architect Almerys, activité santé d'Orange Business Services, TOULOUSE http://www.orange-business.com http://www.orange-business.com -- View this message in context: http://old.nabble.com/Settings.xml-%3A-Maven-repositories-releases%2C-updatePolicy-%3D%3E-utility-tp26952952p26952952.html Sent from the Maven - Users mailing list archive at Nabble.com. - 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: Settings.xml : Maven repositories releases, updatePolicy = utility
The update policy for releases isn't use to define when metadata are updated when you use a range for example ? On Friday, January 1, 2010, Brian Fox bri...@infinity.nu wrote: It should be ignored, it stems from the fact that both fields use the same modello object internally. On Tue, Dec 29, 2009 at 5:18 AM, fabrice.mercier1 beufm...@yahoo.fr wrote: hi I am wonder me the utility of the updatePolicy rule for releases repositories. I set i to always for snapshots repository but in my opinion updatePolicy for releases repo is not needed. Except if Maven works like nexus with a request cache ? Fabrice - http://old.nabble.com/file/u1297858/ft.gif Architect Almerys, activité santé d'Orange Business Services, TOULOUSE http://www.orange-business.com http://www.orange-business.com -- View this message in context: http://old.nabble.com/Settings.xml-%3A-Maven-repositories-releases%2C-updatePolicy-%3D%3E-utility-tp26952952p26952952.html Sent from the Maven - Users mailing list archive at Nabble.com. - 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 -- Arnaud Héritier Software Factory Manager eXo platform - http://www.exoplatform.com --- http://www.aheritier.net - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Settings.xml : Maven repositories releases, updatePolicy = utility
hi I am wonder me the utility of the updatePolicy rule for releases repositories. I set i to always for snapshots repository but in my opinion updatePolicy for releases repo is not needed. Except if Maven works like nexus with a request cache ? Fabrice - http://old.nabble.com/file/u1297858/ft.gif Architect Almerys, activité santé d'Orange Business Services, TOULOUSE http://www.orange-business.com http://www.orange-business.com -- View this message in context: http://old.nabble.com/Settings.xml-%3A-Maven-repositories-releases%2C-updatePolicy-%3D%3E-utility-tp26952952p26952952.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
How to deploy images onto internal maven repositories.
Hi, I need to have some image files on the maven repositories and so I have to deploy images onto internal maven repositories. I'm more concerned on what would be the packaging mode to deploy images onto maven repositories. Can any one please advise what would be the exact maven command to deploy images onto the maven repositories. Thanks Regards, Logu Rajamanickam - This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities.
Re: How to deploy images onto internal maven repositories.
On Fri, Nov 21, 2008 at 3:43 PM, [EMAIL PROTECTED] wrote: I need to have some image files on the maven repositories and so I have to deploy images onto internal maven repositories. I'm more concerned on what would be the packaging mode to deploy images onto maven repositories. It depends on how you want to use the images later. Without knowing any more, I would suggest packaging them in a jar and using the normal deploy/release mechanism. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to deploy images onto internal maven repositories.
try ant:copy example: ant:copy todir=targetFolder filtering=false overwrite=true ant:fileset dir=SourceFolder includes=*.jpg /ant:fileset /ant:copy HTH Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. To: users@maven.apache.org Subject: How to deploy images onto internal maven repositories. From: [EMAIL PROTECTED] Date: Fri, 21 Nov 2008 17:43:59 -0500 Hi, I need to have some image files on the maven repositories and so I have to deploy images onto internal maven repositories. I'm more concerned on what would be the packaging mode to deploy images onto maven repositories. Can any one please advise what would be the exact maven command to deploy images onto the maven repositories. Thanks Regards, Logu Rajamanickam - This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities. _ Access your email online and on the go with Windows Live Hotmail. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_access_112008
RE: Downloading Apache Maven Repositories : Proxy Workaround
Use Nexus as a local proxy/cache. You can download and run it out of the box with no config so it's the easiest and lightest instance to run on a local machine. Just hook up your Maven to it with a mirrorOf central (or *) and run your build ahead of time. This will populate Nexus with all the artifacts you need. You can then clear your local repository to show how Maven downloads the artifacts from central From: Edward Song [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 3:53 PM To: users@maven.apache.org Subject: Downloading Apache Maven Repositories : Proxy Workaround For demo purposes, I wanted to show the benefits of Apache Maven to a few others. There is a firewall and proxy over here that will not allow Maven to go get artifacts from the central maven repository and the networking guy will not provide the necessary authentication info to allow Maven to tunnel through the proxy. Is there a way to get an install of Maven which contains the latest artifact snapshots by default? Looking for a quick fix. Thanks in advance. Ed
RE: Downloading Apache Maven Repositories : Proxy Workaround
Thanks Wayne for your reply, They're super strict with their networking and only allow HTTP traffic through a firewall and the demo computer is onsite. So installs can only be done from an internal approved resource. Despite their tight restrictions, they have a manual build process, and need some way to demonstrate that loosening the restriction via Maven and Archiva, would be a good solution for them. My current plan is to use Archiva on a laptop and bring it in to the client site, which works great by the way. But this is an instance, where a build with the most up to date snapshots would be beneficial. I guess my query is, of installing an internal repository by default, without looking towards an external repository at all for the initial snapshots? Thanks, Edward Song -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 4:34 PM To: Maven Users List Subject: Re: Downloading Apache Maven Repositories : Proxy Workaround Just connect to the Maven repo before your demo and let it update. You may want to run with -o for offline so it doesn't try to update again during the demo. Or perhaps consider running Archiva locally (on the same laptop that you're demo'ing Maven with). That sounds easiest to me. You'll want to update Archiva before the demo, of course, but then you can delete ~/.m2/repository and show Maven auto-downloading from the Archiva repo etc. Wayne On 4/7/08, Edward Song [EMAIL PROTECTED] wrote: For demo purposes, I wanted to show the benefits of Apache Maven to a few others. There is a firewall and proxy over here that will not allow Maven to go get artifacts from the central maven repository and the networking guy will not provide the necessary authentication info to allow Maven to tunnel through the proxy. Is there a way to get an install of Maven which contains the latest artifact snapshots by default? Looking for a quick fix. Thanks in advance. Ed - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain confidential information that is legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify me by reply e-mail and destroy the original transmission and its attachments without reading or saving in any manner. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Downloading Apache Maven Repositories : Proxy Workaround
Well, for the record, this is the same with a default Archiva installation. Each to their own :) On 08/04/2008, Brian E. Fox [EMAIL PROTECTED] wrote: Use Nexus as a local proxy/cache. You can download and run it out of the box with no config so it's the easiest and lightest instance to run on a local machine. Just hook up your Maven to it with a mirrorOf central (or *) and run your build ahead of time. This will populate Nexus with all the artifacts you need. You can then clear your local repository to show how Maven downloads the artifacts from central From: Edward Song [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 3:53 PM To: users@maven.apache.org Subject: Downloading Apache Maven Repositories : Proxy Workaround For demo purposes, I wanted to show the benefits of Apache Maven to a few others. There is a firewall and proxy over here that will not allow Maven to go get artifacts from the central maven repository and the networking guy will not provide the necessary authentication info to allow Maven to tunnel through the proxy. Is there a way to get an install of Maven which contains the latest artifact snapshots by default? Looking for a quick fix. Thanks in advance. Ed -- Brett Porter Blog: http://blogs.exist.com/bporter/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Downloading Apache Maven Repositories : Proxy Workaround
Since you mentioned it, and I wasn't aware that there was a standalone archiva, I decided to check it out. Firing it up with no config, just adding an admin user uses up ~130MB of ram. A standalone default Nexus config is using only ~28. Artifactory is using about ~50mb. On a server this might not be important, but on a developer machine that could be significant. In fact I never thought much about it, but we are running the public nexus instance[1] that is hosting the proxy and repositories for our two CI systems and the M2eclipse build, with the JDK default of 64mb of ram. [1]http://repository.sonatype.org -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 08, 2008 10:02 AM To: Maven Users List Subject: Re: Downloading Apache Maven Repositories : Proxy Workaround Well, for the record, this is the same with a default Archiva installation. Each to their own :) On 08/04/2008, Brian E. Fox [EMAIL PROTECTED] wrote: Use Nexus as a local proxy/cache. You can download and run it out of the box with no config so it's the easiest and lightest instance to run on a local machine. Just hook up your Maven to it with a mirrorOf central (or *) and run your build ahead of time. This will populate Nexus with all the artifacts you need. You can then clear your local repository to show how Maven downloads the artifacts from central From: Edward Song [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 3:53 PM To: users@maven.apache.org Subject: Downloading Apache Maven Repositories : Proxy Workaround For demo purposes, I wanted to show the benefits of Apache Maven to a few others. There is a firewall and proxy over here that will not allow Maven to go get artifacts from the central maven repository and the networking guy will not provide the necessary authentication info to allow Maven to tunnel through the proxy. Is there a way to get an install of Maven which contains the latest artifact snapshots by default? Looking for a quick fix. Thanks in advance. Ed -- Brett Porter Blog: http://blogs.exist.com/bporter/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Downloading Apache Maven Repositories : Proxy Workaround
On 09/04/2008, Brian E. Fox [EMAIL PROTECTED] wrote: Since you mentioned it, and I wasn't aware that there was a standalone archiva, I decided to check it out. Firing it up with no config, just adding an admin user uses up ~130MB of ram. A standalone default Nexus config is using only ~28. Artifactory is using about ~50mb. On a server this might not be important, but on a developer machine that could be significant. In fact I never thought much about it, but we are running the public nexus instance[1] that is hosting the proxy and repositories for our two CI systems and the M2eclipse build, with the JDK default of 64mb of ram. Not really the right forum to debate such a thing, but I question your results since I run with -Xmx64m in the wrapper also, continuously on my macbook. It's true that the use of JSP and the default of Derby incurs some overhead which is why I expect that Archiva's figures are closer to that of Artifactory's. - Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Downloading Apache Maven Repositories : Proxy Workaround
For demo purposes, I wanted to show the benefits of Apache Maven to a few others. There is a firewall and proxy over here that will not allow Maven to go get artifacts from the central maven repository and the networking guy will not provide the necessary authentication info to allow Maven to tunnel through the proxy. Is there a way to get an install of Maven which contains the latest artifact snapshots by default? Looking for a quick fix. Thanks in advance. Ed This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain confidential information that is legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify me by reply e-mail and destroy the original transmission and its attachments without reading or saving in any manner. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Downloading Apache Maven Repositories : Proxy Workaround
Just connect to the Maven repo before your demo and let it update. You may want to run with -o for offline so it doesn't try to update again during the demo. Or perhaps consider running Archiva locally (on the same laptop that you're demo'ing Maven with). That sounds easiest to me. You'll want to update Archiva before the demo, of course, but then you can delete ~/.m2/repository and show Maven auto-downloading from the Archiva repo etc. Wayne On 4/7/08, Edward Song [EMAIL PROTECTED] wrote: For demo purposes, I wanted to show the benefits of Apache Maven to a few others. There is a firewall and proxy over here that will not allow Maven to go get artifacts from the central maven repository and the networking guy will not provide the necessary authentication info to allow Maven to tunnel through the proxy. Is there a way to get an install of Maven which contains the latest artifact snapshots by default? Looking for a quick fix. Thanks in advance. Ed - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: No OSGi APIs in Maven repositories
I am sorry; I did not check correctly. I see them in m2 repository, but the groupId is still org.apache.felix. Should such standard artifact not be available with a vendor neutral groupId? Thanks, Sahoo Sahoo wrote: [posting to both felix and maven user forums] Hi, I don't seem to find OSGi API jars in standard Maven repositories. I find a version in http://people.apache.org/repo/m2-incubating-repository/ under the groupId org.apache.felix. But, I was expecting to find these standard APIs in the standard repository with a vendor neutral groupId artifactId. Thanks, Sahoo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
No OSGi APIs in Maven repositories
[posting to both felix and maven user forums] Hi, I don't seem to find OSGi API jars in standard Maven repositories. I find a version in http://people.apache.org/repo/m2-incubating-repository/ under the groupId org.apache.felix. But, I was expecting to find these standard APIs in the standard repository with a vendor neutral groupId artifactId. Thanks, Sahoo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: No OSGi APIs in Maven repositories
On 13/01/2008, Sahoo [EMAIL PROTECTED] wrote: I am sorry; I did not check correctly. I see them in m2 repository, but the groupId is still org.apache.felix. Should such standard artifact not be available with a vendor neutral groupId? you mean like: http://repo1.maven.org/maven2/org/osgi which contains the R4 core and compendium API artifacts... Thanks, Sahoo Sahoo wrote: [posting to both felix and maven user forums] Hi, I don't seem to find OSGi API jars in standard Maven repositories. I find a version in http://people.apache.org/repo/m2-incubating-repository/ under the groupId org.apache.felix. But, I was expecting to find these standard APIs in the standard repository with a vendor neutral groupId artifactId. Thanks, Sahoo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cheers, Stuart
Re: No OSGi APIs in Maven repositories
Stuart McCulloch wrote: On 13/01/2008, Sahoo [EMAIL PROTECTED] wrote: I am sorry; I did not check correctly. I see them in m2 repository, but the groupId is still org.apache.felix. Should such standard artifact not be available with a vendor neutral groupId? you mean like: http://repo1.maven.org/maven2/org/osgi which contains the R4 core and compendium API artifacts... Yes, that was what I was looking for. Thank you. Sahoo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven Repositories acess / servers / signon specs in settings.xml
Hi, Here are 2 questions about Maven Internal Repositories implementation, and protocols that can be used. (because of unclear doc - imo - about repositories, wagon, and settings.xml (id/user/pwd) ) statement 1 (before question 1) From what I've read on wagon's site (http://maven.apache.org/wagon/), it is possible for maven repository access to use: * File (download/upload) * HTTP (download only) * HTTP lightweight (download only) * FTP (download/upload) * SSH/SCP (upload only / download not fully tested) * WebDAV (upload only / download not fully tested) * SCM (in progress) question 1: is this information up to date ? statement 2 (before question 2) Until now, I've used Maven (internal) repositories with file system access (file://) for download and upload. This is no problem... everything works fine :-) Now, I am in the process of implementing our internal repositories on Unix server, and securing these repositories, without using (at this time) any repository manager (archiva, artifactory, ...) I want to use something very very reliable: therefore, giving that we have to put the repositories on unix server and we want to access them from windows and unix maven clients the following solution seems appropriate: = for artifacts download, use an http server = for artifacts upload, use an ftp server (or a webdav server) regarding the repository definitions, our corporate pom should look like: distributionManagement repository idinternalDeploy/id name company released artifacts /name urlftp://mvnftpserver/maven2repository/url /repository ... repositories repository idinternalShared/id name company released artifacts /name urlurlhttp://www.mvn-server.com/maven2repository/url /repository ... when it gets to security, the Security and Deployment Settings doc (http://maven.apache.org/guides/mini/guide-deployment-security-settings.html) is not really clear: Before its given example, it states: As of the first release, only SCP deployments and file deployments are supported by default, so only the following SCP configuration is needed: ... on the other hand, latest Maven book gives an example with ftp. so .. question 2: If both servers need a signon (possibly with different user/password ) will it be ok to have for Maven users the following settings.xml : server idinternalDeploy/id usernameftp_user/username passwordblabla/password /server server idinternalShared/id usernameuser_xyz/username passwordblabla/password /server and more generally what is the usage scope of the server ... /server specs in settings.xml ? Thanks for any additionnal info, Christian-Luc -- View this message in context: http://www.nabble.com/Maven-Repositories-acess---servers---signon-specs-in-settings.xml-tf4568000s177.html#a13037401 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Repositories acess / servers / signon specs in settings.xml
Hello, 2007/10/4, houzecl [EMAIL PROTECTED]: question 2: If both servers need a signon (possibly with different user/password ) will it be ok to have for Maven users the following settings.xml : and more generally what is the usage scope of the server ... /server specs in settings.xml ? http://maven.apache.org/ref/2.0.7/maven-settings/settings.html Damien Lecan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Repositories acess / servers / signon specs in settings.xml
well, I already looked at settings reference. As it is pointed out somewhere else in this forum (cf. why maven is hard or improving maven site docs) among others topics, this specific feature (security) is not really clear, and I'd just like to have a confirmation that server settings apply to any repository server (wether it is ftp, http, webdav,...) before setting up all of it. Regarding documentation issues, in the settings reference one can find for the server element: ... configuration: Extra configuration for the transport layer. id: No description. I am not sure that No description or extra configuration for the transport layer is really helpful. Also, I forgot about build extensions. Maven site doc states: To publish to the repository, you will need to have access via one of SCP, SFTP, FTP, WebDAV, or the filesystem. Connectivity is accomplished with the various wagons . Some wagons may need to be added as extension to your build. Then if you jump to extension, it states: Describes a build extension to utilise. Element Description groupId The group ID of the extension's artifact. artifactId The artifact ID of the extension. version The version of the extension. Well, i'm not sure this really helps. So let's go to the book Maven: The Definitive Guide. Fortunately, here it says an extension is needed for transport others than (file and http) and gives an example for FTP. Okay, now I know that i'll need extensions for ftp or webdav. What will be the impact of these extensions, when I'll have to initialize my repositories with some manual deployments ? For this, Maven site (http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html) states: First, the wagon-provider(wagon-ftp, wagon-file, etc..) must be placed to your %M2_HOME%/lib. but some more google search will take me to: http://docs.codehaus.org/display/MAVENUSER/Deploying+3rd+Party+Jars+With+WebDAV, or http://maven.apache.org/plugins/maven-deploy-plugin/faq.html#question Plus, there is nothing about each respective wagon-provider within the wagon site. Which link should I trust ? How do I know exactly which jars are really needed ? Please, forgive me if I look pushy. I am very grateful for all Maven's developers work and anwers people are giving in this forum. It's just not that easy to get reliable and appropriate information, probably because Maven (by its extensible plugin nature) explodes it. Damien Lecan 2 wrote: Hello, 2007/10/4, houzecl [EMAIL PROTECTED]: question 2: If both servers need a signon (possibly with different user/password ) will it be ok to have for Maven users the following settings.xml : and more generally what is the usage scope of the server ... /server specs in settings.xml ? http://maven.apache.org/ref/2.0.7/maven-settings/settings.html Damien Lecan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Maven-Repositories-acess---servers---signon-specs-in-settings.xml-tf4568000s177.html#a13040892 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: software bundles and maven repositories
Thanks a lot for your replies. This solved my problem. This is what we did. We've added JAXP 1.3.2 to our internal repo using the following POM (by executing 'mvn deploy'): ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdjavax.xml/groupId artifactIdjaxp/artifactId version1.3.2/version namejaxp bundle/name descriptionplaceholder for software bundle JAXP/description packagingpom/packaging dependencies dependency groupIdorg.w3c.dom/groupId artifactIddom/artifactId version2.5.2/version /dependency dependency groupIdjavax.xml.parsers/groupId artifactIdjaxp-api/artifactId version1.3.2/version /dependency dependency groupIdsax/groupId artifactIdsax/artifactId version2.0.1/version /dependency dependency groupIdxalan/groupId artifactIdxalan/artifactId version2.5.2/version /dependency dependency groupIdxerces/groupId artifactIdxercesImpl/artifactId version2.5.2/version /dependency /dependencies distributionManagement repository idcentral/id nameour internal company repository/name urlfile:///\\ourRepoServer/url /repository /distributionManagement /project This seems to work fine when using it in other projects, don't forget the to mention the dependency type: dependency groupIdjavax.xml/groupId artifactIdjaxp/artifactId version1.3.2/version typepom/type /dependency
software bundles and maven repositories
Hello, what does Maven2 recommend when you have projects that depend on software bundles à la JAXP, JWSDP, ... or others? In general these software bundles are a collection of other libraries (eg JAXP 1.3 contains version X of xercesImpl, version Y of xalan,..). So how do you define a dependency to those packages, or how do you add them to your internal repository? I don't seem to find these packages (I'm especially looking for JAXP 1.3 at this moment) on the public repositories. I assume there are a lot of people out there who have encountered these questions before. Our internal repository already contains some of the jaxp dependencies. So I was thinking about adding a POM for jaxp version 1.3 that uses that links to the correct versions of the other libraries. I assume that this should do the job correctly? Any feedback would be greatly appreciated.
Re: software bundles and maven repositories
bundles are usually a bad idea because conflict with dependencies needed by other projects jaxp 1.4 is in http://repo1.maven.org/maven2/javax/xml/parsers/jaxp-api/1.4/ and Sun's reference implementation in http://repo1.maven.org/maven2/com/sun/xml/parsers/jaxp-ri/1.4/ On 2/19/07, Erik Ruisma [EMAIL PROTECTED] wrote: Hello, what does Maven2 recommend when you have projects that depend on software bundles à la JAXP, JWSDP, ... or others? In general these software bundles are a collection of other libraries (eg JAXP 1.3 contains version X of xercesImpl, version Y of xalan,..). So how do you define a dependency to those packages, or how do you add them to your internal repository? I don't seem to find these packages (I'm especially looking for JAXP 1.3 at this moment) on the public repositories. I assume there are a lot of people out there who have encountered these questions before. Our internal repository already contains some of the jaxp dependencies. So I was thinking about adding a POM for jaxp version 1.3 that uses that links to the correct versions of the other libraries. I assume that this should do the job correctly? Any feedback would be greatly appreciated. -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: software bundles and maven repositories
You could make your own bundle pom by creating a new pom with packaging pom and specify the dependencies/libraries used by JWSDP etc. So you would make your own JWSDP v 1.4, 1.6, 2.0 etc poms with the proper dependencies declared and then deploy those poms to your internal corporate repo, and other developers in your company could depend on those poms to pull in all the proper libraries you need etc. Wayne On 2/19/07, Carlos Sanchez [EMAIL PROTECTED] wrote: bundles are usually a bad idea because conflict with dependencies needed by other projects jaxp 1.4 is in http://repo1.maven.org/maven2/javax/xml/parsers/jaxp-api/1.4/ and Sun's reference implementation in http://repo1.maven.org/maven2/com/sun/xml/parsers/jaxp-ri/1.4/ On 2/19/07, Erik Ruisma [EMAIL PROTECTED] wrote: Hello, what does Maven2 recommend when you have projects that depend on software bundles à la JAXP, JWSDP, ... or others? In general these software bundles are a collection of other libraries (eg JAXP 1.3 contains version X of xercesImpl, version Y of xalan,..). So how do you define a dependency to those packages, or how do you add them to your internal repository? I don't seem to find these packages (I'm especially looking for JAXP 1.3 at this moment) on the public repositories. I assume there are a lot of people out there who have encountered these questions before. Our internal repository already contains some of the jaxp dependencies. So I was thinking about adding a POM for jaxp version 1.3 that uses that links to the correct versions of the other libraries. I assume that this should do the job correctly? Any feedback would be greatly appreciated. -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven repositories: metadata vs pom files?
Hello, Does Maven2 need a pom file in repository to download a jar from there? After examining the repositories' contents it seems that some jars are provided with both pom and metadata files while others only contain metadata files. Specifically, if I have this dependency in my project: dependency groupIdcom.sun.xml.bind/groupId artifactIdjaxb-libs/artifactId version1.0.6/version /dependency mvn compile generates the following message: Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-libs/1.0.6/jaxb-libs-1.0.6.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) When I visit the url I can see the jar and metadata files but no pom. Why is that? Do I need to manually install such a jar in my local repository in order to use it? Thanks, Victor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven repositories: metadata vs pom files?
On 11/20/06, Wayne Fay [EMAIL PROTECTED] wrote: This isn't a case of repo has pom but no jar, instead its the opposite, jar with no pom. So I don't think its an artifact which cannot be redistributed. ;-) Oops. Not quite paying enough attention there. :) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Maven repositories confusion
Hi. I'm struggling to understand how Maven manages its list of repositories. If I take a repository out of the repositories section of my pom.xml, Maven doesn't necessarily start using that repository. I'm using Maven 2.0.4 For example, I have a pom.xml for a project that depends on ActiveMQ. Right now, it has no repositories block, so I expect Maven to use my local repository and the central repo. Instead, I get this: Error transferring file org.apache.activemq:activemq-web:jar:4.1-incubator-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), apache.incubating.releases (http://people.apache.org/repo/m2-incubating-repository) Path to dependency: 1) com.mycompany.myproject:basic-demo:jar:1.0-SNAPSHOT 2) org.apache.activemq:apache-activemq:jar:4.1-incubator-SNAPSHOT 3) org.apache.activemq:activemq-web:jar:4.1-incubator-SNAPSHOT Caused by I/O exception: Server returned HTTP response code: 503 for URL: http:/ /people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-we b/4.1-incubator-SNAPSHOT/activemq-web-4.1-incubator-SNAPSHOT.jar I know that people.apache.org is down, so I don't want to use it. The two repositories there were once in my pom.xml's repositories section, but I took them out because I wanted to avoid trying to hit that site. Can someone explain why Maven keeps trying to use repositories after I remove them from my pom.xml? Is there a way to make Maven stop using those repositories? I've already checked that there is no mention of these repositories in my settings.xml (local or global versions). -Beth -- View this message in context: http://www.nabble.com/-m2--Maven-repositories-confusion-tf2502246.html#a6975719 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Maven repositories confusion
Search the poms in your ~/.m2 directory for those repositories. I'd expect you've got an old version of this project's pom installed in your repo with those repositories declared, or they're declared in one of your SNAPSHOT artifacts. Wayne On 10/24/06, Blinker [EMAIL PROTECTED] wrote: Hi. I'm struggling to understand how Maven manages its list of repositories. If I take a repository out of the repositories section of my pom.xml, Maven doesn't necessarily start using that repository. I'm using Maven 2.0.4 For example, I have a pom.xml for a project that depends on ActiveMQ. Right now, it has no repositories block, so I expect Maven to use my local repository and the central repo. Instead, I get this: Error transferring file org.apache.activemq:activemq-web:jar:4.1-incubator-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), apache.incubating.releases (http://people.apache.org/repo/m2-incubating-repository) Path to dependency: 1) com.mycompany.myproject:basic-demo:jar:1.0-SNAPSHOT 2) org.apache.activemq:apache-activemq:jar:4.1-incubator-SNAPSHOT 3) org.apache.activemq:activemq-web:jar:4.1-incubator-SNAPSHOT Caused by I/O exception: Server returned HTTP response code: 503 for URL: http:/ /people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-we b/4.1-incubator-SNAPSHOT/activemq-web-4.1-incubator-SNAPSHOT.jar I know that people.apache.org is down, so I don't want to use it. The two repositories there were once in my pom.xml's repositories section, but I took them out because I wanted to avoid trying to hit that site. Can someone explain why Maven keeps trying to use repositories after I remove them from my pom.xml? Is there a way to make Maven stop using those repositories? I've already checked that there is no mention of these repositories in my settings.xml (local or global versions). -Beth -- View this message in context: http://www.nabble.com/-m2--Maven-repositories-confusion-tf2502246.html#a6975719 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Branch builds and Maven repositories
Hi everyone. I appreciate everyone's help on my previous questions, and I hope that I may receive some assistance on the following questions. We are going to have major release branches, minor release branches, and specialized branches, so we are going to have 3 levels of branching. How should we set up the Maven repository(ies) for this kind of environment? Should we have 1 central Maven repository and a folder in this repository for every type of branch build, or should it be based on build and target environment? Also, what kind of naming conventions should we give to our generated binaries, in the terms of should we include the branch information in the version of the generated artifact? I am confident that there is someone out there who has faced a similar situation before, and I would like to thank you in advance for any help or references given. Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
Re: Branch builds and Maven repositories
Actually, according to the last paragraph of your message, I am prohibited from replying to it since that would be an action I am taking. I don't have a really good answer and am looking forward to seeing what someone else says. We are using the version numbering to identify the branching. So our mainline is now 2.0-SNAPSHOT while our first released version was 1.0. Then we branched a 1.1-SNAPSHOT which got released to test as 1.1.0.1 through 1.1.0.23 before turning into 1.1. (I don't know why I'm using the third number place with the test releases numberd in the fourth place. It must have seemed like a good idea at the time.) The local repo just ends up getting all the versions that we give real numbers. Our app is organized such that all the differs between environments is a pair of configuration files. To back up we have to extract the right config files from SVN. I doubt that helps you much. -- Lee On 9/19/06, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: Hi everyone. I appreciate everyone's help on my previous questions, and I hope that I may receive some assistance on the following questions. We are going to have major release branches, minor release branches, and specialized branches, so we are going to have 3 levels of branching. How should we set up the Maven repository(ies) for this kind of environment? Should we have 1 central Maven repository and a folder in this repository for every type of branch build, or should it be based on build and target environment? Also, what kind of naming conventions should we give to our generated binaries, in the terms of should we include the branch information in the version of the generated artifact? I am confident that there is someone out there who has faced a similar situation before, and I would like to thank you in advance for any help or references given. Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- -- Lee Meador Sent from gmail. My real email address is lee AT leemeador.com
Re: maven repositories https
Douglas Ferguson wrote: My IT department just started requiring my repository to use https. However they didnt install a signed cert. Maven is now failing with the error: Error transferring file Could this be because the cert isnt signed? Is there anything else that I need to consider when using https for the repository url? Good day to you, Douglas, I think you have to specify the following in your {M2_HOME}\conf\settings.xml server id.../id username.../username password.../password /server Cheers, Franz -- View this message in context: http://www.nabble.com/maven-repositories---https-tf2269481.html#a6305623 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: maven repositories https
I ended up using scp:// because I couldn't get anything to work over https:// However, I was unable to define multiple repositories using the same id So they could share the server user pass. When you have the same id the first one wins and the others aren't picked up. Using the same id works if they are in separate lists, i.e. dependency management:repositories, dependency management:snapshotrepositories, repositories But when you put them in the same list (i.e. all in repositories then it don't work) D- -Original Message- From: franz see [mailto:[EMAIL PROTECTED] Sent: Thursday, September 14, 2006 8:14 AM To: users@maven.apache.org Subject: Re: maven repositories https Douglas Ferguson wrote: My IT department just started requiring my repository to use https. However they didn_t install a signed cert. Maven is now failing with the error: Error transferring file Could this be because the cert isn_t signed? Is there anything else that I need to consider when using https for the repository url? Good day to you, Douglas, I think you have to specify the following in your {M2_HOME}\conf\settings.xml server id.../id username.../username password.../password /server Cheers, Franz -- View this message in context: http://www.nabble.com/maven-repositories---https-tf2269481.html#a6305623 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven repositories https
My IT department just started requiring my repository to use https. However they didnt install a signed cert. Maven is now failing with the error: Error transferring file Could this be because the cert isnt signed? Is there anything else that I need to consider when using https for the repository url?
RE: maven repositories https
Not sure if this is the recommended approach but I got it to work by using scp:// -Original Message- From: Douglas Ferguson Sent: Wednesday, September 13, 2006 10:51 PM To: users Subject: maven repositories https My IT department just started requiring my repository to use https. However they didnt install a signed cert. Maven is now failing with the error: Error transferring file Could this be because the cert isnt signed? Is there anything else that I need to consider when using https for the repository url? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven repositories
Hi, regarding your mail http://www.mail-archive.com/users@maven.apache.org/msg22668.html on the maven users list. Is there a way (with maven1) to generate html and pdf javadoc for the same project? Can I invoke the javadoc:generate goal from a maven.xml with different property sets? Thanks for your help, Andreas Ebbert-Karroum Software Design Engineer - Nokia Networks Services / Middleware phone: +49-211-94123928, fax: +49-211-94123838 Heltorfer Straße 1, 40472 Düsseldorf, Germany This message is confidential. If you have received this message in error, please delete it from your system. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and therefore Nokia GmbH does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. Thank you. Nokia GmbH, Nokia Networks is a German Company. Further information about the Company is available from its principal offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/
Re: maven repositories
You've asked 2 different questions here. 1) You request an easier way to download dependent files from a Maven repository than listing them as dependencies in a POM. 2) You want to know how to share downloaded dependencies with other developers at your location. Regarding 1, Dan Tran suggested that you could use ant:wget to download artifacts. I often look at the repository on Ibiblio, or at some of the others, there's 1 at Apache and 1 at CodeHaus with my web browser and download the files that I want. Does that actually answer your question? Regarding 2, you want to know how to share files that you download with others at your location. Normally that requires some infrastructure. The general solution is to configure a machine to act as a local maven.repo.remote, so that all Maven requests go through it, and it caches any artifacts that are downloaded. There is an existing project named maven-proxy at Codehaus that can do this for you. Regarding your ideas about modifying the behavior of the maven-javadoc-plugin, you don't need to override the javadoc goal using Jelly script in your maven.xml file. If you look at the documentation for the plugin, you'll see that it provides a property maven.javadoc.doclet that you can use to specify the doclet. http://maven.apache.org/reference/plugins/javadoc/properties.html Hope that this helps. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven repositories
Is there a way to easier download jars from the repository without having to list it as a dependency in a project? In my case, I want to modify the maven.xml file and override the javadoc goal to also build a PDF of the javadocs using pdfdoclet. Though, somehow I need to be able to download that file from the repository so that when others build locally on their build that they do not need to know how to manually copy it to their local repository. Ideas? Thanks, Tim Dyck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven repositories
ant:wget? -D On 8/25/05, Tim Dyck [EMAIL PROTECTED] wrote: Is there a way to easier download jars from the repository without having to list it as a dependency in a project? In my case, I want to modify the maven.xml file and override the javadoc goal to also build a PDF of the javadocs using pdfdoclet. Though, somehow I need to be able to download that file from the repository so that when others build locally on their build that they do not need to know how to manually copy it to their local repository. Ideas? Thanks, Tim Dyck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven repositories?
Hey, Is there any way to browse the repository at ibiblio.org to see if a particular component/library is installed there? What about alternative repositories? Thanks! Jonathan Hawkes
RE: Maven repositories?
You can point your browser to http://www.ibiblio.org/maven and you'll get a directory listing of all the artifacts main directories (groupId). -Original Message- From: Jonathan Hawkes [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 9:18 AM To: [EMAIL PROTECTED] Subject: Maven repositories? Hey, Is there any way to browse the repository at ibiblio.org to see if a particular component/library is installed there? What about alternative repositories? Thanks! Jonathan Hawkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven repositories?
Thanks again. - Original Message - From: Steve Garcia [EMAIL PROTECTED] To: 'Maven Users List' [EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 10:16 AM Subject: RE: Maven repositories? You can point your browser to http://www.ibiblio.org/maven and you'll get a directory listing of all the artifacts main directories (groupId). -Original Message- From: Jonathan Hawkes [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 9:18 AM To: [EMAIL PROTECTED] Subject: Maven repositories? Hey, Is there any way to browse the repository at ibiblio.org to see if a particular component/library is installed there? What about alternative repositories? Thanks! Jonathan Hawkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven repositories?
Hi Jonathan Sure, using a web browser ;) http://www.ibiblio.org/maven/ Or by adding your jar description and version in your project file. By calling maven java:compile, you'll get the error message if the desired jar is missing. Eric. -Original Message- From: Jonathan Hawkes [mailto:[EMAIL PROTECTED] Sent: December 23, 2003 12:18 PM To: [EMAIL PROTECTED] Subject: Maven repositories? Hey, Is there any way to browse the repository at ibiblio.org to see if a particular component/library is installed there? What about alternative repositories? Thanks! Jonathan Hawkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]