[fedora-java] Packaging m2e-wtp
Mikolaj Izdebski
mizdebsk at redhat.com
Wed Feb 25 12:24:18 UTC 2015
On 02/20/2015 01:45 PM, Julius Schwartzenberg wrote:
> I added a few more dependencies and now I'm running into this error:
>
> [ERROR] Failed to execute goal
> org.eclipse.tycho:tycho-packaging-plugin:0.21.0:package-plugin
> (default-package-plugin) on project org.eclipse.m2e.wtp.overlay:
> Execution default-package-plugin of goal
> org.eclipse.tycho:tycho-packaging-plugin:0.21.0:package-plugin failed:
> One of setGitDir or setWorkTree must be called. -> [Help 1]
>
> Is this related to these %global lines at the top? I wasn't sure what to
> do with them.
This is a bug in tycho-extras. I've just filed it:
https://bugzilla.redhat.com/show_bug.cgi?id=1196167
As workaround you can add to %prep:
%pom_remove_plugin :tycho-packaging-plugin
--
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk
More information about the java-devel
mailing list