title: "Importing test library 'Selenium2Library' failed: ImportError: No module named decorator" RobotFramework maven plugin
body: <p>Attempting to run a simple test in a Maven Java Project in IntelliJ 2016.2 on OS X El Capitan 10.11.6 using RobotFramework-Maven-Plugin 1.4.6 </p>
  
  <p><a href="http://robotframework.org/MavenPlugin/" rel="nofollow noreferrer">http://robotframework.org/MavenPlugin/</a></p>
  
  <p>If the test is run using robot through command line the test opens a firefox browser, runs and passes:</p>
  
  <pre><code>*** Settings ***
  Library  Selenium2Library
  Suite Teardown  Close all browsers
  
  *** Variables ***
  ${BROWSER}  firefox
  ${DOMAIN}  google.com
  ${PAGE_TITLE}  google
  
  *** Test Cases ***
  Example
    Open browser  http://${DOMAIN}  ${BROWSER}
    Page Should Contain  ${PAGE_TITLE}
  </code></pre>
  
  <p>Here's the error I'm receiving:</p>
  
  <pre><code>Importing test library 'Selenium2Library' failed: ImportError: No module named decorator
  </code></pre>
  
  <p>Here the important part of my pom.xml:</p>
  
  <pre><code>&lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.19.1&lt;/version&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.robotframework&lt;/groupId&gt;
              &lt;artifactId&gt;robotframework-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.4.6&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;run&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.github.markusbernhardt&lt;/groupId&gt;
          &lt;artifactId&gt;robotframework-selenium2library-java&lt;/artifactId&gt;
          &lt;version&gt;1.4.0.8&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>I have the latest Selenium2Library 1.8.0 under /src/test/resources/robotframework/libraries/ as prescribed by the RobotFramework Maven Plugin site: <a href="http://robotframework.org/MavenPlugin/examples/seleniumlibrary.html" rel="nofollow noreferrer">http://robotframework.org/MavenPlugin/examples/seleniumlibrary.html</a></p>
  
  <p>I've been at this problem all day and have searched and finally hit a dead end. Any help would be greatly appreciated.</p>