Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Kristian Rosenvold
From what I can understand this issue is almost certainly some kind of combinatorial explosion caused in the calculation of the dependencies. Sample project/and or heap dumps will be required here as far as I can understand. As for the embedded building, you might want to take note that plexu

Re: how to clean up all generated files under "target" directory

2011-06-21 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 11:40 AM, Wendy Smoak wrote: > On Tue, Jun 21, 2011 at 10:06 PM, samwun wrote: > >> Every time when I build a maven project, I need to manually remove all >> generated files under the "target" directory. >> >> How can I use maven remove all these files before starting the

Resolved Re: how to clean up all generated files under "target" directory

2011-06-21 Thread samwun
I just found out. should use "mvn clean" will do the job. -- View this message in context: http://maven.40175.n5.nabble.com/how-to-clean-up-all-generated-files-under-target-directory-tp4512637p4512655.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: how to clean up all generated files under "target" directory

2011-06-21 Thread Wendy Smoak
On Tue, Jun 21, 2011 at 10:06 PM, samwun wrote: > Every time when I build a maven project, I need to manually remove all > generated files under the "target" directory. > > How can I use maven remove all these files before starting the build? > maven command I used is: > > mvn compile war:war "m

how to clean up all generated files under "target" directory

2011-06-21 Thread samwun
Hello, Every time when I build a maven project, I need to manually remove all generated files under the "target" directory. How can I use maven remove all these files before starting the build? maven command I used is: mvn compile war:war With this command, ff I don't remove all files in the "t

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 1:02 AM, Benson Margulies wrote: > The current version of m2e runs mvn embeded inside the eclipse jvm. > Because eclipse has one classloader isolation system, and maven has > another, the sum total is a wildly effective recipe for running out of > VM. And while you are get

Re: How to stop embedded Tomcat server?

2011-06-21 Thread Aldrin Leal
Você era o Daniel Serodio da Altconn? btw, tenta isso: https://github.com/t7mp/t7mp -- -- Aldrin Leal, / http://www.leal.eng.br/mnemetica/ On Tue, Jun 21, 2011 at 4:23 PM, Daniel Serodio (lists) < daniel.lis...@xxx.com.br> wrote: > I'm using the maven-tomcat-plugin to run an embedded, forked

How to stop embedded Tomcat server?

2011-06-21 Thread Daniel Serodio (lists)
I'm using the maven-tomcat-plugin to run an embedded, forked Tomcat server which is then used by the maven-failsafe-plugin to run tests on. I'd like to stop this embedded Tomcat after the tests finish, but the tomcat:stop goal needs the "Tomcat Manager" application, which is not included in th

Re: Invoker-Plugin not using correct settings-file

2011-06-21 Thread Asmann, Roland
I have to admit: no, not yet. I have to put a settings-file somewhere that throws me an error, otherwise I'll never know if it works. I'll give that a try tomorrow, and update this thread according. Roland On 21-06-11 19:11, Anders Hammar wrote: > Have you tried executing your Maven build spec

Re: Invoker-Plugin not using correct settings-file

2011-06-21 Thread Anders Hammar
Have you tried executing your Maven build specifying -Dinvoker.settingsFile= from command line on your pc. If it works the issue is related to Jenkins. It should work as it should override the pom configured value. /Anders On Tue, Jun 21, 2011 at 18:56, Asmann, Roland wrote: > Hi all, > > I conf

Invoker-Plugin not using correct settings-file

2011-06-21 Thread Asmann, Roland
Hi all, I configured the invoker-plugin in my POM to use the settings-file in "${maven.home}/conf/settings.xml" -- which works fine for local development. However, when running my Projects on Jenkins, I have configured the project with a different settings-file, since the Maven on the server u

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Benson Margulies
The current version of m2e runs mvn embeded inside the eclipse jvm. Because eclipse has one classloader isolation system, and maven has another, the sum total is a wildly effective recipe for running out of VM. This is exacerbated by projects like CXF, as Ron mentions, that fire up the JDK or othe

Resource inclusion/exclusion patterns-->what's the usage of include patterns?

