Netbeans Maven project from cloned GitHub Java (with jni and C) repository <p>I cloned the git repository <a href="https://github.com/s-u/rJava" rel="nofollow">here</a> and I would like to add it as a <code>Maven</code> or <code>NetBeans</code> <code>Java</code> project in <code>NetBeans</code>so I can use it as dependency for other application and to also be able to contribute to the repository.</p> <p>The problem is that after cloning it <code>NetBeans</code> does not allow me to add it as a project. I'm guessing this is because it does not follow the structure of neither Maven, nor Netbeans projects.</p> <p>Is there any way I can add it as a project in <code>NetBeans</code> and still have it liked to the <code>GitHub</code> repository so I can commit and push changes? The project is using <code>Java</code>, jni with <code>C</code> and <code>R</code> (I think).</p>