Re: [PLEASE TEST] Apache Maven 3.0-RC2
Did you try running the build with JMX? Watching for memory&cpu consumption? And doing a thread dump to know where the build is actually stuck could be interesting. Cheers 2010/9/24 Jörg Schaible > Hi Stephen, > > Stephen Coy wrote: > > > Are you using Surefire 2.6? I believe that has a memory leak. See > > http://jira.codehaus.org/browse/SUREFIRE-647. > > Well, most use Surefire 2.5, only the latest projects use already 2.6. I > ran > the build with -DskipTests so that this memory leak should not interfere. > Nevertheless it runs out of heap space 5 projects later i.e. if there is > a(n > additional) memory leak, it is somewhere else. > > However, I complained about the build to freeze and not stopping with OOME. > This happened to me more more than once, the OOME is occurring only > sometimes and I wanted to know if someone else is facing this ... > > - Jörg > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Baptiste MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
Re: [PLEASE TEST] Apache Maven 3.0-RC2
Hi Stephen, Stephen Coy wrote: > Are you using Surefire 2.6? I believe that has a memory leak. See > http://jira.codehaus.org/browse/SUREFIRE-647. Well, most use Surefire 2.5, only the latest projects use already 2.6. I ran the build with -DskipTests so that this memory leak should not interfere. Nevertheless it runs out of heap space 5 projects later i.e. if there is a(n additional) memory leak, it is somewhere else. However, I complained about the build to freeze and not stopping with OOME. This happened to me more more than once, the OOME is occurring only sometimes and I wanted to know if someone else is facing this ... - Jörg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [PLEASE TEST] Apache Maven 3.0-RC2
Are you using Surefire 2.6? I believe that has a memory leak. See http://jira.codehaus.org/browse/SUREFIRE-647. On 23/09/2010, at 7:31 PM, Jörg Schaible wrote: > Hi, > > Benjamin Bentmann wrote: > >> Hi, >> >> in preparation for the release of Apache Maven 3.0, the Maven team is >> seeking your help to discover regressions since Maven 2.x. Everybody >> interested in taking a preview of the upcoming release for a test drive >> can get source and binary bundles from this URL: >> >> > https://repository.apache.org/content/repositories/maven-006/org/apache/maven/apache- > maven/3.0-RC2/ >> >> Before reporting any issues found during testing, please be sure to have >> a close look at the compatibility notes for Maven 3.x: >> >> > https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes >> >> If you encounter unexpected build issues, please fill a report in JIRA >> that provides sufficient information to reproduce and analyze the issue: >> >> http://jira.codehaus.org/browse/MNG >> >> The fixes contained in this release candidate since the 3.0-beta-3 >> release and the previous RC1 can also be seen in JIRA: >> >> http://jira.codehaus.org/secure/ReleaseNote.jspa?atl_token=PRIR5ueW- > i&version=13142&styleName=Text&projectId=10500&Create=Create > > we have a huge build with about 300 artifacts and from time to time we run a > simple "clean install". However, with M3 (tested with RC1+RC2) the process > slows down until it "freezes" within the compiler plugin after roughly half > of the projects. It is not even possible to interrupt the build, I have to > actively kill the process. Using M2 the build simply runs OOM at some stage > and stops. I can continue and finish the build with both versions using the > --resume-from option. > > Is it possible that the new code for parallel processing unintentionally > swallows the OOME? Does someone else observe the same behavior? > > %< == > $ mvn -v > Apache Maven 3.0-RC2 (r1000119; 2010-09-22 20:23:26+0200) > Java version: 1.6.0_21 > Java home: /opt/sun-jdk-1.6.0.21/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux" version: "2.6.34-gentoo-r6" arch: "i386" Family: "unix" > %< == > > > - Jörg > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org >
RE: [PLEASE TEST] Apache Maven 3.0-RC2
Hi Our build which consists of 57 projects fails with the following on 3.0-RC2 (Ok on 2.2.1) [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) on project site-resources: Execution default-install of goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install failed: Un able to load the mojo 'install' in the plugin 'org.apache.maven.plugins:maven-install-plugin:2.3.1'. A required class is missing: org.codehaus.plexus.digest.Digester [ERROR] - [ERROR] realm = plugin>org.apache.maven.plugins:maven-install-plugin:2.3.1 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/e:/data/.m2/repository/org/apache/maven/plugins/maven-install-plug in/2.3.1/maven-install-plugin- 2.3.1.jar [ERROR] urls[1] = file:/e:/data/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus -utils-1.1.jar [ERROR] Number of foreign imports: 4 [ERROR] import: Entry[import org.codehaus.plexus.util.xml.pull.XmlSerializer from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParserException from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParser from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.plexus.util.xml.Xpp3Dom from realm ClassRealm[plexus.core, parent: null]] [ERROR] [ERROR] realm =maven.api [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] Number of foreign imports: 21 [ERROR] import: Entry[import org.sonatype.aether from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.plexus.personality from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.plexus.logging from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.plexus.lifecycle from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.plexus.context from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.plexus.container from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.plexus.configuration from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.plexus.component from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.plexus.classworlds from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.plexus.PlexusContainerException from realm ClassRealm[plexus.core, parent: nul l]] [ERROR] import: Entry[import org.codehaus.plexus.PlexusContainer from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.plexus.PlexusConstants from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.plexus.MutablePlexusContainer from realm ClassRealm[plexus.core, parent: null] ] [ERROR] import: Entry[import org.codehaus.plexus.DuplicateChildContainerException from realm ClassRealm[plexus.core, par ent: null]] [ERROR] import: Entry[import org.codehaus.plexus.DefaultPlexusContainer from realm ClassRealm[plexus.core, parent: null] ] [ERROR] import: Entry[import org.codehaus.plexus.DefaultContainerConfiguration from realm ClassRealm[plexus.core, parent : null]] [ERROR] import: Entry[import org.codehaus.plexus.DefaultComponentRegistry from realm ClassRealm[plexus.core, parent: nul l]] [ERROR] import: Entry[import org.codehaus.plexus.ContainerConfiguration from realm ClassRealm[plexus.core, parent: null] ] [ERROR] import: Entry[import org.codehaus.plexus.ComponentRegistry from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.codehaus.classworlds from realm ClassRealm[plexus.core, parent: null]] [ERROR] import: Entry[import org.apache.maven from realm ClassRealm[plexus.core, parent: null]] mvh Hermod -Original Message- From: Benjamin Bentmann [mailto:benjamin.bentm...@udo.edu] Sent: Wednesday, September 22, 2010 8:44 PM To: Maven Developers List; Maven Users List Subject: [PLEASE TEST] Apache Maven 3.0-RC2 Hi, in preparation for the release of Apache Maven 3.0, the Maven team is seeking your help to discover regressions since Maven 2.x. Everybody interested in taking a preview of the upcoming release for a test drive can get source and binary bundles from this URL: https://repository.apache.org/content/repositories/maven-006/org/apache/ maven/apache-maven/3.0-RC2/ Before reporting any issues found during testing, please be sure to have a close look at the compatibility notes for Maven 3.x: https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibilit y+Notes If you encounter unexpected build issues, please fill a report in JIRA that provides sufficient information to reproduce and anal
Re: [PLEASE TEST] Apache Maven 3.0-RC2
Hi Kristian, Kristian Rosenvold wrote: > > Den 23.09.2010 11:31, skrev Jörg Schaible: >> Is it possible that the new code for parallel processing unintentionally >> swallows the OOME? Does someone else observe the same behavior? >> > Are you running with the -T option active ? No. - Jörg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [PLEASE TEST] Apache Maven 3.0-RC2
Den 23.09.2010 11:31, skrev Jörg Schaible: Is it possible that the new code for parallel processing unintentionally swallows the OOME? Does someone else observe the same behavior? Are you running with the -T option active ? Kristian - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [PLEASE TEST] Apache Maven 3.0-RC2
Hi, Works fine here (company builds and some open source stuff) Thanks ! 2010/9/22 Benjamin Bentmann : > Hi, > > in preparation for the release of Apache Maven 3.0, the Maven team is > seeking your help to discover regressions since Maven 2.x. Everybody > interested in taking a preview of the upcoming release for a test drive can > get source and binary bundles from this URL: > > https://repository.apache.org/content/repositories/maven-006/org/apache/maven/apache-maven/3.0-RC2/ > > Before reporting any issues found during testing, please be sure to have a > close look at the compatibility notes for Maven 3.x: > > https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes > > If you encounter unexpected build issues, please fill a report in JIRA that > provides sufficient information to reproduce and analyze the issue: > > http://jira.codehaus.org/browse/MNG > > The fixes contained in this release candidate since the 3.0-beta-3 release > and the previous RC1 can also be seen in JIRA: > > http://jira.codehaus.org/secure/ReleaseNote.jspa?atl_token=PRIR5ueW-i&version=13142&styleName=Text&projectId=10500&Create=Create > > Thanks, > > > -The Maven team > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Olivier http://twitter.com/olamy http://www.linkedin.com/in/olamy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [PLEASE TEST] Apache Maven 3.0-RC2
Works fine with my most important builds, including "site". Jochen -- I Am What I Am And That's All What I Yam (Popeye) - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [PLEASE TEST] Apache Maven 3.0-RC2
Hi, Benjamin Bentmann wrote: > Hi, > > in preparation for the release of Apache Maven 3.0, the Maven team is > seeking your help to discover regressions since Maven 2.x. Everybody > interested in taking a preview of the upcoming release for a test drive > can get source and binary bundles from this URL: > > https://repository.apache.org/content/repositories/maven-006/org/apache/maven/apache- maven/3.0-RC2/ > > Before reporting any issues found during testing, please be sure to have > a close look at the compatibility notes for Maven 3.x: > > https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes > > If you encounter unexpected build issues, please fill a report in JIRA > that provides sufficient information to reproduce and analyze the issue: > > http://jira.codehaus.org/browse/MNG > > The fixes contained in this release candidate since the 3.0-beta-3 > release and the previous RC1 can also be seen in JIRA: > > http://jira.codehaus.org/secure/ReleaseNote.jspa?atl_token=PRIR5ueW- i&version=13142&styleName=Text&projectId=10500&Create=Create we have a huge build with about 300 artifacts and from time to time we run a simple "clean install". However, with M3 (tested with RC1+RC2) the process slows down until it "freezes" within the compiler plugin after roughly half of the projects. It is not even possible to interrupt the build, I have to actively kill the process. Using M2 the build simply runs OOM at some stage and stops. I can continue and finish the build with both versions using the --resume-from option. Is it possible that the new code for parallel processing unintentionally swallows the OOME? Does someone else observe the same behavior? %< == $ mvn -v Apache Maven 3.0-RC2 (r1000119; 2010-09-22 20:23:26+0200) Java version: 1.6.0_21 Java home: /opt/sun-jdk-1.6.0.21/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux" version: "2.6.34-gentoo-r6" arch: "i386" Family: "unix" %< == - Jörg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [PLEASE TEST] Apache Maven 3.0-RC2
Le Wed, 22 Sep 2010 20:44:14 +0200, Benjamin Bentmann a écrit : > Hi, > works fine except for a regression I already noticed (and tells in beta-2). The problem occurs when you use more than one plugin execution declared in different profile. I will make a little example to explain it better and post it to JIRA. > in preparation for the release of Apache Maven 3.0, the Maven team is > seeking your help to discover regressions since Maven 2.x. Everybody > interested in taking a preview of the upcoming release for a test drive > can get source and binary bundles from this URL: > > https://repository.apache.org/content/repositories/maven-006/org/apache/maven/apache-maven/3.0-RC2/ > > Before reporting any issues found during testing, please be sure to have > a close look at the compatibility notes for Maven 3.x: > > https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes > > If you encounter unexpected build issues, please fill a report in JIRA > that provides sufficient information to reproduce and analyze the issue: > > http://jira.codehaus.org/browse/MNG > > The fixes contained in this release candidate since the 3.0-beta-3 > release and the previous RC1 can also be seen in JIRA: > > http://jira.codehaus.org/secure/ReleaseNote.jspa?atl_token=PRIR5ueW-i&version=13142&styleName=Text&projectId=10500&Create=Create > > Thanks, > > > -The Maven team > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > -- Tony Chemit tél: +33 (0) 2 40 50 29 28 email: che...@codelutin.com http://www.codelutin.com - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [PLEASE TEST] Apache Maven 3.0-RC2
cool ;-) thanx. On Thu, Sep 23, 2010 at 2:27 PM, Benjamin Bentmann wrote: > kristian wrote: > >> any hints are welcome to do the "better". > > /** @parameter default-value="${repositorySystemSession}" > * @readonly > */ > private RepositorySystemSession repoSession; > > ... > > request.setRepositorySession( repoSesssion ); > > > Benjamin > > - > 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: [PLEASE TEST] Apache Maven 3.0-RC2
kristian wrote: any hints are welcome to do the "better". /** @parameter default-value="${repositorySystemSession}" * @readonly */ private RepositorySystemSession repoSession; ... request.setRepositorySession( repoSesssion ); Benjamin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [PLEASE TEST] Apache Maven 3.0-RC2
Hi, still having problem with ProjectBuilder. after I followed the API change of the ProjectBuildingRequest I see following Caused by: java.lang.NullPointerException at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:185) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:175) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:237) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:219) at de.saumya.mojo.gemify.TestMojo.execute(TestMojo.java:60) I setup a gist with the problematic code: http://gist.github.com/593253 it works with version beta-2 and before and gets the NPE with version beta-3 and later. any hints are welcome to do the "better". with regards, Kristian On Thu, Sep 23, 2010 at 12:14 AM, Benjamin Bentmann wrote: > Hi, > > in preparation for the release of Apache Maven 3.0, the Maven team is > seeking your help to discover regressions since Maven 2.x. Everybody > interested in taking a preview of the upcoming release for a test drive can > get source and binary bundles from this URL: > > https://repository.apache.org/content/repositories/maven-006/org/apache/maven/apache-maven/3.0-RC2/ > > Before reporting any issues found during testing, please be sure to have a > close look at the compatibility notes for Maven 3.x: > > https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes > > If you encounter unexpected build issues, please fill a report in JIRA that > provides sufficient information to reproduce and analyze the issue: > > http://jira.codehaus.org/browse/MNG > > The fixes contained in this release candidate since the 3.0-beta-3 release > and the previous RC1 can also be seen in JIRA: > > http://jira.codehaus.org/secure/ReleaseNote.jspa?atl_token=PRIR5ueW-i&version=13142&styleName=Text&projectId=10500&Create=Create > > Thanks, > > > -The Maven team > > - > 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: [PLEASE TEST] Apache Maven 3.0-RC2
Is it a new process? For previous release, it was necessary to vote for all RC. Why don't you run a vote for 3.0 RCx? Emmanuel On Wed, Sep 22, 2010 at 8:44 PM, Benjamin Bentmann < benjamin.bentm...@udo.edu> wrote: > Hi, > > in preparation for the release of Apache Maven 3.0, the Maven team is > seeking your help to discover regressions since Maven 2.x. Everybody > interested in taking a preview of the upcoming release for a test drive can > get source and binary bundles from this URL: > > > https://repository.apache.org/content/repositories/maven-006/org/apache/maven/apache-maven/3.0-RC2/ > > Before reporting any issues found during testing, please be sure to have a > close look at the compatibility notes for Maven 3.x: > > > https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes > > If you encounter unexpected build issues, please fill a report in JIRA that > provides sufficient information to reproduce and analyze the issue: > > http://jira.codehaus.org/browse/MNG > > The fixes contained in this release candidate since the 3.0-beta-3 release > and the previous RC1 can also be seen in JIRA: > > > http://jira.codehaus.org/secure/ReleaseNote.jspa?atl_token=PRIR5ueW-i&version=13142&styleName=Text&projectId=10500&Create=Create > > Thanks, > > > -The Maven team > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
Re: [PLEASE TEST] Apache Maven 3.0-RC2
Great! On Wed, Sep 22, 2010 at 2:44 PM, Benjamin Bentmann wrote: > > https://repository.apache.org/content/repositories/maven-006/org/apache/maven/apache-maven/3.0-RC2/ > I just performed a 30-something multi-module release (prepare, perform [deploy, site-deploy]) and I did not notice any hiccups. Performance was not noticeably different for me, but I've been using 3.0-beta3 since its release. [INFO] Maven Version: 3.0-RC2 [INFO] JDK Version: 1.6.0_21 normalized as: 1.6.0-21 [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 2.6.32.21 Nice! -Jesse -- There are 10 types of people in this world, those that can read binary and those that can not. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org