Unable to update p2 repository with Eclipse 2019-12 & JDK 11

380 Views Asked by At

Error screenshot: Error message while updating P2 repo

After building the product with JDK 11 on Eclipse 2019-12, failed to update p2 repo due to org.apache.batik.util.gui 1.6.

Problem: Latest org.apache.batik.util.gui: 1.6 version Latest org.apache.batik.util: 1.11 version

Due to the version mismatch issue, unable to update p2.

Eclipse Link: https://download.eclipse.org/releases/2019-12/201912181000/

GMF tooling Link: https://download.eclipse.org/modeling/gmp/gmf-tooling/updates/releases-3.3.1a/

pom.xml

<profile>
      <id>2019-12-release</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <properties>
        <eclipse.repository>https://download.eclipse.org/releases/2019-12/201912181000/</eclipse.repository>
      </properties>
    </profile>


  </profiles>
  <repositories>
    <repository>
      <id>eclipse-repository</id>
      <layout>p2</layout>
      <url>${eclipse.repository}</url>
    </repository>
    <repository>
      <id>org.eclipse.swtbot.updatesite</id>
      <layout>p2</layout>
      <url>http://download.eclipse.org/technology/swtbot/releases/latest/</url>
    </repository>


     <repository>
      <id>org.eclipse.runtime.tooling</id>
      <layout>p2</layout>
      <url>https://download.eclipse.org/modeling/gmp/gmf-tooling/updates/releases-3.3.1a/</url>
    </repository>
</repositories>

Please let me know how do I resolve this issue. Without this, we can't upgrade our app (JDK 11 compatible).

0

There are 0 best solutions below