I am getting the following error when running maven install

> 
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project Ice-Redalert-Web: Compilation failure [ERROR] /D:/ProjectCode/RedAlert ICE/property-builder-front-ice/src/main/java/com/informationcatalyst/redalert/webapplication/service/IceApplicationBuilderImpl.java:[22,1] package com.informationcatalyst.icekeywords does not exist [ERROR] -> [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
> 
> 
> 

There are two projects. The main project and one it depends on. When running maven install on my laptop, the above error comes up. However when my co-worker takes an identical copy of both projects and runs maven install it works just fine.

There must be something wrong on my setup for this to be an issue. I don't know where to start. Myself and co-worker who has lots of java experience checked the setup and naming and can't see a problem. But there clearly is an issue.

The main project has the dependency as pom entry as

```
    <dependency>
    <groupId>com.undergroundit</groupId>
    <artifactId>train</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    </dependency>

```

The header on the pom relating to the above reference is

```
<groupId>com.undergroundit</groupId>
<artifactId>train</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>train</name>
<packaging>jar</packaging>

```

I am using Eclipse, but I get the same issue arising in Intellij.

We checked the .m2 folder for the contents to make sure it was matching the pom entries.

Any guidance on what to check or what the problem might be is appreciated.
Thanks