Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-28 Thread Juven Xu
issue is mitigated a lot, but build is still slow, but at least it can pass. Thanks, Juven On Wednesday, August 27, 2014 at 7:18 PM, Stuart McCulloch wrote: > I wonder if this might be related to > https://bugs.eclipse.org/bugs/show_bug.cgi?id=418250 ? > > On 27 Aug 2014, at 04:

Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-27 Thread Juven Xu
yes I can confirm the mirror is ok. I've built many projects with the same mirror, but only this project crashes. -- View this message in context: http://maven.40175.n5.nabble.com/maven-3-1-1-crashes-on-GC-overhead-limit-exceeded-with-millions-of-org-eclipse-aether-graph-DefaultDe-tp5803092p58

Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-27 Thread Juven Xu
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:573) [ERROR] [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/OutOfMemoryError -- Juven Xu Sent with Sparrow (h

maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-26 Thread Juven Xu
232 org.eclipse.aether.graph.Dependency 26: 30891237432 27: 234561125888 java.util.HashMap $mvn dependency:tree works well Sorry i can not paste the full project’s POM for company security reasons, but let me know if any other info I missed. Thanks -- Juven Xu Sent w

Re: Trouble deploying to remote repository after the first time (400 error)

2011-07-29 Thread Juven Xu
maybe try w/o filePermissions and directoryPermissions, and you can take a look at nexus log to get more details On Fri, Jul 29, 2011 at 5:29 AM, laredotornado-3 wrote: > Hi, > > I'm using Maven 3.0.3 with a Sonatype repository. I'm able to deploy my > artifact to the remote repository the first

Re: Synchro issue between codehaus and central?

2011-07-22 Thread Juven Xu
fyi, since sonar is migrated from the old codehaus repository to https://nexus.codehaus.org/, we now can guarantee that there won't be any broken checksum of sonar artifacts deployed to central. Nexus Pro has staging rules checking this, and it's very handy to fix existing broken checksum, just ru

Re: SNAPSHOT's in Maven Central

2011-06-01 Thread Juven Xu
Here is the JIRA project where you can create tickets if you see any problem in Maven Central. On Tue, May 31, 2011 at 4:31 PM, Karl Heinz Marbaise wrote: > Hi Baptiste, > > > Just for information: did you care about it because you found it and >> wanted >> to improve central, or because you end

Re: SNAPSHOT's in Maven Central

2011-05-26 Thread Juven Xu
these snapshots are synced from http://repository.codehaus.org: http://repository.codehaus.org/org/codehaus/groovy/groovy-eclipse-batch/ http://repository.codehaus.org/org/codehaus/groovy/groovy-eclipse-compiler/

Re: [Maven中文#1103] maven 2.2.1 to 3.0.1 can't de ploy jar to repository.

2010-12-13 Thread Juven Xu
aven...@googlegroups.com。 > 要取消订阅此网上论坛,请发送电子邮件至 > maven-zh+unsubscr...@googlegroups.com > 。 > 若有更多问题,请通过 http://groups.google.com/group/maven-zh?hl=zh-CN 访问此网上论坛。 > -- - Juven Xu - http://www.juvenxu.com/

Re: how is the archetype-catalog.xml file on central updated?

2010-10-19 Thread Juven Xu
the archetype-catalog.xml is updated every Sunday: https://docs.sonatype.org/display/Repository/Central+Repository+FAQ On Tue, Oct 19, 2010 at 11:00 PM, Justin Edelson wrote: > Thanks. > > If I released an archetype via repository.apache.org today, it should be > in the central archetype catalog

Re: Maven Ban!

2010-09-22 Thread Juven Xu
as a work-around, you can try one of the central mirrors, like http://mirrors.ibiblio.org/pub/mirrors/maven2/ On Wed, Sep 22, 2010 at 8:09 PM, Xavier D. wrote: > With my Nexus repo, I have found banned to mean my proxy settings were > incorrect i.e. unable to connect to repo after 30 retries. >

Re: How to contact uploader to maven central of org.eclipse.core artifacts

2010-09-11 Thread Juven Xu
btw, can anybody here help review these Eclipse artifacts: https://oss.sonatype.org/content/groups/central-staging/org/eclipse/ if they are good, I'm going to promote them into central thanks On Sat, Sep 11, 2010 at 3:06 PM, Juven Xu wrote: > Sorry, for some reason [0], I promo

Re: How to contact uploader to maven central of org.eclipse.core artifacts

2010-09-11 Thread Juven Xu
Sorry, for some reason [0], I promoted some incorrect artifacts into central, then I deleted them, but maven-metadata.xml were left. I just deleted all the empty directories, now should be fixed. [0] https://issues.sonatype.org/browse/OSSRH-739 On Fri, Sep 10, 2010 at 7:46 PM, Marshall Schor wro

Re: GWT on Maven Central

2010-07-14 Thread Juven Xu
David Chandler from Google already created a ticket at Sonatype: https://issues.sonatype.org/browse/OSSRH-607 On Wed, Jul 14, 2010 at 2:52 PM, nicolas de loof wrote: > I did it for a while using an rsync from people.apache.org > I'll package the jars ASAP, but lack of time those days... > Would b

Re: multi modules, scm and release plugin

2010-05-23 Thread Juven Xu
I met the same issue, and created a ticket: http://jira.codehaus.org/browse/MRELEASE-562 2010/4/19 Thomas Scheffler > Am 19.04.2010 12:47, schrieb Stephen Connolly: > > You need to run the release from the aggregator pom. not from the parent. >> > > That was exactly the way I was doing it. > >

Re: Sign existing artifacts in repository

2010-05-11 Thread Juven Xu
I have a line of shell script for this purpose: find . | xargs -i -t sh -c 'cat pwd.txt | gpg -ab --passphrase-fd 0 {}' (put the passphrase into pwd.txt) On Tue, May 11, 2010 at 9:04 AM, Brett Porter wrote: > You can loop over them using shell and gpg. You can use an agent to store > the passw

Re: junit 4.8.1 - org.junit cannot be resolved

2010-04-28 Thread Juven Xu
I just fixed the repository.sonatype.org mirror. >From the ticket http://jira.codehaus.org/browse/MAVENUPLOAD-2695 you can see why this happened: 1) the reporter of the ticket attached a broken junit artifact 2) I uploaded it into central without checking the internal of the jar 3) Paul King

Re: XML parsing error when trying to read archetype-catalog.xml

2010-04-27 Thread Juven Xu
the archetype catalog of central is fixed On Tue, Apr 6, 2010 at 8:27 AM, Farid Derradji < farid.derra...@itwm.fraunhofer.de> wrote: > MY SYSTEM CONFIGURATION > > Operating System: SuSE Linux 11.1 > Java Version: JDK 1.6.0_19 > > > > HOW I PRODUCED THE ERROR > > I wanted to create

Re: Question about maven profiles activation

2009-09-25 Thread Juven Xu
I think this issue is related: https://issues.sonatype.org/browse/MVNDEF-261 On Fri, Sep 25, 2009 at 9:58 PM, Reynald Borer wrote: > Dear all, > > I have been browsing the Maven Book online recently (available on > http://www.sonatype.com/books/maven-book/reference/public-book.html), and > I hav

Re: Moving Repository

2009-09-17 Thread Juven Xu
> from scratch (I'm referring to the possibility of having absolute > paths perhaps?). > > I just want to be sure, in case I corrupt it and have to start over. > > Q > > On Thu, Sep 17, 2009 at 9:59 AM, Juven Xu wrote: > > yep, you can edit your ~/.m2/settings.xml

Re: Moving Repository

2009-09-17 Thread Juven Xu
yep, you can edit your ~/.m2/settings.xml to point the local maven repo to any FS place. On Thu, Sep 17, 2009 at 3:31 PM, Quintin Beukes wrote: > Hey, > > I have a very large repository and would like to keep it (not start > over). Though, I would like to move it to a more "official" location >

Re: [nexus-user] Re: Nexus proxy server not downloading artifacts

2009-09-10 Thread Juven Xu
you need to create a proxy repository, with the policy of 'SNAPSHOT'. your 'Main Repository' should be a repository group, then you put all these proxy repos into this group. this is a very normal use case, and should be tested very well. Anyway, can you paste your nexus.xml configuration, so we

Re: (maven.)apache.org down

2009-08-28 Thread Juven Xu
hmm... I got this: *.apache.org is currently offline. No ETA for resumption of services is available. On Fri, Aug 28, 2009 at 5:24 PM, Stevo Slavić wrote: > Hello maven users, > > Is (maven.)apache.org down or is it just my network connectivity? > > Regards, > Stevo. > -- - juven

Re: Primary and secondary dependencies

2009-07-28 Thread Juven Xu
r example, if you were > >> developing a web application, you would need the Servlet API > >> available on the compile classpath to compile a servlet, but > >> you wouldn't want to include the Servlet API in the packaged > >> WAR; the Servlet API JAR is suppl

Re: Primary and secondary dependencies

2009-07-24 Thread Juven Xu
they are _transitive_ dependencies :) but you name them _secondary_ dependencies :) you would want to read this document: http://www.sonatype.com/books/maven-book/reference/pom-relationships-sect-project-dependencies.html On Sat, Jul 25, 2009 at 12:41 AM, monkeyden wrote: > > I have the scope o

Re: Migration existing java project to maven2

2009-07-24 Thread Juven Xu
1. central is the biggest, but not the only repo in this world, so you might be able to search out some other repos containing your required artifacts. 2. if 1) does not work, you can set up a local repo using Nexus ( http://nexus.sonatype.org), then deploy the jars into it manually. On Mon, Jul

Re: Cookbook

2009-07-07 Thread Juven Xu
Hi, Peter: The Maven Guide is still in progress, take a look at this blog: http://www.sonatype.com/people/2009/04/maven-definitive-guide-project-infrastructure/ I'm not sure how is the maven cook-book going, but here is a JIRA project for that: https://issues.sonatype.org/browse/MVNCOOK On Wed,

Re: Version range excluding SNAPSHOTs

2009-03-08 Thread Juven Xu
how about [1.0,1.1-SNAPSHOT) ? On Sun, Mar 8, 2009 at 8:34 PM, Markus KARG wrote: > So this means that there is no *real* solution to get alphas but not > SNAPSHOTs? > > > [1.0,1.1-!) > > 1.0-SNAPSHOT < 1.0 < 1.1-SNAPSHOT < 1.1 > > But in ASCII ! is < A > > therefore > > 1.1-! < 1.1-SNAPSHOT < 1

Re: Regarding junit test

2009-03-07 Thread Juven Xu
this should a properties file, which is available in your test classpath. your can retrieve it in your testcase, like: File testFile = new File("target/test-classes/test.properties"); Note that all files under src/test/resources will be moved to target/test-classes/ when you run "mvn test" On S

Re: Regarding junit test

2009-03-06 Thread Juven Xu
http://maven.apache.org/plugins/maven-surefire-plugin/ On Fri, Mar 6, 2009 at 3:36 PM, nani2ratna wrote: > > Hi, > > How does maven calls junit test cases when we run command mvn test. > and what is the surefire, how it runs, can any body send me the link of > this > documentation > > Thanks and

Re: Any maven repo mirrors in China?

2009-03-05 Thread Juven Xu
Yeah, Nexus should be a good solution for you! Currently there's no central mirror in China, the bandwidth in China is very expensive. And since universities here use their own "education network", we are not able to ask for help form them. Finding a sponsor is not a easy thing :), but we will tr

plugin:descriptor works wrong in a special case

2008-05-13 Thread Juven Xu
Hi, all: The case is this: 1. It's a multi-module project, like this: 4.0.0 com.juven.maven2.plugin maven2-plugin 1.0-SNAPSHOT pom Maven Plugins container-plugin sar-plugin parameter-replace-plugin 2. All submodules are projects of maven-p

plugin:descriptor works wrong in a special case

2008-05-09 Thread Juven Xu
Hi, all: The case is this: 1. It's a multi-module project, like this: 4.0.0 com.juven.maven2.plugin maven2-plugin 1.0-SNAPSHOT pom Maven Plugins container-plugin sar-plugin parameter-replace-plugin 2. All submodules are projects of maven-p

Got "Error deploying artifact: Unexpected end of data" while deploying

2008-01-23 Thread Juven Xu
Hi: Sometimes I will get this kind of error "Unexpected end of data" while deploying. Only sometimes, not always. Here's my configuration in pom.xml: scp-repository scp://jboss.cntnsoft.int/var/ftp/maven/repository and in setting.xml scp-reposit

Re: Dependency issue (war and jar) in multimodule project

2007-11-27 Thread Juven Xu
nand Rathi <[EMAIL PROTECTED]> wrote: > > Hi Juven, > > I removed child1 jar dependency and only kept child1 war dependency but > while building child2 project, it is still expanding child1 jar file instead > of child1 war file. Also it is picking up 'child1-1.0-SNAPSHOT.ja

Re: Dependency issue (war and jar) in multimodule project

2007-11-26 Thread Juven Xu
Hi, Anand: If child2 has a dependency on child1 war, I think you don't need to make dependency on child1 jar. Cause all the xml file and class file will be inherited. Thanks, Juven On Nov 26, 2007 3:34 PM, Anand Rathi <[EMAIL PROTECTED]> wrote: > Hi, > > I have a multimodule project as sh

Re: Translation for Chinese Users

2007-11-26 Thread Juven Xu
on <[EMAIL PROTECTED]> wrote: > Hi > > Thanks for your help. Here is a first step that could help you > http://maven.apache.org/plugins/maven-site-plugin/i18n.html > > Cheers, > > Vincent > > 2007/11/23, Juven Xu <[EMAIL PROTECTED]>: > > Hi, guys: > >

Re: The Maven team needs help from translators

2007-11-26 Thread Juven Xu
Hi, Denneis: I can take the zh_CN translation and finish it in this week. On Nov 26, 2007 3:35 PM, Milos Kleint <[EMAIL PROTECTED]> wrote: > it's in mojo's sandbox > https://svn.codehaus.org/mojo/trunk/sandbox/l10n-maven-plugin/ > > Milos > > On 11/26/07, Wim Deblauwe <[EMAIL PROTECTED]> wrote

Translation for Chinese Users

2007-11-22 Thread Juven Xu
Hi, guys: I'm a maven user from China and I do the build work for my company which is in Shanghai. Now I find that I've already been attracted by this powerful project management tool and I really want to do something to contribute. So, how about letting me do some translation work for Chine

Re: maven rebuild dependency

2007-11-21 Thread Juven Xu
I'm wondering how can Maven konw project B has been modified or updated. Juven On Nov 22, 2007 8:29 AM, LinaTomy <[EMAIL PROTECTED]> wrote: > > I have a project A that is Dependant on project B. When i build and > package > project A I want it to recompile and package project B if it has been >

Re: Using dependency versions in a property file

2007-11-21 Thread Juven Xu
r you may want to develop a maven plugin for this usage, so you can run it automatically. Juven On Nov 21, 2007 4:44 PM, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > On Nov 21, 2007 9:32 AM, Juven Xu <[EMAIL PROTECTED]> wrote: > > > You want to create pom file automati

Re: Using dependency versions in a property file

2007-11-21 Thread Juven Xu
AIL PROTECTED]> wrote: > On Nov 21, 2007 9:18 AM, Juven Xu <[EMAIL PROTECTED]> wrote: > > > I don't quite understand your situation, why not config version number > in > > pom file and use Maven-IDE plugin to generate classpath file? > > The version num

Re: Using dependency versions in a property file

2007-11-21 Thread Juven Xu
I don't quite understand your situation, why not config version number in pom file and use Maven-IDE plugin to generate classpath file? On Nov 21, 2007 4:02 PM, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > Hi, > > it hit me again: I have a property file, which contains version number > of depende