Re: Packaging m2e-wtp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm getting a bit further again with the m2e-wtp build. Disabling the
things with seem mostly relevant for the update site allowed the build
to progress.

Roland Grunberg wrote:
> There may be a workaround you could try that would avoid having to OSGi-ify
> maven-war-plugin. If you add the attribute 'Eclipse-BundleShape: dir' into
> the MANIFEST.MF for org.eclipse.m2e.wtp, then symlink the system jar for
> maven-war-plugin matching the name listed in Bundle-ClassPath, the build
> should work. The purpose of adding that attribute above is to avoid packaging
> the plugin as a jar, with an embedded jar, which is against guidelines. I
> think you'd probably have to re-symlink the jar for %%install as well.

It seems there is still a problem with this workaround. I'm facing the
error from XMvn that I should remove all dependencies with the scope
system. It mentions the maven-war-plugin-2.1.1.jar, which I symlinked.
The dependency section of this plugin doesn't have a scope specified,
should I add one to make this work? Is situation occurring also with
other builds?

Thanks,
Julius
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel





[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux