How to resolve 'Offline / Missing artifact org.geotools:gt-shapefile:jar:17-SNAPSHOT' in Maven?
<p>I'm new to Maven and am trying to create a simple Maven project given in geotools.org</p>

<pre><code>&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;properties&gt;
    &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
    &lt;!-- use the latest snapshot --&gt;
    &lt;geotools.version&gt;17-SNAPSHOT&lt;/geotools.version&gt;
&lt;/properties&gt;
&lt;groupId&gt;org.geotools&lt;/groupId&gt;
&lt;artifactId&gt;tutorial&lt;/artifactId&gt;
&lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
&lt;packaging&gt;jar&lt;/packaging&gt;

&lt;name&gt;tutorial&lt;/name&gt;
&lt;url&gt;http://maven.apache.org&lt;/url&gt;

&lt;dependencies&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;3.8.1&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;org.geotools&lt;/groupId&gt;
        &lt;artifactId&gt;gt-shapefile&lt;/artifactId&gt;
        &lt;version&gt;${geotools.version}&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;org.geotools&lt;/groupId&gt;
        &lt;artifactId&gt;gt-swing&lt;/artifactId&gt;
        &lt;version&gt;${geotools.version}&lt;/version&gt;
    &lt;/dependency&gt;
&lt;/dependencies&gt;

&lt;repositories&gt;
    &lt;repository&gt;
        &lt;id&gt;maven2-repository.dev.java.net&lt;/id&gt;
        &lt;name&gt;Java.net repository&lt;/name&gt;
        &lt;url&gt;http://download.java.net/maven/2&lt;/url&gt;
    &lt;/repository&gt;
    &lt;repository&gt;
        &lt;id&gt;osgeo&lt;/id&gt;
        &lt;name&gt;Open Source Geospatial Foundation Repository&lt;/name&gt;
        &lt;url&gt;http://download.osgeo.org/webdav/geotools/&lt;/url&gt;
    &lt;/repository&gt;
    &lt;repository&gt;
        &lt;snapshots&gt;
            &lt;enabled&gt;true&lt;/enabled&gt;
        &lt;/snapshots&gt;
        &lt;id&gt;boundless&lt;/id&gt;
        &lt;name&gt;Boundless Maven Repository&lt;/name&gt;
        &lt;url&gt;http://repo.boundlessgeo.com/main&lt;/url&gt;
    &lt;/repository&gt;
&lt;/repositories&gt;
&lt;build&gt;
    &lt;plugins&gt;
        &lt;plugin&gt;
            &lt;inherited&gt;true&lt;/inherited&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
            &lt;configuration&gt;
                &lt;source&gt;1.8&lt;/source&gt;
                &lt;target&gt;1.8&lt;/target&gt;
            &lt;/configuration&gt;
        &lt;/plugin&gt;
    &lt;/plugins&gt;
&lt;/build&gt;
&lt;/project&gt;
</code></pre>

<p>The error I am getting is 'Offline / Missing artifact org.geotools:gt-shapefile:jar:17-SNAPSHOT'. How do I resolve this? I am using Eclipse Neon.1a Release (4.6.1).There is no option for selecting <em>Project ‣ Update All Maven Dependencies</em>. In some of the similar questions asked here it was recommended to change the repository URL. Which URL shall I change? Java.net repository OR Open Source Geospatial Foundation Repository OR Boundless Maven Repository?</p>