Added dependency to pom.xml but keeps saying "package does not exist"
<p>I am working on patch: <a href="https://gist.github.com/ensonic/4deddeff42e80fc93685112689dbc91f" rel="nofollow">https://gist.github.com/ensonic/4deddeff42e80fc93685112689dbc91f</a>
for this project: <a href="https://github.com/OpenRoberta/robertalab/" rel="nofollow">https://github.com/OpenRoberta/robertalab/</a></p>

<p>I've added the new dependency to the pom.xml and I run <code>mvn clean install</code>. This unexpectedly fails with:</p>

<pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project OpenRobertaServer: Compilation failure: Compilation failure:
[ERROR] /home/ensonic/projects/lego/robertalab/OpenRobertaServer/src/main/java/de/fhg/iais/roberta/main/ServerStarter.java:[9,45] package org.eclipse.jetty.server.handler.gzip does not exist
[ERROR] /home/ensonic/projects/lego/robertalab/OpenRobertaServer/src/main/java/de/fhg/iais/roberta/main/ServerStarter.java:[9,45] package org.eclipse.jetty.server.handler.gzip does not exist
[ERROR] /home/ensonic/projects/lego/robertalab/OpenRobertaServer/src/main/java/de/fhg/iais/roberta/main/ServerStarter.java:[115,9] cannot find symbol
[ERROR] symbol:   class GzipHandler
[ERROR] location: class de.fhg.iais.roberta.main.ServerStarter
[ERROR] /home/ensonic/projects/lego/robertalab/OpenRobertaServer/src/main/java/de/fhg/iais/roberta/main/ServerStarter.java:[115,39] cannot find symbol
[ERROR] symbol:   class GzipHandler
[ERROR] location: class de.fhg.iais.roberta.main.ServerStarter
[ERROR] /home/ensonic/projects/lego/robertalab/OpenRobertaServer/src/main/java/de/fhg/iais/roberta/main/ServerStarter.java:[118,32] cannot find symbol
[ERROR] symbol:   variable myHandler
[ERROR] location: class de.fhg.iais.roberta.main.ServerStarter
</code></pre>

<p>I've looked at <code>mvn -e</code> or <code>mvn -X</code>, but neither have any info that I find helpful.</p>

<p>When it fails I can't find the jetty-servlets-9.2.5.v20141112.jar that would satisfy the dependency anywhere in the project tree. If I remove the modifications to the java code and build (which now passes) then the required jar is there:</p>

<pre><code>$ find .. -name "jetty-servlets-9.2.5.v20141112.jar"
../OpenRobertaServer/target/resources/jetty-servlets-9.2.5.v20141112.jar
</code></pre>

<p>The pom.xml is using the maven-dependency-plugin, but as far as I see this is for the tests and the compile should work without it, right?</p>