Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Build a feature patch for org.eclipse.jdt.core


I have no prior experience with maven nor tycho, please be nice.

I am trying to help the groovy-eclipse project by investigating a better way to maintain their jdt feature patch. The goal is to build a feature patch that includes a single patched plugin: org.eclipse.jdt.core. I have forked org.eclipse.jdt.core and applied the groovy patches. I am able to build this patched org.eclipse.jdt.core bundle with the instructions in When I execute 'mvn -Pbuild-individual-bundles clean install', my patched bundle is installed into the local repository (With a -SNAPSHOT qualifier)

Now for the feature patch: Since the org.eclipse.jdt.core repo only contains bundles and no features, I have also cloned org.eclipse.jdt to see how they build the org.eclipse.jdt feature. Here, I have added a 'module' that contains the groovy feature patch, using the org.eclipse.jdt feature pom as a template. The pom and feature.xml for the patch are pasted below.

Here I execute 'mvn -Pbuild-individual-bundles clean verify' to build the feature patch. My current problem is that the resulting feature references the latest org.eclipse.jdt.core milestone build from the target definition in the aggregator parent build, rather than the locally available SNAPSHOT build. (I am not sure how -SNAPSHOT would become a timestamped build which I'd guess need to happen here also..)

Now, I will for sure have follow up questions, but for now just this: How can I make the build to use the snapshot build instead?

Thanks for any help,

Here is the pom.xml of the feature patch:

<project xmlns=""; xmlns:xsi=""; xsi:schemaLocation="";>

And feature.xml:
<?xml version="1.0" encoding="UTF-8"?>



      <import feature="org.eclipse.jdt" patch="true"/>



Back to the top