I’m trying to replicate the upstream build using maven. I’m able to get it to compile (using mvn package), but when using the generated jar, it fails because of the missing dependencies.
I tried using mvn dependency:copy-dependencies to copy the dependencies to the target folder, but that failed for me:
- [ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8: 1 problem was encountered while building the effective model
- [ERROR] [FATAL] Non-parseable POM /home/build/workdir/build/local_maven_repo/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.pom:
end tag name must match start tag name
from line 5 (position: TEXT seen …\r\n… @6:8)
@ line 6, column 8
Could someone share how the official releases on central.maven.org (i.e., http://central.maven.org/maven2/com/floragunn/search-guard-6/6.3.1-22.3/search-guard-6-6.3.1-22.3.zip) are being built?
For reference, trying to build git tag v6.3.1-22.3.