docdoku / docdoku-plm-api

Client API (Java, JavaScript...) for docdoku-plm server
GNU Affero General Public License v3.0
1 stars 1 forks source link

Compilation failed on project docdoku-plm-api-base #1

Open slobberbone opened 2 years ago

slobberbone commented 2 years ago

Try to compile docdoku-plm-api with : mvn compile Getting this error :

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for docdoku-plm DocDokuPLM API 2.6.2: [INFO] [INFO] docdoku-plm DocDokuPLM API ......................... SUCCESS [ 0.006 s] [INFO] docdoku-plm DocDokuPLM API base .................... FAILURE [ 5.631 s] [INFO] docdoku-plm DocDokuPLM Java API .................... SKIPPED [INFO] docdoku-plm DocDokuPLM JavaScript API .............. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.853 s [INFO] Finished at: 2022-01-13T11:40:46+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project docdoku-plm-api-base: Could not resolve dependencies for project com.docdoku.plm:docdoku-plm-api-base:jar:2.6.2: The following artifacts could not be resolved: com.docdoku.plm:docdoku-plm-server-core:jar:2.6.2, com.docdoku.plm:docdoku-plm-server-rest:jar:sources:2.6.2: Could not find artifact com.docdoku.plm:docdoku-plm-server-core:jar:2.6.2 in project.local (file:/home/dev/.m2/repository) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :docdoku-plm-api-base Seems to miss some package in source code. Let me know if you need more information !

mguimard commented 2 years ago

Hello,

What i see from the logs is that you don't have the dependencies required for building this part of our solution.

Either checkout docdoku-plm-server repository and run mvn install, or use the global repository docdoku-plm and run mvn install (this will build all packages)