I created a Github Action for building the project and notifying for any errors, in the commits, including the dependabot-updates.
Unfortunately, it is not working, since the package org.wheatinitiative.vivo:datasources seems to be produced manjually, by the user, and added in the local maven repository, hence it is not available when the Github Action wants to use it.
The produced error is the following:
Failed to execute goal on project solr: Could not resolve dependencies for project org.vivoweb:solr:war:1.9.3: Could not find artifact org.wheatinitiative.vivo:datasources:jar:1.0-SNAPSHOT in jboss-repo (https://repository.jboss.org/nexus/content/groups/public/) -> [Help 1]
I disabled it for now, so no "Build failed" notifications should be created for future commits.
In order for it to work, the "datasources.jar" could be added here. Then inside the pom.xml , the local-path for the org.wheatinitiative.vivo:datasource artifact could be added.
Another, approach would be to upload the "dataources" artifact to Github Packages automatically, using Github Actions in the "datasources" repository. Then, the pom.xml in this repository, should be updated to include the "Github Packages" repository, additionally to the "jboss-repo", used at the moment.
Also, another approach, is described here: https://stackoverflow.com/questions/14013644/hosting-a-maven-repository-on-github/14013645#14013645
I created a Github Action for building the project and notifying for any errors, in the commits, including the dependabot-updates.
Unfortunately, it is not working, since the package
org.wheatinitiative.vivo:datasourcesseems to be produced manjually, by the user, and added in the local maven repository, hence it is not available when the Github Action wants to use it.The produced error is the following:
Failed to execute goal on project solr: Could not resolve dependencies for project org.vivoweb:solr:war:1.9.3: Could not find artifact org.wheatinitiative.vivo:datasources:jar:1.0-SNAPSHOT in jboss-repo (https://repository.jboss.org/nexus/content/groups/public/) -> [Help 1]I disabled it for now, so no "Build failed" notifications should be created for future commits.
In order for it to work, the "datasources.jar" could be added here. Then inside the
pom.xml, the local-path for theorg.wheatinitiative.vivo:datasourceartifact could be added.Another, approach would be to upload the "dataources" artifact to Github Packages automatically, using Github Actions in the "datasources" repository. Then, the pom.xml in this repository, should be updated to include the "Github Packages" repository, additionally to the "jboss-repo", used at the moment.
Also, another approach, is described here: https://stackoverflow.com/questions/14013644/hosting-a-maven-repository-on-github/14013645#14013645