2011-06-21 Thread Guillaume Polet
Hi All, I am working on a project were I would like to exclude all resources except the ones located within META-INF. After reading carefuly the documentation, it appears that excludes always beats includes, so doing what would only be natural, does not work: src/main/resources **/* META-IN

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Ron Wheeler
On 21/06/2011 10:55 AM, Paul French wrote: Hello Ron, thanks for your comments. See inline comments. Cheers On 21/06/2011 15:38, Ron Wheeler wrote: On 21/06/2011 9:45 AM, Paul French wrote: On 21/06/2011 14:25, Ron Wheeler wrote: 500Mb is not a lot of memory for a Java program. It is when

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Paul French
Hello Ron, thanks for your comments. See inline comments. Cheers On 21/06/2011 15:38, Ron Wheeler wrote: On 21/06/2011 9:45 AM, Paul French wrote: On 21/06/2011 14:25, Ron Wheeler wrote: 500Mb is not a lot of memory for a Java program. It is when all I can give eclipse is 900MB. Beyond tha

Resource inclusion/exclusion patterns-->what's the usage of include patterns?

2011-06-21 Thread Guillaume Polet
Hi All, I am working on a project were I would like to exclude all resources except the ones located within META-INF. After reading carefuly the documentation, it appears that excludes always beats includes, so doing what would only be natural, does not work: src/main/resources **/* MET

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Ron Wheeler
On 21/06/2011 9:45 AM, Paul French wrote: On 21/06/2011 14:25, Ron Wheeler wrote: 500Mb is not a lot of memory for a Java program. It is when all I can give eclipse is 900MB. Beyond that the JVM fails to start. M2E as far as I know does not start a new JVM when building. Perhaps someone else

Re: Unable to ping Maven Central repository's index location

2011-06-21 Thread Brian Fox
You should always fetch from repo1.maven.org/maven2/.index On Tue, Jun 21, 2011 at 5:50 AM, amaresh mourya wrote: > Hi, > > I am unable to ping [ http://repo2.maven.org.s3.amazonaws.com/.index/ ] > location. Whereas ping to [ http://repo1.maven.org/maven2/.index ] is > successful. > Is the locati

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Paul French
I forgot to mention that maven 3.0.3 is using more then 1024MB of heap before it even gets to the compile stage. We will look into profiling it later today. On 21/06/2011 14:45, Paul French wrote: On 21/06/2011 14:25, Ron Wheeler wrote: 500Mb is not a lot of memory for a Java program. It i

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Paul French
On 21/06/2011 14:25, Ron Wheeler wrote: 500Mb is not a lot of memory for a Java program. It is when all I can give eclipse is 900MB. Beyond that the JVM fails to start. M2E as far as I know does not start a new JVM when building. We have noticed that some libraries such as Apache's CXF webse

Re: Maven release:prepare and NOT creating SNAPSHOTs

2011-06-21 Thread Wendy Smoak
On Tue, Jun 21, 2011 at 9:19 AM, Neil Hart wrote: > I was hoping to just cut the release and not create the snapshot for a > couple of reasons. > > I have version 1.0-SNAPSHOT.  I'm done developing so I want to create > version 1.0, Get that into our mvn repo and update our hg repo.  At this > poi

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Ron Wheeler
500Mb is not a lot of memory for a Java program. We have noticed that some libraries such as Apache's CXF webservices will require additional memory to be added to Maven if you are building applications that include it. Since virtual memory is virtually free, you might as well just accept reali

Re: Maven release:prepare and NOT creating SNAPSHOTs

2011-06-21 Thread Neil Hart
I was hoping to just cut the release and not create the snapshot for a couple of reasons. I have version 1.0-SNAPSHOT. I'm done developing so I want to create version 1.0, Get that into our mvn repo and update our hg repo. At this point, I do know that I am done with version 10., but I don't kno

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Benson Margulies
Yes this came to the list. *someone* is going to have to run yourkit or jprofiler on a real version of your problem. Of course, the person best positioned to do that would be, ahem, you. Unless you could give access to, well, me. It would be a giant public service for there to be a sufficiently

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Paul French
Thanks for reply - see inline On 21/06/2011 11:27, B Smith-Mannschott wrote: On Mon, Jun 20, 2011 at 19:54, Paul French wrote: Below is some filtered output from a maven build (showing maven meta data being downloaded for one artifact). All my dependencies use version ranges of the form [1.0.0

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread B Smith-Mannschott
On Mon, Jun 20, 2011 at 19:54, Paul French wrote: > Below is some filtered output from a maven build (showing maven meta data > being downloaded for one artifact). All my dependencies use version ranges > of the form [1.0.0.SNAPSHOT,2.0.0.SNAPSHOT) > > In general the build fails with out of memory

Re: Fwd: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Paul French
To be clear the problem is in maven. I am running maven from the command line. Thanks P On 21/06/2011 11:16, Paul French wrote: Can someone confirm on the maven users list that they have received this email? I did not but it does appear in the mail archive Thanks P Original Messa

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Olivier Lamy
Hello, Your problem is with m2e or Apache Maven tru the cli ? If m2e, you probably have to post it in a m2e mailing list [1]. Thanks -- Olivier Lamy http://twitter.com/olamy | http://www.linkedin.com/in/olamy [1] http://www.eclipse.org/m2e/support/ 2011/6/21 Paul French : > Can someone confirm

Fwd: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Paul French
Can someone confirm on the maven users list that they have received this email? I did not but it does appear in the mail archive Thanks P Original Message Subject: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads Date: Mon, 20 Jun 2011 18:54: