ManuelB / javaee-openui5-multi-modules-base

MIT License
0 stars 0 forks source link

How to run the project #1

Open oneturkmen opened 3 years ago

oneturkmen commented 3 years ago

Hello,

I am trying to run the project to reproduce something on my end, however it seems to fail due to a build failure as indicated below.

Upon running command mvn clean install in the root directory, I get the following error. Any ideas how to resolve?

[INFO] Reactor Summary for base 1.0-SNAPSHOT:
[INFO] 
[INFO] base ............................................... SUCCESS [  0.135 s]
[INFO] base-frontend ...................................... SUCCESS [  1.300 s]
[INFO] base-olingo ........................................ FAILURE [  0.442 s]
[INFO] MicroProfile JWT Auth Prototype Implementation Parent SKIPPED
[INFO] MicroProfile JWT Auth Principal Prototype Implementation SKIPPED
[INFO] MicroProfile JWT Auth JAX-RS Prototype Implementation SKIPPED
[INFO] wildfly-jwt-auth-provider .......................... SKIPPED
[INFO] base-backend ....................................... SKIPPED
[INFO] MicroProfile JWT Auth JSR-375 Reference Implementation SKIPPED
[INFO] jwt-jaspic-auth .................................... SKIPPED
[INFO] base-rte-lib ....................................... SKIPPED
[INFO] base-vega-lib ...................................... SKIPPED
[INFO] base-opensearch .................................... SKIPPED
[INFO] base-openui5ol-lib ................................. SKIPPED
[INFO] base-menu-support .................................. SKIPPED
[INFO] base-websocket-lib ................................. SKIPPED
[INFO] base-websocket-backend ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.053 s
[INFO] Finished at: 2021-06-08T16:32:10-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project base-olingo: Could not resolve dependencies for project de.incentergy.base:base-olingo:jar:1.0-SNAPSHOT: 
    Could not find artifact org.apache.olingo:olingo-odata2-jpa-processor-api:jar:2.0.11-OLINGO-1487 in project.local -> [Help 1]
ManuelB commented 3 years ago

The project needs a patched version of olingo that is supposed to be part of the project but isn't.

Copy the following files: https://github.com/ManuelB/javaee-openui5-multi-modules-base/tree/e4e79d9ffe8dd1d05d9f65dc130b3768a2adc13a/lib Into this folder: https://github.com/ManuelB/javaee-openui5-multi-modules-base/tree/master/olingo/lib/org/apache/olingo/olingo-odata2-jpa-processor-api/2.0.11-OLINGO-1487

Hope that helps

/Manuel

oneturkmen commented 3 years ago

Hmm I copied the files, but it still throws an error that it cannot find it when I ran mvn clean install (also for mvn clean install -U):

[ERROR] Failed to execute goal on project base-olingo: Could not resolve dependencies for project de.incentergy.base:base-olingo:jar:1.0-SNAPSHOT: 
Could not find artifact org.apache.olingo:olingo-odata2-jpa-processor-api:jar:2.0.11-OLINGO-1487 in project.local (file:./ManuelB-javaee-openui5-multi-modules-base/olingo/lib) -> [Help 1]
ManuelB commented 3 years ago

@oneturkmen you will find the necessary code in the following repo and branch: https://github.com/ManuelB/olingo-odata2/tree/feature/OLINGO-1487-ODataJPAFactory-IMPLEMENTATION-changeable Unfortunately I can't give your more support than these hints :-(