[fedora-java] Packaging m2e-wtp

Mikolaj Izdebski mizdebsk at redhat.com
Fri Feb 20 13:54:13 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.

My guess is that upstream is using older version of Tycho and you'll
need to port the build to Tycho 0.21.0 (patch pom.xml).

-- 
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk


More information about the java-devel mailing list