title: maven dependency not found in repository
body: <p>I'm trying to run the project, which uses gwt-dev.
  The instructions are at: <a href="http://neiliscoding.blogspot.ru/2012/05/how-to-setup-examples-for-use-in-gxt-3.html?showComment=1362999279386" rel="nofollow">http://neiliscoding.blogspot.ru/2012/05/how-to-setup-examples-for-use-in-gxt-3.html?showComment=1362999279386</a>
  when I create dependency in terminal like: <code>mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-dev -Dversion=2.5.0 -Dpackaging=jar -Dfile='/home/mikhail/Загрузки/libraries/gwt-2.5.0/gwt-dev.jar'</code>
  and add dependency to the pom.xml:</p>
  
  <pre><code> &lt;dependency&gt;
        &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
        &lt;artifactId&gt;gwt-dev&lt;/artifactId&gt;
        &lt;version&gt;2.5.0&lt;/version&gt;
    &lt;/dependency&gt;
  </code></pre>
  
  <p>maven says:</p>
  
  <pre><code>    [WARNING] You should not declare gwt-dev as a project dependency. This may introduce complex dependency conflicts
  Downloading: http://repo1.maven.org/maven2/com/google/gwt/gwt-dev/2.5.0/gwt-dev-2.5.0-linux-libs.zip
  [INFO] Unable to find resource 'com.google.gwt:gwt-dev:zip:linux-libs:2.5.0' in repository central (http://repo1.maven.org/maven2)
  </code></pre>
  
  <p>else if I remove it maven says:</p>
  
  <pre><code>[INFO] using GWT jars from project dependencies : 2.5.0
  Downloading: http://repo1.maven.org/maven2/com/google/gwt/gwt-dev/2.5.0/gwt-dev-2.5.0-linux-libs.zip
  [INFO] Unable to find resource 'com.google.gwt:gwt-dev:zip:linux-libs:2.5.0' in repository central (http://repo1.maven.org/maven2)
  [INFO] ------------------------------------------------------------------------
  [ERROR] BUILD ERROR
  </code></pre>
  
  <p>So I have Build error in both cases. How to deal with such situation? help me please.</p>
  
  <p>I didn't managed with this problem yet but I've just found that I used 1.2 version of maven plugin. I'm not shure it is the main problem, but I'd like to deal with it anyway. so, sinse I've added this plugin according to your first link, maven drops build error:
  `</p>
  
  <pre><code>[INFO] Scanning for projects...
  [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking for updates from central
  [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking for updates from central
  [INFO] ------------------------------------------------------------------------
  [INFO] Building Maven Default Project
  [INFO]    task-segment: [org.apache.maven.plugins:maven-archetype-plugin:RELEASE:generate] (aggregator-style)
  [INFO] ------------------------------------------------------------------------
  [INFO] Preparing archetype:generate
  [INFO] No goals needed for project - skipping
  [INFO] [archetype:generate {execution: default-cli}]
  [INFO] Generating project in Batch mode
  [INFO] Archetype repository missing. Using the one from [org.codehaus.mojo:gwt-maven-plugin:2.5.1-rc1] found in catalog remote
  [WARNING] Property module is missing. Add -Dmodule=someValue
  [INFO] ------------------------------------------------------------------------
  [ERROR] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Archetype org.codehaus.mojo:gwt-maven-plugin:2.5.1-rc1 is not configured
      Property module is missing.
  [INFO] ------------------------------------------------------------------------
  [INFO] For more information, run Maven with the -e switch
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 4 seconds
  [INFO] Finished at: Tue Mar 12 15:18:50 MSK 2013
  [INFO] Final Memory: 27M/428M
  </code></pre>
  
  <p>`
  and by the way, I use intellij IDEA</p>