Question

I tried to build the e-Delivery SMP 3.0.0-RC1 in Eclipse as a Maven project on a MacBook Pro.  I get the follwoing error indicating that I don't have access to the oracle jdbc jar.  Does anyone know why I get this error and how to fix it?

Failed to execute goal on project smp-server-library: Could not resolve dependencies for project eu.europa.ec.cipa:smp-server-library:bundle:3.0.0-RC1: Failed to collect dependencies at oracle:ojdbc6:jar:11.2.0.3: Failed to read artifact descriptor for oracle:ojdbc6:jar:11.2.0.3: Could not transfer artifact oracle:ojdbc6:pom:11.2.0.3 from/to webgate-digit (https://webgate.ec.europa.eu/CITnet/nexus/content/repositories/thirdparty): Access denied to https://webgate.ec.europa.eu/CITnet/nexus/content/repositories/thirdparty/oracle/ojdbc6/11.2.0.3/ojdbc6-11.2.0.3.pom. Error code 401, Unauthorized -> [Help 1]

Author: David HIXON


Answer

Hi,

This issue is linked to restricted repository not accessible from the outside.

This will be fixed with SMP 3.0.0-RC2 coming in the beginning of May and also with SMP v3.0.0 Final coming in June.

In case you really need to perform the compilation, here are the steps to follow:

-  Clone  the git SMP project

-  Apply the changes listed on the link bellow (Minor changed in 4 pom.xml files)

https://ec.europa.eu/digital-building-blocks/code/projects/EDELIVERY/repos/smp/pull-requests/48/diff#smp-parent-pom/pom.xml

-  Compile the project with the following flag :    -DskipTests=true (example: mvn clean install -DskipTests=true)


Author: Christophe DHENEIN


Error rendering macro 'contentbylabel'

parameters should not be empty