-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Description
Using the newest 2.0 branch of the codebase and trying to build, there are two url's that are not valid anymore.
Can this be updated please ?
https://repo.maven.apache.org/maven2/org/onebusaway/onebusaway-siri-api-v20/1.0.3/onebusaway-siri-api-v20-1.0.3.jar
http://repo.obaweb.org:8080/archiva/repository/releases/
Details:
[ERROR] Failed to execute goal on project onebusaway-api-webapp: Could not resolve dependencies for project org.onebusaway:onebusaway-api-webapp:war:2.0.0: Failed to collect dependencies at org.onebusaway:onebusaway-transit-data-federation:jar:2.0.0 -> org.onebusaway:onebusaway-siri-api-v20:jar:1.0.3: Failed to read artifact descriptor for org.onebusaway:onebusaway-siri-api-v20:jar:1.0.3: Could not transfer artifact org.onebusaway:onebusaway-siri-api-v20:pom:1.0.3 from/to releases-camsys-repo (http://repo.obaweb.org:8080/archiva/repository/releases/): Connect to repo.obaweb.org:8080 [[repo.obaweb.org/54.173.39.56](http://repo.obaweb.org/54.173.39.56)] failed: Connection timed out (Connection timed out) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
To solve this temporarly, we're disabling repository repo.obaweb.org, creating setting.xml file in .m2 folder with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<profiles>
<profile>
<id>disable-repository</id>
<repositories>
<repository>
<id>snapshots-camsys-repo</id>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<!-- add the URL of the repository below -->
<url>http\:[//repo.obaweb.org](https://go-europa.slack.com//repo.obaweb.org)\:8080/arch</url>
</repository>
<repository>
<id>releases-camsys-repo</id>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<!-- add the URL of the repository below -->
<url>http\:[//repo.obaweb.org](https://go-europa.slack.com//repo.obaweb.org)\:8080/archiv</url>
</repository>
<repository>
<id>wmata-repo</id>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<!-- add the URL of the repository below -->
<url>http\:[//repo.prod.wmata.obaweb.org](https://go-europa.slack.com//repo.prod.wmata.obaweb.org)\:8080</url>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>disable-repository</activeProfile>
</activeProfiles>
</settings>
but then we get this error:
Downloading from central: https://repo.maven.apache.org/maven2/org/onebusaway/onebusaway-siri-api-v20/1.0.3/onebusaway-siri-api-v20-1.0.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.026 s
[INFO] Finished at: 2023-03-29T18:18:03+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project onebusaway-api-webapp: Could not resolve dependencies for project org.onebusaway:onebusaway-api-webapp:war:2.0.0: Could not find artifact org.onebusaway:onebusaway-siri-api-v20:jar:1.0.3 in [public.onebusaway.org](http://public.onebusaway.org/) (http://nexus.onebusaway.org/content/groups/public/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Metadata
Metadata
Assignees
Labels
No labels