title: Could not resolve dependencies for project from workspace
body: <p>Hi I have a problem with maven. I want to run my app but when I am  typing "clean install jetty:run" I am getting this error:</p>
  
  <pre><code>SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      [INFO] Scanning for projects...
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building frontend 0.0.1-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [WARNING] The POM for laud.b2b:logic:jar:0.0.1-SNAPSHOT is missing, no dependency information available
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1.585s
      [INFO] Finished at: Sat Jul 13 20:17:27 CEST 2013
      [INFO] Final Memory: 6M/15M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project Frontend: Could not resolve dependencies for project laud.b2b:Frontend:war:0.0.1-SNAPSHOT: Failure to find laud.b2b:logic:jar:0.0.1-SNAPSHOT in http://maven.vaadin.com/vaadin-addons was cached in the local repository, resolution will not be reattempted until the update interval of vaadin-addons has elapsed or updates are forced -&gt; [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
  </code></pre>
  
  <p>"logic" is a second project in my workspace. 
  I don`t know what to do to resolve this error. I've searched whole internet and I can do nothing with it...</p>
  
  <p>My pom.xml from Frontend project:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &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/maven-v4_0_0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;parent&gt;
          &lt;artifactId&gt;laud.b2b-root&lt;/artifactId&gt;
          &lt;groupId&gt;laud.b2b&lt;/groupId&gt;
          &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;/parent&gt;
      &lt;groupId&gt;laud.b2b&lt;/groupId&gt;
      &lt;artifactId&gt;Frontend&lt;/artifactId&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;name&gt;frontend&lt;/name&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;vaadin.version&gt;7.1.0&lt;/vaadin.version&gt;
          &lt;vaadin.plugin.version&gt;${vaadin.version}&lt;/vaadin.plugin.version&gt;
          &lt;org.springframework.version&gt;3.0.5.RELEASE&lt;/org.springframework.version&gt;
      &lt;/properties&gt;
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;vaadin-addons&lt;/id&gt;
              &lt;url&gt;http://maven.vaadin.com/vaadin-addons&lt;/url&gt;
          &lt;/repository&gt;
          &lt;repository&gt;
              &lt;id&gt;vaadin-snapshots&lt;/id&gt;
              &lt;url&gt;http://oss.sonatype.org/content/repositories/vaadin-snapshots/&lt;/url&gt;
              &lt;releases&gt;
                  &lt;enabled&gt;false&lt;/enabled&gt;
              &lt;/releases&gt;
              &lt;snapshots&gt;
              &lt;/snapshots&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
      &lt;pluginRepositories&gt;
          &lt;pluginRepository&gt;
              &lt;id&gt;vaadin-snapshots&lt;/id&gt;
              &lt;url&gt;http://oss.sonatype.org/content/repositories/vaadin-snapshots/&lt;/url&gt;
              &lt;releases&gt;
                  &lt;enabled&gt;false&lt;/enabled&gt;
              &lt;/releases&gt;
              &lt;snapshots&gt;
              &lt;/snapshots&gt;
          &lt;/pluginRepository&gt;
      &lt;/pluginRepositories&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
              &lt;artifactId&gt;vaadin-server&lt;/artifactId&gt;
              &lt;version&gt;${vaadin.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
              &lt;artifactId&gt;vaadin-client-compiled&lt;/artifactId&gt;
              &lt;version&gt;${vaadin.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory). 
              For widgetset compilation, vaadin-client-compiler is automatically added 
              on the compilation classpath by vaadin-maven-plugin so normally there is 
              no need for an explicit dependency. --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
              &lt;artifactId&gt;vaadin-client-compiler&lt;/artifactId&gt;
              &lt;version&gt;${vaadin.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
              &lt;artifactId&gt;vaadin-client&lt;/artifactId&gt;
              &lt;version&gt;${vaadin.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
              &lt;artifactId&gt;vaadin-push&lt;/artifactId&gt;
              &lt;version&gt;${vaadin.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;laud.b2b&lt;/groupId&gt;
              &lt;artifactId&gt;logic&lt;/artifactId&gt;
              &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
              &lt;artifactId&gt;vaadin-themes&lt;/artifactId&gt;
              &lt;version&gt;${vaadin.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;ru.xpoft.vaadin&lt;/groupId&gt;
              &lt;artifactId&gt;spring-vaadin-integration&lt;/artifactId&gt;
              &lt;version&gt;2.0.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
              &lt;artifactId&gt;javax.servlet-api&lt;/artifactId&gt;
              &lt;version&gt;3.0.1&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-beans&lt;/artifactId&gt;
              &lt;version&gt;${org.springframework.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
              &lt;version&gt;${org.springframework.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
              &lt;artifactId&gt;spring-security-core&lt;/artifactId&gt;
              &lt;version&gt;${org.springframework.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
              &lt;artifactId&gt;spring-security-config&lt;/artifactId&gt;
              &lt;version&gt;${org.springframework.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
              &lt;artifactId&gt;spring-security-web&lt;/artifactId&gt;
              &lt;version&gt;${org.springframework.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
              &lt;version&gt;${org.springframework.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
              &lt;version&gt;1.6.6&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
              &lt;version&gt;1.6.6&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;log4j&lt;/groupId&gt;
              &lt;artifactId&gt;log4j&lt;/artifactId&gt;
              &lt;version&gt;1.2.16&lt;/version&gt;
          &lt;/dependency&gt;
  
      &lt;/dependencies&gt;
  
  
      &lt;profiles&gt;
          &lt;profile&gt;
              &lt;id&gt;compile-widgetset&lt;/id&gt;
              &lt;build&gt;
                  &lt;plugins&gt;
                      &lt;plugin&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.6&lt;/source&gt;
                              &lt;target&gt;1.6&lt;/target&gt;
                          &lt;/configuration&gt;
                      &lt;/plugin&gt;
                      &lt;!-- As we are doing "inplace" GWT compilation, ensure the widgetset --&gt;
                      &lt;!-- directory is cleaned properly --&gt;
                      &lt;plugin&gt;
                          &lt;artifactId&gt;maven-clean-plugin&lt;/artifactId&gt;
                          &lt;version&gt;2.4.1&lt;/version&gt;
                          &lt;configuration&gt;
                              &lt;filesets&gt;
                                  &lt;fileset&gt;
                                      &lt;directory&gt;src/main/webapp/VAADIN/widgetsets&lt;/directory&gt;
                                  &lt;/fileset&gt;
                              &lt;/filesets&gt;
                          &lt;/configuration&gt;
                      &lt;/plugin&gt;
                      &lt;plugin&gt;
                          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                          &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                          &lt;version&gt;2.2&lt;/version&gt;
                          &lt;configuration&gt;
                              &lt;failOnMissingWebXml&gt;false&lt;/failOnMissingWebXml&gt;
                          &lt;/configuration&gt;
                      &lt;/plugin&gt;
                      &lt;plugin&gt;
                          &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
                          &lt;artifactId&gt;vaadin-maven-plugin&lt;/artifactId&gt;
                          &lt;version&gt;${vaadin.plugin.version}&lt;/version&gt;
                          &lt;configuration&gt;
                              &lt;extraJvmArgs&gt;-Xmx512M -Xss1024k&lt;/extraJvmArgs&gt;
                              &lt;!-- &lt;runTarget&gt;mobilemail&lt;/runTarget&gt; --&gt;
                              &lt;!-- We are doing "inplace" but into subdir VAADIN/widgetsets. This 
                                  way compatible with Vaadin eclipse plugin. --&gt;
                              &lt;webappDirectory&gt;${basedir}/src/main/webapp/VAADIN/widgetsets&lt;/webappDirectory&gt;
                              &lt;hostedWebapp&gt;${basedir}/src/main/webapp/VAADIN/widgetsets&lt;/hostedWebapp&gt;
                              &lt;noServer&gt;true&lt;/noServer&gt;
                              &lt;!-- Remove draftCompile when project is ready --&gt;
                              &lt;draftCompile&gt;false&lt;/draftCompile&gt;
                              &lt;compileReport&gt;true&lt;/compileReport&gt;
                              &lt;style&gt;OBF&lt;/style&gt;
                              &lt;strict&gt;true&lt;/strict&gt;
                              &lt;runTarget&gt;http://localhost:8080/&lt;/runTarget&gt;
                          &lt;/configuration&gt;
                          &lt;executions&gt;
                              &lt;execution&gt;
                                  &lt;configuration&gt;&lt;/configuration&gt;
                                  &lt;goals&gt;
                                      &lt;goal&gt;clean&lt;/goal&gt;
                                      &lt;goal&gt;resources&lt;/goal&gt;
                                      &lt;goal&gt;update-theme&lt;/goal&gt;
                                      &lt;goal&gt;update-widgetset&lt;/goal&gt;
                                      &lt;goal&gt;compile-theme&lt;/goal&gt;
                                      &lt;goal&gt;compile&lt;/goal&gt;
                                  &lt;/goals&gt;
                              &lt;/execution&gt;
                          &lt;/executions&gt;
                      &lt;/plugin&gt;
                  &lt;/plugins&gt;
              &lt;/build&gt;
          &lt;/profile&gt;
      &lt;/profiles&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.3.2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.6&lt;/source&gt;
                      &lt;target&gt;1.6&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
          &lt;pluginManagement&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
                      &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt;
                      &lt;configuration&gt;
                          &lt;scanIntervalSeconds&gt;3&lt;/scanIntervalSeconds&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
                  &lt;!--This plugin's configuration is used to store Eclipse m2e settings 
                      only. It has no influence on the Maven build itself. --&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.eclipse.m2e&lt;/groupId&gt;
                      &lt;artifactId&gt;lifecycle-mapping&lt;/artifactId&gt;
                      &lt;version&gt;1.0.0&lt;/version&gt;
                      &lt;configuration&gt;
                          &lt;lifecycleMappingMetadata&gt;
                              &lt;pluginExecutions&gt;
                                  &lt;pluginExecution&gt;
                                      &lt;pluginExecutionFilter&gt;
                                          &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
                                          &lt;artifactId&gt;vaadin-maven-plugin&lt;/artifactId&gt;
                                          &lt;versionRange&gt;[7.1.0,)&lt;/versionRange&gt;
                                          &lt;goals&gt;
                                              &lt;goal&gt;resources&lt;/goal&gt;
                                              &lt;goal&gt;update-widgetset&lt;/goal&gt;
                                              &lt;goal&gt;compile&lt;/goal&gt;
                                          &lt;/goals&gt;
                                      &lt;/pluginExecutionFilter&gt;
                                      &lt;action&gt;
                                          &lt;ignore&gt;&lt;/ignore&gt;
                                      &lt;/action&gt;
                                  &lt;/pluginExecution&gt;
                              &lt;/pluginExecutions&gt;
                          &lt;/lifecycleMappingMetadata&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/pluginManagement&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>(AD2)</p>
  
  <pre><code>SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  SLF4J: Defaulting to no-operation (NOP) logger implementation
  SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  [INFO] Scanning for projects...
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building frontend 0.0.1-SNAPSHOT
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ Frontend ---
  [INFO] Deleting C:\Users\mateu\git\LPMavenProblem\laud\laud.b2b-root\Frontend\target
  [INFO] 
  [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ Frontend ---
  [debug] execute contextualize
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] skip non existing resourceDirectory C:\Users\mateu\git\LPMavenProblem\laud\laud.b2b-root\Frontend\src\main\resources
  [INFO] 
  [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ Frontend ---
  [INFO] Compiling 2 source files to C:\Users\mateu\git\LPMavenProblem\laud\laud.b2b-root\Frontend\target\classes
  [INFO] -------------------------------------------------------------
  [ERROR] COMPILATION ERROR : 
  [INFO] -------------------------------------------------------------
  [ERROR] Unable to locate the Javac Compiler in:
    C:\Program Files (x86)\Java\jre7\..\lib\tools.jar
  Please ensure you are using JDK 1.4 or above and
  not a JRE (the com.sun.tools.javac.Main class is required).
  In most cases you can change the location of your Java
  installation by setting the JAVA_HOME environment variable.
  [INFO] 1 error
  [INFO] -------------------------------------------------------------
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 1.744s
  [INFO] Finished at: Sat Jul 13 21:13:52 CEST 2013
  [INFO] Final Memory: 8M/19M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project Frontend: Compilation failure
  [ERROR] Unable to locate the Javac Compiler in:
  [ERROR] C:\Program Files (x86)\Java\jre7\..\lib\tools.jar
  [ERROR] Please ensure you are using JDK 1.4 or above and
  [ERROR] not a JRE (the com.sun.tools.javac.Main class is required).
  [ERROR] In most cases you can change the location of your Java
  [ERROR] installation by setting the JAVA_HOME environment variable.
  [ERROR] -&gt; [Help 1]
  [ERROR] 
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR] 
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  </code></pre>