You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Maven artefact published to the local repo, when using gradle clean build publishToMavenLocal, has invalid dependency version syntax (using latest maven: 3.6.0):
This causes Maven to report:
[ERROR] Failed to execute goal on project NDHA-ExternalDCTool: Could not resolve dependencies for project nz.govt.natlib.ndha.externaldctool:NDHA-ExternalDCTool:jar:0.1: The following artifacts could not be resolved: com.google.guava:guava:jar:+, org.apache.commons:commons-lang3:jar:+: Could not find artifact com.google.guava:guava:jar:+ in dia-nexus (https://nexus.dia.govt.nz/repository/maven-public/) -> [Help 1]
Substituting in a fixed version number, e.g. 27.0-jre for guava resolves this issue.
The Maven Versions plugin should be used to keep the dependency version number up to date
The text was updated successfully, but these errors were encountered:
@RenYuENG It appears that maven doesn't support the + syntax. Can you create a branch and update the versions to the last matching version. Look on maven central. Assign it to me.
@kurtlenfesty I'll make a branch and make any changes that I thought were needed to get the tool working with my Watermarker project ... might need to add some new methods to get the SIP fields I need. I'll make a merge request when you get back. Enjoy your holiday!
The Maven artefact published to the local repo, when using gradle clean build publishToMavenLocal, has invalid dependency version syntax (using latest maven: 3.6.0):
This causes Maven to report:
[ERROR] Failed to execute goal on project NDHA-ExternalDCTool: Could not resolve dependencies for project nz.govt.natlib.ndha.externaldctool:NDHA-ExternalDCTool:jar:0.1: The following artifacts could not be resolved: com.google.guava:guava:jar:+, org.apache.commons:commons-lang3:jar:+: Could not find artifact com.google.guava:guava:jar:+ in dia-nexus (https://nexus.dia.govt.nz/repository/maven-public/) -> [Help 1]
Substituting in a fixed version number, e.g. 27.0-jre for guava resolves this issue.
The Maven Versions plugin should be used to keep the dependency version number up to date
The text was updated successfully, but these errors were encountered: