Re: central repo?
Hi, i would appreciate the old state as well... +1 from me too... Just accessing http://repo1.maven.org/maven2/org/apache/ to see what 's there without SEARCH engine...proxy checking etc. If i like to use it the behavior before was: Just use search.maven.org ...was perfect... Kind regards Karl Heinz Marbaise - Kind regards Karl Heinz Marbaise http://www.soebes.de http://www.skmwiki.de http://supose.org/wiki/supose -- View this message in context: http://maven.40175.n5.nabble.com/central-repo-tp4371264p4372291.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: central repo?
Karl Heinz Marbaise wrote: Hi, i would appreciate the old state as well... +1 from me too... Just accessing http://repo1.maven.org/maven2/org/apache/ to see what 's there without SEARCH engine...proxy checking etc. If i like to use it the behavior before was: Just use search.maven.org ...was perfect... +1 - Jörg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: central repo?
This was an attempt to block the constant scrapers that are attempting to crawl the entire repository for no good reason, and the bandwidth isn't free. The index used to serve the search is not the same index used by M2e. Fwiw, the m2e indexes are updated daily now, but I need to see why this index was out of date. Regardless, we'll go back to the drawing board and see how to make this less of a hurdle, while still interrupting the scrapers. On Wed, May 4, 2011 at 6:27 PM, Nord, James jn...@nds.com wrote: That doesn't browse the repo it browses what it thinks is the repo (or the index...) e.g. there is no org.eclipse.tycho but there is Also which repo does it think that is - the UK mirror whuch may or may not be updated with the latest deployment??!? http://repo1.maven.org/maven2/org/eclipse/tycho/tycho-maven-plugin/maven-metadata.xml (is ok) there is no org/eclipse/tycho according to http://search.maven.org/#browse%7C1428323731 /James - ie let me see the real think not the index that is wrong most of the time -Original Message- From: Arnaud Héritier [mailto:aherit...@gmail.com] Sent: 04 May 2011 23:24 To: Maven Users List Subject: Re: central repo? Hi, You can continue to browse the repository from here : http://search.maven.org/#browse%7C47 Is it what you searched ? Arnaud On Thu, May 5, 2011 at 12:09 AM, Nord, James jn...@nds.com wrote: Hi all, What happened recently to the central repos and their mirrors (uk). When I try to browse I now get redirected to search.maven.org which is not a good thing when trying to work out why something isn't working as expected when proxied via a repo manager. Also I guess these searches run of the index - but as far as I have always been led to believe the indexes are correct on Sunday only, and don't help when the metadata is incorrect. How can I get back to the old bog standard directory listings produced by the web server? /james ** This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00 ** - 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: central repo?
Regarding the m2e indexes, at what time are they updated? /Anders On Thu, May 5, 2011 at 13:06, Brian Fox bri...@infinity.nu wrote: This was an attempt to block the constant scrapers that are attempting to crawl the entire repository for no good reason, and the bandwidth isn't free. The index used to serve the search is not the same index used by M2e. Fwiw, the m2e indexes are updated daily now, but I need to see why this index was out of date. Regardless, we'll go back to the drawing board and see how to make this less of a hurdle, while still interrupting the scrapers. On Wed, May 4, 2011 at 6:27 PM, Nord, James jn...@nds.com wrote: That doesn't browse the repo it browses what it thinks is the repo (or the index...) e.g. there is no org.eclipse.tycho but there is Also which repo does it think that is - the UK mirror whuch may or may not be updated with the latest deployment??!? http://repo1.maven.org/maven2/org/eclipse/tycho/tycho-maven-plugin/maven-metadata.xml(is ok) there is no org/eclipse/tycho according to http://search.maven.org/#browse%7C1428323731 /James - ie let me see the real think not the index that is wrong most of the time -Original Message- From: Arnaud Héritier [mailto:aherit...@gmail.com] Sent: 04 May 2011 23:24 To: Maven Users List Subject: Re: central repo? Hi, You can continue to browse the repository from here : http://search.maven.org/#browse%7C47 Is it what you searched ? Arnaud On Thu, May 5, 2011 at 12:09 AM, Nord, James jn...@nds.com wrote: Hi all, What happened recently to the central repos and their mirrors (uk). When I try to browse I now get redirected to search.maven.org which is not a good thing when trying to work out why something isn't working as expected when proxied via a repo manager. Also I guess these searches run of the index - but as far as I have always been led to believe the indexes are correct on Sunday only, and don't help when the metadata is incorrect. How can I get back to the old bog standard directory listings produced by the web server? /james ** This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00 ** - 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: central repo?
Hi Brian, I understand the reasons and I'm all for it - but there needs to be a way to easily diagnose issues for people that look after maven proxies (such as a corporate nexus instance) when there are issues with artifacts. The old http directory listings enabled just that. Apart from the above I actually liked search.m.o and was impressed by its speed (seemed quicker than nexus when searching!). OT: when you download an artifact from search.m.o does it give you your local mirror (uk in my case) or does it travel across the pond and download from repo1.m.o? Regards, /james -Original Message- From: Brian Fox [mailto:bri...@infinity.nu] Sent: 05 May 2011 12:06 To: Maven Users List Subject: Re: central repo? This was an attempt to block the constant scrapers that are attempting to crawl the entire repository for no good reason, and the bandwidth isn't free. The index used to serve the search is not the same index used by M2e. Fwiw, the m2e indexes are updated daily now, but I need to see why this index was out of date. Regardless, we'll go back to the drawing board and see how to make this less of a hurdle, while still interrupting the scrapers. On Wed, May 4, 2011 at 6:27 PM, Nord, James jn...@nds.com wrote: That doesn't browse the repo it browses what it thinks is the repo (or the index...) e.g. there is no org.eclipse.tycho but there is Also which repo does it think that is - the UK mirror whuch may or may not be updated with the latest deployment??!? http://repo1.maven.org/maven2/org/eclipse/tycho/tycho-maven-plugin/mav en-metadata.xml (is ok) there is no org/eclipse/tycho according to http://search.maven.org/#browse%7C1428323731 /James - ie let me see the real think not the index that is wrong most of the time -Original Message- From: Arnaud Héritier [mailto:aherit...@gmail.com] Sent: 04 May 2011 23:24 To: Maven Users List Subject: Re: central repo? Hi, You can continue to browse the repository from here : http://search.maven.org/#browse%7C47 Is it what you searched ? Arnaud On Thu, May 5, 2011 at 12:09 AM, Nord, James jn...@nds.com wrote: Hi all, What happened recently to the central repos and their mirrors (uk). When I try to browse I now get redirected to search.maven.org which is not a good thing when trying to work out why something isn't working as expected when proxied via a repo manager. Also I guess these searches run of the index - but as far as I have always been led to believe the indexes are correct on Sunday only, and don't help when the metadata is incorrect. How can I get back to the old bog standard directory listings produced by the web server? /james * * This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00 * * - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: central repo?
The Browse Remote feature in Nexus still seems to work for central. If Sonatype hasn't updated that recently it still looks at the actual content of the remote repo. /Anders On Thu, May 5, 2011 at 13:57, Nord, James jn...@nds.com wrote: Hi Brian, I understand the reasons and I'm all for it - but there needs to be a way to easily diagnose issues for people that look after maven proxies (such as a corporate nexus instance) when there are issues with artifacts. The old http directory listings enabled just that. Apart from the above I actually liked search.m.o and was impressed by its speed (seemed quicker than nexus when searching!). OT: when you download an artifact from search.m.o does it give you your local mirror (uk in my case) or does it travel across the pond and download from repo1.m.o? Regards, /james -Original Message- From: Brian Fox [mailto:bri...@infinity.nu] Sent: 05 May 2011 12:06 To: Maven Users List Subject: Re: central repo? This was an attempt to block the constant scrapers that are attempting to crawl the entire repository for no good reason, and the bandwidth isn't free. The index used to serve the search is not the same index used by M2e. Fwiw, the m2e indexes are updated daily now, but I need to see why this index was out of date. Regardless, we'll go back to the drawing board and see how to make this less of a hurdle, while still interrupting the scrapers. On Wed, May 4, 2011 at 6:27 PM, Nord, James jn...@nds.com wrote: That doesn't browse the repo it browses what it thinks is the repo (or the index...) e.g. there is no org.eclipse.tycho but there is Also which repo does it think that is - the UK mirror whuch may or may not be updated with the latest deployment??!? http://repo1.maven.org/maven2/org/eclipse/tycho/tycho-maven-plugin/mav en-metadata.xml (is ok) there is no org/eclipse/tycho according to http://search.maven.org/#browse%7C1428323731 /James - ie let me see the real think not the index that is wrong most of the time -Original Message- From: Arnaud Héritier [mailto:aherit...@gmail.com] Sent: 04 May 2011 23:24 To: Maven Users List Subject: Re: central repo? Hi, You can continue to browse the repository from here : http://search.maven.org/#browse%7C47 Is it what you searched ? Arnaud On Thu, May 5, 2011 at 12:09 AM, Nord, James jn...@nds.com wrote: Hi all, What happened recently to the central repos and their mirrors (uk). When I try to browse I now get redirected to search.maven.org which is not a good thing when trying to work out why something isn't working as expected when proxied via a repo manager. Also I guess these searches run of the index - but as far as I have always been led to believe the indexes are correct on Sunday only, and don't help when the metadata is incorrect. How can I get back to the old bog standard directory listings produced by the web server? /james * * This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00 * * - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: central repo?
On Thu, May 5, 2011 at 7:57 AM, Nord, James jn...@nds.com wrote: Hi Brian, I understand the reasons and I'm all for it - but there needs to be a way to easily diagnose issues for people that look after maven proxies (such as a corporate nexus instance) when there are issues with artifacts. The old http directory listings enabled just that. Yes, we'll figure out how to get this accomplished asap. Apart from the above I actually liked search.m.o and was impressed by its speed (seemed quicker than nexus when searching!). Thanks. Fwiw, it's built using Solr and Lucene, so most of the credit goes to those communities. OT: when you download an artifact from search.m.o does it give you your local mirror (uk in my case) or does it travel across the pond and download from repo1.m.o? Currently no, but we didn't anticipate huge numbers of downloads through the search system. Regards, /james -Original Message- From: Brian Fox [mailto:bri...@infinity.nu] Sent: 05 May 2011 12:06 To: Maven Users List Subject: Re: central repo? This was an attempt to block the constant scrapers that are attempting to crawl the entire repository for no good reason, and the bandwidth isn't free. The index used to serve the search is not the same index used by M2e. Fwiw, the m2e indexes are updated daily now, but I need to see why this index was out of date. Regardless, we'll go back to the drawing board and see how to make this less of a hurdle, while still interrupting the scrapers. On Wed, May 4, 2011 at 6:27 PM, Nord, James jn...@nds.com wrote: That doesn't browse the repo it browses what it thinks is the repo (or the index...) e.g. there is no org.eclipse.tycho but there is Also which repo does it think that is - the UK mirror whuch may or may not be updated with the latest deployment??!? http://repo1.maven.org/maven2/org/eclipse/tycho/tycho-maven-plugin/mav en-metadata.xml (is ok) there is no org/eclipse/tycho according to http://search.maven.org/#browse%7C1428323731 /James - ie let me see the real think not the index that is wrong most of the time -Original Message- From: Arnaud Héritier [mailto:aherit...@gmail.com] Sent: 04 May 2011 23:24 To: Maven Users List Subject: Re: central repo? Hi, You can continue to browse the repository from here : http://search.maven.org/#browse%7C47 Is it what you searched ? Arnaud On Thu, May 5, 2011 at 12:09 AM, Nord, James jn...@nds.com wrote: Hi all, What happened recently to the central repos and their mirrors (uk). When I try to browse I now get redirected to search.maven.org which is not a good thing when trying to work out why something isn't working as expected when proxied via a repo manager. Also I guess these searches run of the index - but as far as I have always been led to believe the indexes are correct on Sunday only, and don't help when the metadata is incorrect. How can I get back to the old bog standard directory listings produced by the web server? /james * * This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00 * * - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: central repo?
On Thu, May 5, 2011 at 7:09 AM, Anders Hammar and...@hammar.net wrote: Regarding the m2e indexes, at what time are they updated? 3:22 CST daily. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Optional dependencies based on classifier
Is there any way to toggle which dependencies are optional, based on the classifier? E.g., if we have these dependencies: A - X, Y, Z B - A When B depends on A, it transitively inherits X, Y, and Z. Now let's suppose A produces multiple zips (different classifiers) using the assembly plugin. It would be nice to be able to specify that for a given classifier, only a subset of X, Y, and Z are required. Hope that makes sense. It's probably not possible, but I'm also interested in any other ideas that come close to accomplishing it. Thanks, Phillip
RE: central repo?
So, I'm not sure anyone here will care about this. But Maven Central does not work with IE9. You get an error like this: When a website causes a failure or crash, Internet Explorer attempts to restore the site. It stops after two tries to avoid an endless loop. And the URL switches to this: res://ieframe.dll/acr_error.htm#maven.org,http://search.maven.org/#browse I had a friend try his system with IE8 and it worked fine. Needless to say Chrome and FF work just fine. -Jim -Original Message- From: Brian Fox [mailto:bri...@infinity.nu] Sent: Thursday, May 05, 2011 8:50 AM To: Maven Users List Subject: Re: central repo? On Thu, May 5, 2011 at 7:09 AM, Anders Hammar and...@hammar.net wrote: Regarding the m2e indexes, at what time are they updated? 3:22 CST daily. - 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: central repo?
Than you, i'll let the team know. Also, we've adjusted how the redirects work and included a static page so people don't feel like the repo was hijacked: http://repo2.maven.org/maven2/org/ Deeper links to artifact folders will show the older index view for now until we incorporate the feedback we received and ensure the index used to render the browse is completely in lockstep with the contents. On Thu, May 5, 2011 at 12:17 PM, Jim McCaskey jim.mccas...@pervasive.com wrote: So, I'm not sure anyone here will care about this. But Maven Central does not work with IE9. You get an error like this: When a website causes a failure or crash, Internet Explorer attempts to restore the site. It stops after two tries to avoid an endless loop. And the URL switches to this: res://ieframe.dll/acr_error.htm#maven.org,http://search.maven.org/#browse I had a friend try his system with IE8 and it worked fine. Needless to say Chrome and FF work just fine. -Jim -Original Message- From: Brian Fox [mailto:bri...@infinity.nu] Sent: Thursday, May 05, 2011 8:50 AM To: Maven Users List Subject: Re: central repo? On Thu, May 5, 2011 at 7:09 AM, Anders Hammar and...@hammar.net wrote: Regarding the m2e indexes, at what time are they updated? 3:22 CST daily. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Problem resolving snapshot version of plugin thru a Mirror
After debuging Maven I noticed that even having the mirror defined, SNAPSTHOP version of plugins always were resolved agains Maven`s central repository (repo1.apache.org). So we found a workaround overriding central and snapshot repositories in the setting xml. After that, it worked. is this an expected behavior? Thanks You need to tell Maven where the repos are, both for releases and for snapshots, and for plugin releases and snapshots. It sounds like you may have been missing one of those. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How access classes from war dependency?
Anders Hammar wrote: No, you create a third project which is a standard jar Maven project. There you but those Java classes. This will produce a jar artifact, which you declare a dependency to from both war projects. I've done this, as you've explained me here. But I have one problem yet. If I save data in jar object from 1-st war for the 2-nd war, the 2-nd war cannot acces they. My object is the singleton. 1 protected static Controller controller; 2 3 public static Controller getInstance() { 4 if(controller == null) { 5 controller = new Controller(); 6 } 7 return controller; 8 } If I debug 1-st war and then 2-nd one, I see that 2-nd war also goes into row 5. So both wars works with different objects. Can you explain me how can I solve this? Thank you in advance. Best Regards, -sipungora -- View this message in context: http://maven.40175.n5.nabble.com/How-to-access-classes-from-war-dependency-tp4362127p4373647.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
Run a multimodule build up to a certain module in maven 3
Hi, Suppose the following multimodule project project + client-common + client-gui + server-common + server-api + server + installer + installer-gui I want to run the build up to the 'server' module, but not run the installer and installer-gui modules. What would be the easiest way to do this in Maven 3? In Maven 2, i used the reactor plugin for it. Is this still the best way or is there a better/easier way in Maven 3? regards, Wim
Re: How access classes from war dependency?
On May 5, 2011, at 2:44 PM, sipungora wrote: I've done this, as you've explained me here. But I have one problem yet. If I save data in jar object from 1-st war for the 2-nd war, the 2-nd war cannot acces they. My object is the singleton. 1 protected static Controller controller; 2 3 public static Controller getInstance() { 4 if(controller == null) { 5 controller = new Controller(); 6 } 7 return controller; 8 } If I debug 1-st war and then 2-nd one, I see that 2-nd war also goes into row 5. So both wars works with different objects. Can you explain me how can I solve this? I don't think you can do this. I think each war is in its own class loader; effectively each web application is in its own space. There may be ways to configure your app server to share information between wars, but frankly the whole concept smells of bad design. -- Rick Genter rgen...@interactions.net *** This e-mail and any of its attachments may contain Interactions Corporation proprietary information, which is privileged, confidential, or subject to copyright belonging to the Interactions Corporation. This e-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this e-mail is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify the sender immediately and permanently delete the original and any copy of this e-mail and any printout. Thank You. *** - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven release plugin question
Ok, I solved this mystery... The reason it wasn't working was because my reactor artifactId was name differently than the folder the reactor pom.xml was sitting in. So my reactor's artifactId was dlm-cwa-reactor and the folder (in svn) which this pom.xml was sitting in was dlm-cwa. Once I changed the reactor artifactId to dlm-cwa, all worked just fine. Thanks everyone for the help. -Yaakov. On Wed, May 4, 2011 at 1:22 PM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: I think I kind of understand what's going on, but not sure how to solve it. What's going is that maven is treating my reactor/root pom.xml as a project with the name dlm-cwa-reactor and when it tries to copy that project to a tag, it fails because no such path actually exists... This is evident from this: *** [INFO] Working directory: C:\Users\yaakov\workspaces\dlm-main\trunk\dlm-cwa [INFO] Tagging release with the label dlm-cwa-reactor-1.0... This line ---[INFO] Executing: cmd.exe /X /C svn --non-interactive copy --file C:\Users\yaakov\AppData\Local\Temp\maven-scm-1505781146.commit --revision 738 https://dev.envieta.com:8443/svn/dlm/trunk/dlm-cwa/dlm-cwa-reactor https://dev.envieta.com:8443/svn/dlm/tags/dlm-cwa-reactor-1.0; [INFO] Working directory: c:\users\yaakov\workspaces\dlm-main\trunk\dlm-cwa [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Unable to tag SCM Provider message: The svn tag command failed. Command output: svn: Path 'https://dev.envieta.com:8443/svn/dlm/trunk/dlm-cwa/dlm-cwa-reactor' does not exist in revision 738 *** Note that it's trying to copy from https://dev.envieta.com:8443/svn/dlm/trunk/dlm-cwa/dlm-cwa-reactor path, but no such path exists as the reactor pom.xml is sitting in https://dev.envieta.com:8443/svn/dlm/trunk/dlm-cwa/pom.xml. Any idea as to how to make maven understand that? -Yaakov. On Wed, May 4, 2011 at 11:56 AM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: svn info shows this: $ svn info Path: . URL: https://dev.envieta.com:8443/svn/dlm/trunk/dlm-cwa Repository Root: https://dev.envieta.com:8443/svn/dlm I tried a few configurations, but they all end up with some variation of the path .../dlm-cwa-reactor does not exist in revision 730 (or whatever number it is at the moment). When I look at the trasformed parent module's pom.xml, that section looks like this: scm connectionscm:svn:https://dev.envieta.com:8443/svn/dlm/trunk/dlm-cwa/tags/dlm-cwa-reactor-1.0/connection developerConnectionscm:svn:https://dev.envieta.com:8443/svn/dlm/trunk/dlm-cwa/tags/dlm-cwa-reactor-1.0/developerConnection urlhttps://dev.envieta.com:8443/svn/dlm/tags/dlm-cwa-reactor-1.0/dlm-cwa/url /scm To start with, it was this (after I changed it): scm connectionscm:svn:https://dev.envieta.com:8443/svn/dlm/trunk/dlm-cwa/connection developerConnectionscm:svn:https://dev.envieta.com:8443/svn/dlm/trunk/dlm-cwa/developerConnection urlhttps://dev.envieta.com:8443/svn/dlm/trunk/dlm-cwa/url /scm For the connection and developerConnection I tried specifying just https://dev.envieta.com:8443/svn/dlm, but it still didn't work... Any ideas? Thanks for you help! -Yaakov. On Tue, May 3, 2011 at 2:59 PM, Wendy Smoak wsm...@gmail.com wrote: On Tue, May 3, 2011 at 2:45 PM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: Did I configure scm wrong? How does that compare to the output of 'svn info' at the top of your project? Usually a svn url has 'trunk' or 'branches' somewhere in it... The scm url should match the location of your pom.xml (minus the filename). -- Wendy - 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: How access classes from war dependency?
If I debug 1-st war and then 2-nd one, I see that 2-nd war also goes into row 5. So both wars works with different objects. Can you explain me how can I solve this? This is not the right place to ask such questions -- we are Maven experts, not j2ee war classloader experts. You probably need to use some tooling like Terracotta to achieve a server-wide (or even cluster-wide?) singleton. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How access classes from war dependency?
Rick Genter wrote: I don't think you can do this. I think each war is in its own class loader; effectively each web application is in its own space. There may be ways to configure your app server to share information between wars, but frankly the whole concept smells of bad design. -- Rick Genter Thank you for explanation Rick, but what would be in this case a good design? Thank you in advance, Best Regards, -sipungora -- View this message in context: http://maven.40175.n5.nabble.com/How-to-access-classes-from-war-dependency-tp4362127p4373726.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: How access classes from war dependency?
Wayne Fay wrote: If I debug 1-st war and then 2-nd one, I see that 2-nd war also goes into row 5. So both wars works with different objects. Can you explain me how can I solve this? This is not the right place to ask such questions -- we are Maven experts, not j2ee war classloader experts. You probably need to use some tooling like Terracotta to achieve a server-wide (or even cluster-wide?) singleton. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thank you Wayne. I don't simple known where I should ask this. Besides Anders has proposed me this idea. I've thought that he can help me further. -- View this message in context: http://maven.40175.n5.nabble.com/How-to-access-classes-from-war-dependency-tp4362127p4373752.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: How access classes from war dependency?
I don't simple known where I should ask this. Besides Anders has proposed me this idea. I've thought that he can help me further. stackoverflow.com javaranch.com forums.oracle.com forums.terracotta.org or try the User Forum for whatever j2ee container you are using (glassfish, weblogic, jboss, etc) Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Multi-module release:prepare creates a tag that includes the tags folder
I am attempting to use the Maven Release plugin with Maven 3.0.3 to release a flat multi-module structure in Subversion. I have the release:prepare goal working well except for one thing. The tagged release includes the tags folder, which is a sibling of the trunk. Does anyone know how to prevent this from happening? I expected only the trunk folder to be in the tag. Here are the details: commitByProject=true (set on command line) autoVersionSubmodules= true (set in release profile in parent-module pom) SCM settings: scm connectionscm:svn:svn://localhost/project/trunk/connection developerConnectionscm:svn:svn://localhost/project/trunk/developerConnection urlscm:svn:svn://localhost/project/trunk/url /scm My Subversion folder structure looks like this: project / +- tags / +- trunk / +- parent / +- child1 / +- child2 / After running release:prepare on the parent-module for version 1.0.1, which sets all my versions properly and creates a tag, I end up with this: project / +- tags / +- parent-1.0.1 / +- tags / +- trunk / +- parent / +- child1 / +- child2 / +- trunk / +- parent / +- child1 / +- child2 / The first time I tried this, the nested tags folder was empty. On subsequent runs, it contains all the tags from the previous run: project / +- tags / +- parent-1.0.1 / +- tags / +- trunk / +- parent / +- child1 / +- child2 / +- parent-1.0.2 / +- tags / +- parent-1.0.1 / +- tags / +- trunk / +- parent / +- child1 / +- child2 / +- trunk / +- parent / +- child1 / +- child2 / +- trunk / +- parent / +- child1 / +- child2 / STATEMENT OF CONFIDENTIALITY: The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify WHI Solutions immediately at g...@whisolutions.com, and destroy all copies of this message and any attachments.
Re: central repo?
Vastly appreciated. The current search page is pretty good from a usability point of view (other than the piss-poor URL structure) but lags too far behind the repository contents to be useful when, e.g., checking that new releases have been copied to central successfully before announcing them. Software I released to my own repo two days ago is in central, but still hasn't shown up in search.maven.org. -o On 2011-05-05, at 12:52 PM, Brian Fox wrote: Than you, i'll let the team know. Also, we've adjusted how the redirects work and included a static page so people don't feel like the repo was hijacked: http://repo2.maven.org/maven2/org/ Deeper links to artifact folders will show the older index view for now until we incorporate the feedback we received and ensure the index used to render the browse is completely in lockstep with the contents. On Thu, May 5, 2011 at 12:17 PM, Jim McCaskey jim.mccas...@pervasive.com wrote: So, I'm not sure anyone here will care about this. But Maven Central does not work with IE9. You get an error like this: When a website causes a failure or crash, Internet Explorer attempts to restore the site. It stops after two tries to avoid an endless loop. And the URL switches to this: res://ieframe.dll/acr_error.htm#maven.org,http://search.maven.org/#browse I had a friend try his system with IE8 and it worked fine. Needless to say Chrome and FF work just fine. -Jim -Original Message- From: Brian Fox [mailto:bri...@infinity.nu] Sent: Thursday, May 05, 2011 8:50 AM To: Maven Users List Subject: Re: central repo? On Thu, May 5, 2011 at 7:09 AM, Anders Hammar and...@hammar.net wrote: Regarding the m2e indexes, at what time are they updated? 3:22 CST daily. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org