Task #701
closed
Dependencies missing while building from source
Added by Jan Helbich over 7 years ago.
Updated about 7 years ago.
Description
Building from source without already downloaded maven dependencies fails on missing jar:
nl.jworks.markdown_to_asciidoc:markdown_to_asciidoc:jar:1.0
The solution is to add bintray repository to classic repositories, not only the ones for plugins. Diff:
diff --git a/Realization/backend/parent/pom.xml b/Realization/backend/parent/pom.xml
index e893cd0..06e1ab0 100644
--- a/Realization/backend/parent/pom.xml
+++ b/Realization/backend/parent/pom.xml
@@ -103,6 +103,11 @@
<enabled>false</enabled>
</snapshots>
</repository>
+ <repository>
+ <id>jcenter-releases</id>
+ <name>jcenter</name>
+ <url>http://jcenter.bintray.com</url>
+ </repository>
</repositories>
<pluginRepositories>
- Assignee changed from Zdeněk Burda to Radek Tomiška
I configured this repository as proxy in nexus ... I'll look what is changed.
- Priority changed from Normal to High
Radek Tomiška wrote:
https://nexus.bcvsolutions.eu/repository/maven-public/ is not available now without credentials. I'll discuss this with Zdenek.
Seems like credentials are not the issue. I'm trying to build IdM using the given credentials and wiki/github readme guides and
[ERROR] Failed to execute goal on project idm-parent: Could not resolve dependencies for project eu.bcvsolutions.idm:idm-parent:pom:7.4.0-SNAPSHOT: Failed to collect dependencies at io.github.swagger2markup:swagger2markup:jar:1.3.1 -> io.github.swagger2markup:markup-document-builder:jar:1.1.1 -> nl.jworks.markdown_to_asciidoc:markdown_to_asciidoc:jar:1.0: Failed to read artifact descriptor for nl.jworks.markdown_to_asciidoc:markdown_to_asciidoc:jar:1.0: Could not transfer artifact nl.jworks.markdown_to_asciidoc:markdown_to_asciidoc:pom:1.0 from/to nexus-public (https://nexus.bcvsolutions.eu/repository/maven-public/): Access denied to https://nexus.bcvsolutions.eu/repository/maven-public/nl/jworks/markdown_to_asciidoc/markdown_to_asciidoc/1.0/markdown_to_asciidoc-1.0.pom. Error code 403, Forbidden -> [Help 1]
is what i always get.
Its the same issue - Error code 403, Forbidden - you not have access to read repository artefacts.
- Target version deleted (
Diamond (7.4.0))
- Status changed from New to Closed
- Target version set to Forsterite (7.6.0)
- % Done changed from 0 to 100
Also available in: Atom
PDF