Update Site for an Eclipse plugin project [message #1831630] |
Tue, 25 August 2020 16:32 |
Jannis Brune Messages: 2 Registered: August 2020 |
Junior Member |
|
|
I am trying to automate an existing Eclipse plugin project with Tycho Maven.
Before I convert the actual project, I tried a demo project. After some failures it finally worked out. But I have problems getting the update site to work.
I can create the update site manualy (via Export -> Deployable Feature), but my UpdateSite-Project is throwing errors some weird errors:
I have specified the tycho-maven-plugin in the pom.xml from the parent project. There the version 1.7.0 was defined.
But supposedly version 0.22.0 was defined in the pom.xml of the updateSite. But this never happened.
[INFO] Scanning for projects...
[ERROR] Several versions of tycho plugins are configured [0.22.0, 1.7.0]:
[ERROR] 0.22.0:
[ERROR] MavenProject: com.vogella.ide.updatesite:com.vogella.ide.updatesite:1.0.0 @ C:\[...]\workspaces\yamm-maven-migration\com.vogella.ide.updatesite\pom.xml
[ERROR] 1.7.0:
[ERROR] MavenProject: com.vogella.ide.parent:com.vogella.ide.parent:1.0.0 @ C:\[...]\workspaces\yamm-maven-migration\com.vogella.ide.parent\pom.xml
[ERROR] All tycho plugins configured in one reactor must use the same version -> [Help 1]
[...]
If I specify version 0.22.0 in the parent project, the error does not appear anymore.
You can find the two pom files in the attachment. What could be the reason for this?
My second problem occurs when I use version 0.22.0 of tycho-maven:
[INFO] Resolving dependencies of MavenProject: com.vogella.ide.updatesite:com.vogella.ide.updatesite:1.0.0 @ C:\[...]\workspaces\yamm-maven-migration\com.vogella.ide.updatesite\pom.xml
[INFO] {osgi.os=win32, osgi.ws=win32, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: com.vogella.ide.updatesite 1.0.0
[ERROR] Missing requirement: com.vogella.ide.updatesite 1.0.0 requires 'com.vogella.ide.feature.feature.group [1.0.0,1.0.1)' but it could not be found
[...]
Why can't he find my feature even though the project was created for it?
Without the "com.vogella.ide.updatesite" module, maven can successfully build the project.
Thanks in advance
Jannis
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09272 seconds