[m2e-users] Error with m-jar-p 3.0.1 in Eclipse / m2e

2016-06-13 Thread Thorsten Heit
Hi, using maven-jar-plugin version 3.0.1 inside Eclipse, I now get the following error after updating my project(s): Error message: org.codehaus.plexus.archiver.jar.Manifest.write(java.io.PrintWriter) Resource: pom.xml Path: / Location: line 1 Type: Maven Configuration Problem This sounds like

Re: [m2e-users] Error with m-jar-p 3.0.1 in Eclipse / m2e

2016-06-13 Thread Thorsten Heit
Hi, > I'm using > - Eclipse Neon (4.6.0RC3) > - m2e 1.7.0.20160531-2022 > - m2e connector for mavenarchiver from the link in MJAR-222 > - Java 1.8.0_92 > > > Side note: > - Building from the command line works; the error only occurs in Eclipse. > - downgrading to 3.0.0 lets the error disappear

Re: [m2e-users] maven-war-plugin with m2e

2016-06-13 Thread Fred Bricon
I can't reproduce the issue with your sample project. This is the generated manifest in target/m2e-wp/web-resources/META-INF: Manifest-Version: 1.0 Bundle-SymbolicName: com.test.sample Built-By: fbricon Bundle-ManifestVersion: 2 Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Import-Package: javax

Re: [m2e-users] maven-war-plugin with m2e

2016-06-13 Thread Randy Toor
Hmm, which version of eclipse/maven/m2e? From: m2e-users-boun...@eclipse.org on behalf of Fred Bricon Sent: June 13, 2016 12:35 PM To: Maven Integration for Eclipse users mailing list Subject: Re: [m2e-users] maven-war-plugin with m2e I can't reproduce the is

Re: [m2e-users] maven-war-plugin with m2e

2016-06-13 Thread Randy Toor
Actually, mine has the same behaviour in the target/m2e/web-sources/META-INF folder. The problem is the source manifest file gets changed at src/main/webapp/META-INF/MANIFEST.MF. From: m2e-users-boun...@eclipse.org on behalf of Randy Toor Sent: June 13, 201

Re: [m2e-users] maven-war-plugin with m2e

2016-06-13 Thread Fred Bricon
My source manifest isn't changed. I tried with Mars.2, m2e 1.7, m2e-wtp 1.2.1 and latest Neon build with m2e 1.7, m2e-wtp 1.3 On Mon, Jun 13, 2016 at 3:47 PM, Randy Toor wrote: > Actually, mine has the same behaviour in the > target/m2e/web-sources/META-INF folder. The problem is the source man

Re: [m2e-users] maven-war-plugin with m2e

2016-06-13 Thread Randy Toor
Ah ok, it seems it isn't related to m2e. After running the maven update a build is triggered and there's another job run afterwards specifically to update the web context root. It's there that it gets changed. That job is part of the eclipse WTP osgi bundle facet. Seems to be related to htt

Re: [m2e-users] Error with m-jar-p 3.0.1 in Eclipse / m2e

2016-06-13 Thread Dan Tran
Confirm, i encounter the same issue, ended up to revert back to jar-plugin 2.6 Thanks -D On Mon, Jun 13, 2016 at 6:49 AM, Thorsten Heit wrote: > Hi, > > > I'm using > > - Eclipse Neon (4.6.0RC3) > > - m2e 1.7.0.20160531-2022 > > - m2e connector for mavenarchiver from the link in MJAR-222 > > -

Re: [m2e-users] Error with m-jar-p 3.0.1 in Eclipse / m2e

2016-06-13 Thread Fred Bricon
I'll investigate tomorrow, but I 'm surprised to see such an error in a maintenance release On Jun 13, 2016 10:06 PM, "Dan Tran" wrote: > Confirm, i encounter the same issue, ended up to revert back to jar-plugin > 2.6 > > Thanks > > -D > > On Mon, Jun 13, 2016 at 6:49 AM, Thorsten Heit > wrote: