Project

General

Profile

Actions

Task #701

closed

Dependencies missing while building from source

Added by Jan Helbich over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Radek Tomiška
Category:
Infrastructure
Target version:
Start date:
09/14/2017
Due date:
% Done:

100%

Estimated time:
Owner:

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>

Actions #1

Updated by Jan Helbich over 6 years ago

  • Assignee changed from Zdeněk Burda to Radek Tomiška
Actions #2

Updated by Radek Tomiška over 6 years ago

I configured this repository as proxy in nexus ... I'll look what is changed.

Actions #3

Updated by Radek Tomiška over 6 years ago

https://nexus.bcvsolutions.eu/repository/maven-public/ is not available now without credentials. I'll discuss this with Zdenek.

Actions #4

Updated by Vladimír Kotýnek over 6 years ago

  • 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.

Actions #5

Updated by Radek Tomiška over 6 years ago

Its the same issue - Error code 403, Forbidden - you not have access to read repository artefacts.

Actions #6

Updated by Vít Švanda over 6 years ago

  • Target version deleted (Diamond (7.4.0))
Actions #7

Updated by Radek Tomiška over 6 years ago

  • Status changed from New to Closed
  • Target version set to Forsterite (7.6.0)
  • % Done changed from 0 to 100

New public repository with required artifacts is created (https://nexus.bcvsolutions.eu/#browse/browse/components:maven-public-releases). I added this new and jcenter repository directly into our parent module project. Now is possible to build whole application without credentials to our nexus => and no additional maven setting (setting.xml) is needed now.

Actions

Also available in: Atom PDF