Hi,
I am trying to setup maven and tycho as a build platform for
building my eclipse plugin projects. I have a one project called “com.test.build”
which will take care of building all plugin projects and it has a parent
pom.xml it calls other plugin’s pom.xml to build individual plugin.
Everything fine, but when I try to run a build with “qualifier” in
plugin version in MANIFEST.MF, I am getting below error:
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.eclipse.tycho:tycho-packaging-plugin:0.16.0:build-qualifier
(default-build-qualifier) on project com.test.main.core: Execution
default-build-qualifier of goal
org.eclipse.tycho:tycho-packaging-plugin:0.16.0:build-qualifier failed: One of
setGitDir or setWorkTree must be called.
Snippet of my pom.xml is as below:
<modelVersion>4.0.0</modelVersion>
<groupId>com.test</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
And in MANIFEST.MF version is as below:
Bundle-Version: 1.0.0.qualifier
If I try to remove “qualifier” from
bundle-version, I am able to run build successfully. If I specify qualifier, I
am getting above error. In eclipse IDE it shows me error (in pom.xml UI):
Plugin execution not covered by lifecycle configuration:
org.eclipse.tycho:tycho-packaging-plugin:0.16.0:build-qualifier (execution:
default-build-qualifier, phase: validate)
Can anyone guide me what’s happening here? I am using Eclipse
Kepler, JDK 1.7 and Maven 3.0.5 and Tycho 0.16.0
With Regards,
Pradeep
Cell: +91 - 8884382615
Skype: pradeepsimhanp
E-mail: pradeep.simha@xxxxxxxxxx