i have a maven project and further two others projects from colleagues for common libaries. That's why i want to inlude these both projects into mine as dependencies.
In my pom.xml i have this:
<dependency>
<groupId>com.xxx.xxx.Tooling</groupId>
<artifactId>KLUCommon</artifactId>
<version>0.0.10-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.xxx.xxx.ldap</groupId>
<artifactId>KLULdapAdapter</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
I build my maven project, but i always get the error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project XXXXX: Compilation failure
[ERROR] /C:/Users/XXXX/Documents/workspace/XXXXX/src/main/java/com/xxx/xxx/ldap/Application.java:[19,38] cannot find symbol
[ERROR] symbol: class ManagerDefs
[ERROR] location: package com.xxx.Tooling.common.model
[ERROR] -> [Help 1]
What causes could that be? Because in my own project he recognize the project, but the build is not working.