Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] m-jar-p 3.0.0 gives errors in m2e

the m2eclipse-mavenarchiver plugin is doing some reflection (boooh) on the maven-archiver plugin in order to manipulate the manifests. Seems like the latest maven-archiver release changed some internal methods, which breaks the eclipse integration.

Please open a bug at https://github.com/tesla/m2eclipse-mavenarchiver, I'll see what I can do. before the Neon release.


On Fri, May 20, 2016 at 8:03 AM, Thorsten Heit <thorsten.heit@xxxxxx> wrote:
Hello,

when I use the recently released maven-jar-plugin 3.0.0, Eclipse shows the following error in the problems view after updating the project:

Error: org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject, org.apache.maven.archiver.MavenArchiveConfiguration)
Resource: pom.xml
Path: /<my eclipse project>
Line: 1
Type: Maven Configuration Problem

I've found the following entry in Bugzilla, almost 4 1/2 years old; a user described the same problem, in that case it was maven-war-plugin:2.0.0:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=360087

The error magically disappears when I downgrade the plugin to the older version 2.6, and it only happens within Eclipse; building from the command line works.

There's also a JIRA issue for that:
https://issues.apache.org/jira/browse/MJAR-222

Does anyone have an idea what's going on here?


Eclipse Java EE IDE for Web Developers (4.6.0M7; build id: 20160505-1310)
m2e: 1.7.0.20160504-0322
Java 1.8.0_92


Regards

Thorsten

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users



--
"Have you tried turning it off and on again" - The IT Crowd
And if that fails, then http://goo.gl/tnBgH5

Back to the top