Building Ignite with Adopt OpenJDK 11

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Building Ignite with Adopt OpenJDK 11

Marius Filip
Hi

I followed the Git Workflow instructions for contributors at the bottom of:

https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute

and then the build instructions in DEVNOTES.txt:

mvn clean install -Pall-java,all-scala,licenses -DskipTests

I get the following error:

[ERROR] Failed to execute goal on project ignite-jta: Could not resolve
dependencies for project org.apache.ignite:ignite-jta:jar:2.11.0-SNAPSHOT:
Failed to collect dependencies at org.ow2.jotm:jotm-core:jar:2.2.3 ->
org.ow2.carol:carol:jar:3.0.8 ->
org.jacorb:jacorb:jar:2.2.3-jonas-patch-20071018: Failed to read artifact
descriptor for org.jacorb:jacorb:jar:2.2.3-jonas-patch-20071018: Could not
transfer artifact org.jacorb:jacorb:pom:2.2.3-jonas-patch-20071018 from/to
maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for
repositories: [redhat-ga-repository (http://maven.repository.redhat.com/ga/,
default, releases), apache.snapshots (http://repository.apache.org/snapshots,
default, snapshots), ow2-snapshot (
http://repository.ow2.org/nexus/content/repositories/snapshots, default,
snapshots), ow2 (http://maven.ow2.org/maven2, default, releases)] -> [Help
1]

Is this related to using JDK 11 to build?

If this is a known issue or Java 11 is not supported, any pointer to the
correct info is much appreciated.

Thanks,
Marius Filip
vbm
Reply | Threaded
Open this post in threaded view
|

Re: Building Ignite with Adopt OpenJDK 11

vbm
Hi Marius,

This is more of a mvn repository issue. The jacorb jar is found at below
link

https://repository.ow2.org/nexus/content/repositories/ow2-legacy/org/jacorb/jacorb/2.2.3-jonas-patch-20071018/

You need to add this repo in your settings.xml file.


Regards,
Vishwas


On Sun, 18 Apr, 2021, 23:51 Marius Filip, <[hidden email]>
wrote:

> Hi
>
> I followed the Git Workflow instructions for contributors at the bottom of:
>
> https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute
>
> and then the build instructions in DEVNOTES.txt:
>
> mvn clean install -Pall-java,all-scala,licenses -DskipTests
>
> I get the following error:
>
> [ERROR] Failed to execute goal on project ignite-jta: Could not resolve
> dependencies for project org.apache.ignite:ignite-jta:jar:2.11.0-SNAPSHOT:
> Failed to collect dependencies at org.ow2.jotm:jotm-core:jar:2.2.3 ->
> org.ow2.carol:carol:jar:3.0.8 ->
> org.jacorb:jacorb:jar:2.2.3-jonas-patch-20071018: Failed to read artifact
> descriptor for org.jacorb:jacorb:jar:2.2.3-jonas-patch-20071018: Could not
> transfer artifact org.jacorb:jacorb:pom:2.2.3-jonas-patch-20071018 from/to
> maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for
> repositories: [redhat-ga-repository (
> http://maven.repository.redhat.com/ga/,
> default, releases), apache.snapshots (
> http://repository.apache.org/snapshots,
> default, snapshots), ow2-snapshot (
> http://repository.ow2.org/nexus/content/repositories/snapshots, default,
> snapshots), ow2 (http://maven.ow2.org/maven2, default, releases)] -> [Help
> 1]
>
> Is this related to using JDK 11 to build?
>
> If this is a known issue or Java 11 is not supported, any pointer to the
> correct info is much appreciated.
>
> Thanks,
> Marius Filip
>
Reply | Threaded
Open this post in threaded view
|

Re: Building Ignite with Adopt OpenJDK 11

Marius Filip
Thank you, Vishwas

Can you point to the reference in the documentation for this information?

If it is missing (and the info is transmitted via email) then I'll raise a
ticket and add it myself.

Thanks,
Marius Filip

On Mon, Apr 19, 2021 at 3:41 AM Vishwas Bm <[hidden email]> wrote:

> Hi Marius,
>
> This is more of a mvn repository issue. The jacorb jar is found at below
> link
>
>
> https://repository.ow2.org/nexus/content/repositories/ow2-legacy/org/jacorb/jacorb/2.2.3-jonas-patch-20071018/
>
> You need to add this repo in your settings.xml file.
>
>
> Regards,
> Vishwas
>
>
> On Sun, 18 Apr, 2021, 23:51 Marius Filip, <[hidden email]>
> wrote:
>
>> Hi
>>
>> I followed the Git Workflow instructions for contributors at the bottom
>> of:
>>
>> https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute
>>
>> and then the build instructions in DEVNOTES.txt:
>>
>> mvn clean install -Pall-java,all-scala,licenses -DskipTests
>>
>> I get the following error:
>>
>> [ERROR] Failed to execute goal on project ignite-jta: Could not resolve
>> dependencies for project org.apache.ignite:ignite-jta:jar:2.11.0-SNAPSHOT:
>> Failed to collect dependencies at org.ow2.jotm:jotm-core:jar:2.2.3 ->
>> org.ow2.carol:carol:jar:3.0.8 ->
>> org.jacorb:jacorb:jar:2.2.3-jonas-patch-20071018: Failed to read artifact
>> descriptor for org.jacorb:jacorb:jar:2.2.3-jonas-patch-20071018: Could not
>> transfer artifact org.jacorb:jacorb:pom:2.2.3-jonas-patch-20071018 from/to
>> maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for
>> repositories: [redhat-ga-repository (
>> http://maven.repository.redhat.com/ga/,
>> default, releases), apache.snapshots (
>> http://repository.apache.org/snapshots,
>> default, snapshots), ow2-snapshot (
>> http://repository.ow2.org/nexus/content/repositories/snapshots, default,
>> snapshots), ow2 (http://maven.ow2.org/maven2, default, releases)] ->
>> [Help
>> 1]
>>
>> Is this related to using JDK 11 to build?
>>
>> If this is a known issue or Java 11 is not supported, any pointer to the
>> correct info is much appreciated.
>>
>> Thanks,
>> Marius Filip
>>
>
vbm
Reply | Threaded
Open this post in threaded view
|

Re: Building Ignite with Adopt OpenJDK 11

vbm
Hi Marius,

Similar build failure issue was discussed in user mailing list.
http://apache-ignite-users.70518.x6.nabble.com/build-failure-for-module-hibernate-5-3-tp33621p33629.html

As suggested in above link, you can add to your settings.xml:
https://repository.ow2.org/nexus/content/repositories/public/


Regards,
Vishwas



--
Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/