getting: Tycho build extension not configured for MavenProject (when upping from 2.6 to 2.75) #1525
Replies: 5 comments 2 replies
-
hmm it does build in that git repo my "nomal" java plugins the one that fails is my target one:
so all other have the same parent (and those build fine) |
Beta Was this translation helpful? Give feedback.
-
Usually means you need to add Tycho as a build plugin with Lines 28 to 33 in ac83caa |
Beta Was this translation helpful? Give feedback.
-
yes i already have that for years.. the weird thing is it is something about the parent pom...
then it builds but if i then go to the parent i try to build: [INFO] Building servoy-eclipse 2022.12.0.3820_rc [2/25] that servoy-eclipse is the parent pom.. and that fails: [ERROR] Failed to execute goal org.eclipse.tycho:target-platform-configuration:2.7.5:target-platform (default-target-platform) on project servoy-eclipse: Execution default-target-platform of goal org.eclipse.tycho:target-platform-configuration:2.7.5:target-platform failed: Tycho build extension not configured for MavenProject: com.servoy:servoy-eclipse:2022.12.0.3820_rc with the target-platform-configuration: but if i then go to a sub folder and build that (that has the parent pom) i get: INFO] --- target-platform-configuration:2.7.5:target-platform (default-target-platform) @ com.servoy.eclipse.model --- not sure why i get those google (guava) warnings here, but then it works nicely and builds it.. so in other works the target platform which was very simple pom but a reference to the parent pom failed. |
Beta Was this translation helpful? Give feedback.
-
that building of sub folders or that parent works by the way in the mode that the subfolder doesn't have a pom.xml at all or it does have 1 pointing to the parent. |
Beta Was this translation helpful? Give feedback.
-
it is just quite weird because this parent pom doesn't want to build: https://github.com/Servoy/servoy-eclipse/blob/master/pom.xml but it is very similar build up as: https://github.com/Servoy/servoy-client/blob/master/pom.xml and that one works fine.. (these are just the "old" one that use tycho 2.6.0, i have some changes now locally) |
Beta Was this translation helpful? Give feedback.
-
We want to move to Java17 with our product so 2.6 didn't work for me (i got stuff like compiler level not supported)
so i moved to Type 2.7.5 (i tried first 3.0.0 but that had other problems like i think already is discussed here, i will try this later and report it)
For many of our git repo's this all worked fine it compiles nicely.
But then i hit our main, which is the actual eclipse based project/git, that really is git repo that has the feature/product/target stuff.
When i just want to build only the target platform plugin i already get this:
[ERROR] Failed to execute goal org.eclipse.tycho:target-platform-configuration:2.7.5:target-platform (default-target-platform) on project com.servoy.eclipse.target: Execution default-target-platform of goal org.eclipse.tycho:target-platform-configuration:2.7.5:target-platform failed: Tycho build extension not configured for MavenProject: com.servoy:com.servoy.eclipse.target:2022.12.0.3820_rc @
I do have that .mvn/extensions.xml with the contents:
i also tried it without..
The error doesn't really say where to look or what todo.
Beta Was this translation helpful? Give feedback.
All reactions