Re: maven-jar-plugin out of heap space
Hi, the VOTE for a fixed version maven-jar-plugin will be finished within a few days which includes this fix.. so only a few days to live with this remporary solution. Kind regards Karl Heinz Marbaise On 6/8/16 11:48 PM, Csaba Kozák wrote: Hey Karl, Updating plexus-archiver seems to do the trick. On 29 May 2016 at 15:21, Karl Heinz Marbaisewrote: Hi, I have checked a setup with -Xmx32m ...which will not work...but if you increase to -Xmx40m it will work... Kind regards Karl Heinz Marbaise On 5/29/16 3:11 PM, Karl Heinz Marbaise wrote: Hi, On 5/26/16 9:13 PM, WonderCsabo wrote: Hey, After i updated the maven-jar-plugin to version 3.0.0, i started to see these problems on my CI build: https://travis-ci.org/WonderCsabo/androidannotations/jobs/132201434#L2473 I can verify that this only happens with 3.0.0. Could you please try to configuration the maven-jar-plugin 3.0.0 like this in your build and check if this helps: org.apache.maven.plugins maven-jar-plugin 3.0.0 org.codehaus.plexus plexus-archiver 3.3 Kind regards Karl Heinz Marbaise - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven and Eclipse
On 9 June 2016 at 01:00,wrote: > Thanks Curtis! > > That's exactly what I did. > > As soon as I get a chance, I'll try a fresh install of Mars 2 and see how > it goes. I usually do my Eclipse upgrades with fresh installs, this is the > first time I tried to upgrade from a previous version. > > Mike And when you resolve the issue, can you post back your findings for search engines to find. Thanks.
Re: maven-jar-plugin out of heap space
Hey Karl, Updating plexus-archiver seems to do the trick. On 29 May 2016 at 15:21, Karl Heinz Marbaisewrote: > Hi, > > I have checked a setup with -Xmx32m ...which will not work...but if you > increase to -Xmx40m it will work... > > Kind regards > Karl Heinz Marbaise > On 5/29/16 3:11 PM, Karl Heinz Marbaise wrote: > >> Hi, >> >> On 5/26/16 9:13 PM, WonderCsabo wrote: >> >>> Hey, >>> >>> After i updated the maven-jar-plugin to version 3.0.0, i started to see >>> these problems on my CI build: >>> >>> https://travis-ci.org/WonderCsabo/androidannotations/jobs/132201434#L2473 >>> >>> I can verify that this only happens with 3.0.0. >>> >> >> Could you please try to configuration the maven-jar-plugin 3.0.0 like >> this in your build and check if this helps: >> >> >> >> >> org.apache.maven.plugins >> maven-jar-plugin >> 3.0.0 >> >> >> org.codehaus.plexus >> plexus-archiver >> 3.3 >> >> >> >> >> >> >> >> Kind regards >> Karl Heinz Marbaise >> > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
[ANN] Apache Maven Resources Plugin Version 3.0.1 Released
The Apache Maven team is pleased to announce the release of the Apache Maven Resources Plugin Version 3.0.1. https://maven.apache.org/plugins/maven-resources-plugin/ Important Note: * Maven 3.X only * JDK 6 minimum requirement You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-resources-plugin 3.0.1 You can download the appropriate sources etc. from the download page: https://maven.apache.org/plugins/maven-resources-plugin/download.cgi Release Notes Maven Resources Plugin 3.0.1 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317827=12335752 Bug: * [MRESOURCES-225] - Hyperlink error on character encoding example page Improvements: * [MRESOURCES-226] - Too much logging in normal mode * [MRESOURCES-227] - Upgrade maven-plugins to version 30 * [MRESOURCES-229] - Upgrade plexus-interpolation to 1.22 Enjos, -The Apache Maven team - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Maven and Eclipse
Thanks Curtis! That's exactly what I did. As soon as I get a chance, I'll try a fresh install of Mars 2 and see how it goes. I usually do my Eclipse upgrades with fresh installs, this is the first time I tried to upgrade from a previous version. Mike Michael Tarullo Contractor (Engility Corp) Software Engineer FAA WJH Technical Center (609)485-5294 -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Wednesday, June 08, 2016 11:08 AM To: Maven Users List Subject: Re: Maven and Eclipse Hi Michael, > That is why I was wondering if the problem was either the new Mars 2 > version of Eclipse or possibly the m2e plugin. For what it's worth, M2E works great on my system with Eclipse Mars.2. I would suggest testing with a fresh installation of Eclipse and a clean workspace -- if you migrated your workspace from Luna it might be that something got hosed up there. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/ On Wed, Jun 8, 2016 at 9:58 AM,wrote: > Yes the compile (of course with the exact same POM) works from the > command line. That is why I was wondering if the problem was either > the new Mars 2 version of Eclipse or possibly the m2e plugin. As per > the question in your reply and my answer here, I will post something > to the m2e mailing list, as you suggest. > > Michael Tarullo > Contractor (Engility Corp) > Software Engineer > FAA WJH Technical Center > (609)485-5294 > > -Original Message- > From: Barrie Treloar [mailto:baerr...@gmail.com] > Sent: Tuesday, June 07, 2016 5:13 PM > To: Maven Users List > Subject: Re: Maven and Eclipse > > On 8 June 2016 at 01:33, wrote: > > > I have recently been doing Maven builds from Eclipse Luna with no > problems. > > > > Recently I upgraded Eclipse to Mars 2 and Maven builds that worked > > in the past no longer work. I have posted the error I'm getting at > > the end of this email. In addition, it appears that the Maven -> > > Update > project > > Feature is no longer working. When I do this from Eclipse Mars 2 on > > an empty local repo, the local repo is populated from my remote repo > > fine, but the Java Build Path Libraries are not populated, when I > > start with both an empty local repo and no libraries other than the JDK. > > > > I am using the m2e-workspace v0.3.1. Does this need to be changed > > as a result of my upgrade from Luna to Mars 2? > > > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile > > (default-compile) on project queue.producer: > > Execution default-compile of goal > > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile failed: > > Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 > > or one of its dependencies could not be resolved: > > Failure to find org.apache.maven:maven-plugin-api:jar:2.0.9 > > in > > > https://swimrepo.faa.gov/nexus/content/repositories/Repo-jboss-fuse-06 > -02-01-Releases > > was cached in the local repository, resolution will not be > > reattempted until the update interval of SwimRepo > > has elapsed or updates are forced -> [Help 1] > > > Does this work on the command line ? > If yes, then you need to email the m2e mailing list to troubleshoot > further. > https://dev.eclipse.org/mailman/listinfo/m2e-users > > This error doesn't look like a problem with maven or m2e. > This looks like org.apache.maven:maven-plugin-api:jar:2.0.9 is not in > your organisations nexus proxy. > > From the path in the url to the nexus repo it looks like a jboss fuse > cache. > My last recollection of the jboss caches were they were bastardized > copies of central to work with jboss. > I'd recommend making that cache the last thing the nexus proxy > attempts to check. > > - > 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: Maven and Eclipse
Hi Michael, > That is why I was wondering if the problem was either the new Mars 2 > version of Eclipse or possibly the m2e plugin. For what it's worth, M2E works great on my system with Eclipse Mars.2. I would suggest testing with a fresh installation of Eclipse and a clean workspace -- if you migrated your workspace from Luna it might be that something got hosed up there. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/ On Wed, Jun 8, 2016 at 9:58 AM,wrote: > Yes the compile (of course with the exact same POM) works from the command > line. That is why I was wondering if the problem was either the new Mars 2 > version of Eclipse or possibly the m2e plugin. As per the question in your > reply and my answer here, I will post something to the m2e mailing list, as > you suggest. > > Michael Tarullo > Contractor (Engility Corp) > Software Engineer > FAA WJH Technical Center > (609)485-5294 > > -Original Message- > From: Barrie Treloar [mailto:baerr...@gmail.com] > Sent: Tuesday, June 07, 2016 5:13 PM > To: Maven Users List > Subject: Re: Maven and Eclipse > > On 8 June 2016 at 01:33, wrote: > > > I have recently been doing Maven builds from Eclipse Luna with no > problems. > > > > Recently I upgraded Eclipse to Mars 2 and Maven builds that worked in > > the past no longer work. I have posted the error I'm getting at the > > end of this email. In addition, it appears that the Maven -> Update > project > > Feature is no longer working. When I do this from Eclipse Mars 2 on > > an empty local repo, the local repo is populated from my remote repo > > fine, but the Java Build Path Libraries are not populated, when I > > start with both an empty local repo and no libraries other than the JDK. > > > > I am using the m2e-workspace v0.3.1. Does this need to be changed as > > a result of my upgrade from Luna to Mars 2? > > > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile > > (default-compile) on project queue.producer: > > Execution default-compile of goal > > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile failed: > > Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 or > > one of its dependencies could not be resolved: > > Failure to find org.apache.maven:maven-plugin-api:jar:2.0.9 in > > > https://swimrepo.faa.gov/nexus/content/repositories/Repo-jboss-fuse-06-02-01-Releases > > was cached in the local repository, resolution will not be > > reattempted until the update interval of SwimRepo > > has elapsed or updates are forced -> [Help 1] > > > Does this work on the command line ? > If yes, then you need to email the m2e mailing list to troubleshoot > further. > https://dev.eclipse.org/mailman/listinfo/m2e-users > > This error doesn't look like a problem with maven or m2e. > This looks like org.apache.maven:maven-plugin-api:jar:2.0.9 is not in your > organisations nexus proxy. > > From the path in the url to the nexus repo it looks like a jboss fuse > cache. > My last recollection of the jboss caches were they were bastardized copies > of central to work with jboss. > I'd recommend making that cache the last thing the nexus proxy attempts to > check. > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org >
RE: Maven and Eclipse
Yes the compile (of course with the exact same POM) works from the command line. That is why I was wondering if the problem was either the new Mars 2 version of Eclipse or possibly the m2e plugin. As per the question in your reply and my answer here, I will post something to the m2e mailing list, as you suggest. Michael Tarullo Contractor (Engility Corp) Software Engineer FAA WJH Technical Center (609)485-5294 -Original Message- From: Barrie Treloar [mailto:baerr...@gmail.com] Sent: Tuesday, June 07, 2016 5:13 PM To: Maven Users List Subject: Re: Maven and Eclipse On 8 June 2016 at 01:33,wrote: > I have recently been doing Maven builds from Eclipse Luna with no problems. > > Recently I upgraded Eclipse to Mars 2 and Maven builds that worked in > the past no longer work. I have posted the error I'm getting at the > end of this email. In addition, it appears that the Maven -> Update > project > Feature is no longer working. When I do this from Eclipse Mars 2 on > an empty local repo, the local repo is populated from my remote repo > fine, but the Java Build Path Libraries are not populated, when I > start with both an empty local repo and no libraries other than the JDK. > > I am using the m2e-workspace v0.3.1. Does this need to be changed as > a result of my upgrade from Luna to Mars 2? > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile > (default-compile) on project queue.producer: > Execution default-compile of goal > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile failed: > Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 or > one of its dependencies could not be resolved: > Failure to find org.apache.maven:maven-plugin-api:jar:2.0.9 in > https://swimrepo.faa.gov/nexus/content/repositories/Repo-jboss-fuse-06-02-01-Releases > was cached in the local repository, resolution will not be > reattempted until the update interval of SwimRepo > has elapsed or updates are forced -> [Help 1] Does this work on the command line ? If yes, then you need to email the m2e mailing list to troubleshoot further. https://dev.eclipse.org/mailman/listinfo/m2e-users This error doesn't look like a problem with maven or m2e. This looks like org.apache.maven:maven-plugin-api:jar:2.0.9 is not in your organisations nexus proxy. From the path in the url to the nexus repo it looks like a jboss fuse cache. My last recollection of the jboss caches were they were bastardized copies of central to work with jboss. I'd recommend making that cache the last thing the nexus proxy attempts to check. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org