gtfs-realtime-validator
gtfs-realtime-validator copied to clipboard
Snapshot jar not available
The jar mentioned on https://github.com/MobilityData/gtfs-realtime-validator/packages/1268975 with
Could not resolve dependencies for project org.example:realtimevalidator:jar:1.0-SNAPSHOT: The following artifacts coul d not be resolved: org.mobilitydata:gtfs-realtime-validator-webapp:jar:1.0.0-SNAPSHOT (absent): Could not find artifact org.mobilitydata:gtfs-realtime-validator-webapp:jar:1.0.0-SN APSHOT -> [Help 1]
Hi @NVBWcho, I just tried it and I was able to download the jar:
Downloaded from github-repo: https://maven.pkg.github.com/MobilityData/gtfs-realtime-validator/org/mobilitydata/
gtfs-realtime-validator-webapp/1.0.0-SNAPSHOT/gtfs-realtime-validator-webapp-1.0.0-20220223.003525-2.jar (85 MB at 4.0 MB/s)
I was able to reproduce the error you had by having no repository defined in my pom.xml:
Could not resolve dependencies for project MobilityData:Example:jar:1.0: The following artifacts could not be resolved:
org.mobilitydata:gtfs-realtime-validator-webapp:jar:1.0.0-SNAPSHOT (absent):
Could not find artifact org.mobilitydata:gtfs-realtime-validator-webapp:jar:1.0.0-SNAPSHOT -> [Help 1]
When I have a repository defined, but it's wrong, the error message mentions the repository at the end (in github-repo...)
Could not resolve dependencies for project MobilityData:Example:jar:1.0: The following artifacts could not be resolved: org.mobilitydata:gtfs-realtime-validator-webapp:jar:1.0.0-SNAPSHOT (absent):
Could not find artifact org.mobilitydata:gtfs-realtime-validator-webapp:jar:1.0.0-SNAPSHOT in github-repo
(https://mobilitydata.org/MobilityData/gtfs-realtime-validator) -> [Help 1]
Hello, may you please describe how you managed to retrieve the jar? Following the procedure ended with: openjdk version "21.0.4" 2024-07-16
pom.xml :
mvn install
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Malformed POM /home/xavier/Documents/Civilia/projets/testedTools/gtfs-realtime-validator/pom.xml: Expected root element 'project' but found 'dependency' (position: START_TAG seen
[ERROR] The project org.mobilitydata:gtfs-realtime-validator-webapp:1.0.0-SNAPSHOT (/home/xavier/Documents/Civilia/projets/testedTools/gtfs-realtime-validator/pom.xml) has 3 errors
[ERROR] Malformed POM /home/xavier/Documents/Civilia/projets/testedTools/gtfs-realtime-validator/pom.xml: Expected root element 'project' but found 'dependency' (position: START_TAG seen
It looks like your pom.xml has errors in it. Can you provide it?
It is the one provided on the README page:
<dependency
<groupId>org.mobilitydata</groupId>
<artifactId>gtfs-realtime-validator-webapp</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>