pkainulainen / junit5-examples Goto Github PK
View Code? Open in Web Editor NEWThis repository contains the example applications of my JUnit 5 tutorial.
License: Other
This repository contains the example applications of my JUnit 5 tutorial.
License: Other
Hi,
I downloaded the sample project. But when I did Run-as-Maven tests. I got the following on console
[INFO] Downloading: http://mumchrep01:8081/repository/maven-public/org/apache/maven/surefire/surefire-junit-platform/2.22.1/surefire-junit-platform-2.22.1.pom
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit-platform/2.22.1/surefire-junit-platform-2.22.1.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.117 s
[INFO] Finished at: 2020-01-16T17:22:17+05:30
[INFO] Final Memory: 17M/197M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project running-unit-tests: Unable to generate classpath: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information for org.apache.maven.surefire:surefire-junit-platform:jar:2.22.1: Failed to retrieve POM for org.apache.maven.surefire:surefire-junit-platform:jar:2.22.1: Could not transfer artifact org.apache.maven.surefire:surefire-junit-platform:pom:2.22.1 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[ERROR] org.apache.maven.surefire:surefire-junit-platform:jar:2.22.1
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] nexus (http://mumchrep01:8081/repository/maven-public/, releases=true, snapshots=true),
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] Path to dependency:
[ERROR] 1) dummy:dummy:jar:1.0
[ERROR] -> [Help 1]
Pl assist,
An easy workaround is to change class names to e.g. Person2, Person3, etc.
Everything else (run as gradle project) works nice.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.