title: Building Shindig locally
body: <p>I want to use Shindig as an OpenSocial container. In order to do that I want to add more features to Shindig's current ones, thus I have to build its source code locally.</p>
  
  <p>I have downloaded the source code from Shindig's SVN at: <a href="http://svn.apache.org/repos/asf/shindig/trunk/" rel="nofollow">http://svn.apache.org/repos/asf/shindig/trunk/</a>
  I'm trying to build it using Maven (3.0.3) but with no success. I get the following compilation errors:</p>
  
  <pre><code>&gt; [ERROR] Failed to execute goal
  &gt; org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (def
  &gt; ault-testCompile) on project shindig-gadgets: Compilation failure:
  &gt; Compilation failure: [ERROR]
  &gt; \Users\I064832\Desktop\shindig\java\gadgets\src\test\java\org\apache\shindig\gadgets\http\Fa
  &gt; keHttpServer.java:[27,16] cannot access org.mortbay.util.Attributes
  &gt; [ERROR] class file for org.mortbay.util.Attributes not found [ERROR]
  &gt; public abstract class FakeHttpServer extends Server { [ERROR]
  &gt; \Users\I064832\Desktop\shindig\java\gadgets\src\test\java\org\apache\shindig\gadgets\http\Fa
  &gt; keHttpServer.java:[32,13] cannot access
  &gt; org.mortbay.component.AbstractLifeCycle [ERROR] class file for
  &gt; org.mortbay.component.AbstractLifeCycle not found [ERROR] server = new
  &gt; Server(port); [ERROR]
  &gt; \Users\I064832\Desktop\shindig\java\gadgets\src\test\java\org\apache\shindig\gadgets\http\Fa
  &gt; keHttpServer.java:[33,14] cannot access
  &gt; org.mortbay.component.LifeCycle [ERROR] class file for
  &gt; org.mortbay.component.LifeCycle not found [ERROR] context = new
  &gt; Context(server, "/", Context.SESSIONS); [ERROR]
  &gt; \Users\I064832\Desktop\shindig\java\gadgets\src\test\java\org\apache\shindig\gadgets\http\Fa
  &gt; keHttpServer.java:[35,10] doStart() has protected access in
  &gt; org.mortbay.jetty.Server [ERROR]
  &gt; \Users\I064832\Desktop\shindig\java\gadgets\src\test\java\org\apache\shindig\gadgets\http\Fa
  &gt; keHttpServer.java:[42,10] doStop() has protected access in
  &gt; org.mortbay.jetty.Server [ERROR]
  &gt; \Users\I064832\Desktop\shindig\java\gadgets\src\test\java\org\apache\shindig\gadgets\http\Ba
  &gt; sicHttpFetcherTest.java:[53,15] operator != cannot be applied to
  &gt; org.apache.shindig.gadgets.http.Ech oServer,&lt;nulltype&gt; . . .
  </code></pre>
  
  <p>I see that Shindig 2.0 was released a year ago, maybe there is a mismatch between Shindig's code to its dependencies?
  How can I eliminate these errors?
  Thanks,
  Tomer</p>