Closed vinnybod closed 5 years ago
Yeah, it's definitely something with your local env.
Verified on mine - master
branch is just fine.
[INFO] Tests run: 1847, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ prebid-server ---
[INFO] Building jar: /home/rpanchuk/tmp/prebid-server-java/target/prebid-server.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:2.1.1.RELEASE:repackage (default) @ prebid-server ---
[INFO] Replacing main artifact with repackaged archive
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:12 min
[INFO] Finished at: 2019-04-17T13:07:43+03:00
[INFO] Final Memory: 82M/1589M
My env:
Java:
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
Maven:
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T10:58:13+03:00)
Maven home: /home/<user>/opt/apache-maven-3.5.2
Java version: 1.8.0_201, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-47-generic", arch: "amd64", family: "unix"
Thanks, I updated my JDK and it worked. I was on 1.8.0_171, updated to the latest from adoptopendjk (202) and everything worked out.
Getting a lot of errors trying to build the latest version using Java 1.8
Edit: It looks like I am only getting these errors locally, not in our CI/CD. I am thinking maybe my laptop can't handle the parallelization?