title: Eclipse doesn't see changes made in a GitHub dependency of a Maven project
body: <p>I have set up an Eclipse Maven project to use a GitHub repository as a dependency. Now I forked that repository, switched the dependency to the fork, and made a small change to the fork. Now the project still compiles and runs just fine, but Eclipse doesn't see the change, which shows up on GitHub just fine. This got me thinking:</p>
  
  <p>If Eclipse couldn't see the dependency on GitHub, it should have been unable to build the project. On the other hand, if it can get it somehere but doesn't see the change, it must mean that the new fork is not yet properly linked to the project somehow; most likely the old repo still lives somewhere on my local machine and Maven uses it to build the project for reasons I cannot discern. I tried rebuilding and re-importing the project, but it didn't help. I'm new to Maven, so I'm really quite lost in all this. I need to know:</p>
  
  <p>What is causing this? What piece of how Maven/Eclipse/GitHub work am I missing? What file or list do I need to download, update, refresh, or rebuild?</p>
  
  <p>EDIT; pom.xml:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
  
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.10&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;copy-dependencies&lt;/id&gt;
                          &lt;phase&gt;package&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;copy-dependencies&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;outputDirectory&gt;${project.build.directory}&lt;/outputDirectory&gt;
                              &lt;overWriteReleases&gt;false&lt;/overWriteReleases&gt;
                              &lt;overWriteSnapshots&gt;false&lt;/overWriteSnapshots&gt;
                              &lt;overWriteIfNewer&gt;true&lt;/overWriteIfNewer&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
  
              &lt;plugin&gt;
                  &lt;groupId&gt;com.akathist.maven.plugins.launch4j&lt;/groupId&gt;
                  &lt;artifactId&gt;launch4j-maven-plugin&lt;/artifactId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;l4j-clui&lt;/id&gt;
                          &lt;phase&gt;package&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;launch4j&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;dontWrapJar&gt;true&lt;/dontWrapJar&gt;
                              &lt;headerType&gt;console&lt;/headerType&gt;
                              &lt;jar&gt;eet-demo-maven-1.0-SNAPSHOT.jar&lt;/jar&gt;
                              &lt;outfile&gt;target\EETSender.exe&lt;/outfile&gt;
                              &lt;errTitle&gt;&lt;/errTitle&gt;
                              &lt;cmdLine&gt;&lt;/cmdLine&gt;
                              &lt;chdir&gt;.&lt;/chdir&gt;
                              &lt;priority&gt;normal&lt;/priority&gt;
                              &lt;downloadUrl&gt;http://java.com/download&lt;/downloadUrl&gt;
                              &lt;supportUrl&gt;&lt;/supportUrl&gt;
                              &lt;stayAlive&gt;true&lt;/stayAlive&gt;
                              &lt;restartOnCrash&gt;true&lt;/restartOnCrash&gt;
                              &lt;manifest&gt;&lt;/manifest&gt;
                              &lt;icon&gt;&lt;/icon&gt;
                              &lt;singleInstance&gt;
                                  &lt;mutexName&gt;EETMutex&lt;/mutexName&gt;
                                  &lt;windowTitle&gt;&lt;/windowTitle&gt;
                              &lt;/singleInstance&gt;
                              &lt;classpath&gt;
                                  &lt;mainClass&gt;cz.tomasdvorak.eetdemo.Main&lt;/mainClass&gt;
                              &lt;/classpath&gt;
                              &lt;jre&gt;
                                  &lt;path&gt;&lt;/path&gt;
                                  &lt;bundledJre64Bit&gt;false&lt;/bundledJre64Bit&gt;
                                  &lt;bundledJreAsFallback&gt;false&lt;/bundledJreAsFallback&gt;
                                  &lt;minVersion&gt;1.6.0_1&lt;/minVersion&gt;
                                  &lt;maxVersion&gt;&lt;/maxVersion&gt;
                                  &lt;jdkPreference&gt;preferJre&lt;/jdkPreference&gt;
                                  &lt;runtimeBits&gt;64/32&lt;/runtimeBits&gt;
                              &lt;/jre&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
  
  &lt;plugin&gt;
      &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
      &lt;configuration&gt;
          &lt;archive&gt;
              &lt;manifest&gt;
                  &lt;addClasspath&gt;true&lt;/addClasspath&gt;
                  &lt;mainClass&gt;cz.tomasdvorak.eetdemo.Main&lt;/mainClass&gt;
              &lt;/manifest&gt;
          &lt;/archive&gt;
          &lt;descriptors&gt;
              &lt;descriptor&gt;assembly.xml&lt;/descriptor&gt;
           &lt;/descriptors&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  
  &lt;/plugins&gt;
      &lt;/build&gt;
  
       &lt;groupId&gt;cz.tomasdvorak&lt;/groupId&gt;
      &lt;artifactId&gt;eet-demo-maven&lt;/artifactId&gt;
      &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;jitpack.io&lt;/id&gt;
              &lt;url&gt;https://jitpack.io&lt;/url&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.github.MiroslavMarecek&lt;/groupId&gt;
              &lt;artifactId&gt;eet-client-1&lt;/artifactId&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;dependencyManagement&gt;
          &lt;dependencies&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.github.MiroslavMarecek&lt;/groupId&gt;
                  &lt;artifactId&gt;eet-client-1&lt;/artifactId&gt;
                  &lt;version&gt;1.2&lt;/version&gt;
              &lt;/dependency&gt;
          &lt;/dependencies&gt;
      &lt;/dependencyManagement&gt;
  &lt;/project&gt;
  </code></pre>