Open dartartem opened 3 years ago
The bintray repository no longer exists. See https://bintray.com/
All of the io.eventuate libraries are now published to Maven Central.
This is a problem because io.microservices.tools.canvas
has not been migrated to Maven Central.
The following temporary fix is required:
I will work on getting io.microservices.tools.canvas published to Maven Central.
Thank you, I will use that fix
I have a fresh OS install on new machine (without previous builds of ftgo app)
What are the specs for the machine?
I increased java heap size from default 1Gb to 4Gb, but build was slow, so I disabled it and used the following command to inspect the problem:
How precisely did you increase heapsize?
And when you say "build was slow, so I disabled it " what do you mean by 'it'. Compilation? Running tests? Please be precise? Did it involve Docker? What's the resources configuration of the Docker VM?
What are the specs for the machine?
core i7-11700k, 32Gb RAM DDR4 (3200 MHz), 500 Gb SSD
How precisely did you increase heapsize?
Inserted this:
org.gradle.jvmargs=-Xmx4096m
to gradle properties
And when you say "build was slow, so I disabled it " what do you mean by 'it'. Compilation? Running tests?
I canceled tests
Did it involve Docker?
no
As I wrote further in the issue, problem in slow requests to wrong repositories.
gradle searchs for artifacs in order of specified repositories.
And even single request could take much time:
Failed to get resource: HEAD. [HTTP HTTP/1.1 403 Forbidden: https://dl.bintray.com/eventuateio-oss/eventuate-maven-rc/io/zipkin/reporter2/zipkin-reporter-bom/2.11.0/zipkin-reporter-bom-2.11.0.pom)]
this took more than minute.
Problem was solved to defining maven central repository first.
core i7-11700k, 32Gb RAM DDR4 (3200 MHz), 500 Gb SSD
Operating system?
java -version
Also, if references to the bintray repo are removed does the build still need org.gradle.jvmargs=-Xmx4096m
OS DISTRIB_ID=LinuxMint DISTRIB_RELEASE=20.1 5.4.0-58-generic
java --verison:
java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
Also, if references to the bintray repo are removed does the build still need org.gradle.jvmargs=-Xmx4096m
I will remove canvas tools and check, 99.99% it is not necessary.
I ran a build that published microservice-canvas-tools 0.7.0.RELEASE to Maven Central. However, it hasn't shown up there yet (there is always a delay between publish and the sync to Maven Central). It's taking longer than normal though.
Hi, Looks like still some dependencies are missing. I've been trying to compile the project using the maven central repository and I've found some missing dependencies, I've fixed locally the problem updating the versions on the following branches:
Regards
I have a fresh OS install on new machine (without previous builds of ftgo app) so have no (or have only some) cached java libraries.
When I ran build-and-test-all.sh the application build took more than 30 min and failed with OutOfMemoryError:
First thought was that there was not enough memory and GC took all resources.
I increased java heap size from default 1Gb to 4Gb, but build was slow, so I disabled it and used the following command to inspect the problem:
./gradlew assemble -i
Last request was hanging more than minute.
I changed repository declaration from:
to
Project building had fast progress, but failed with:
But logs contain repository that specified here: https://github.com/microservice-canvas/microservice-canvas-tools
https://dl.bintray.com/eventuateio-oss/microservice-canvas-tools-release