tycho 2.7 generates dependencies now in the pom of the eclipse plugin, that are not just "jars" #1530
jcompagner
started this conversation in
General
Replies: 1 comment 3 replies
-
For 2.7.x you can either disable the consumer pom: https://tycho.eclipseprojects.io/doc/latest/tycho-packaging-plugin/update-consumer-pom-mojo.html generation, or you can add tycho-maven-plugin to your build (even though it is not used) as it contains mappings from tycho-types > maven types. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi,
we use our eclipse plugins (which for us are just jars that can also run in an OSGi environment) also in other projects that that have nothing todo with our eclipse based product..
problem now is with 2.7 that those projects don't work anymore because this happens:
the top level are the once as a dependency:
as you can see i already forced the type "jar" (i didn't have that)
But because they have dependencies to each other so mvn thinks it needs to also resolve this:
om.servoy:servoy_shared:eclipse-plugin:2022.12.0.3820_rc:compile
because in the com.servoy:servoy_headless_client.pom that is installed in my local repo i have now this (this is difference with tycho 2.6 which didn't generate this)
so now suddenly because of that type mvn tries to download that:
Downloading from developer_repo: https://developer.servoy.com/mvn_repository/com/servoy/servoy_shared/2022.12.0.3820_rc/servoy_shared-2022.12.0.3820_rc.eclipse-plugin
which of course doesn't work because that file is never created.. it is "jar" not "eclipse-plugin" ..
i couldn't find anything in the release notes for this.. But how should this work now?
Beta Was this translation helpful? Give feedback.
All reactions