warning javax.* types are not being woven because the weaver option '-Xset:weaveJavaxPackages=true' has not been specified
<p>I have used aspectj that is in turn used by Allure Reporting tool in my pom.xml. When I run the suite through maven, I get <code>warning javax.* types are not being woven because the weaver option '-Xset:weaveJavaxPackages=true' has not been specified</code></p>

<p>After a while the classes that contain my tests will stop and I get Unreachable browser exception. I run the same suite through testng.xml and works like a charm. I feel that because of this warning, the classes stop getting called. </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;groupId&gt;org.unilog.project&lt;/groupId&gt;
  &lt;artifactId&gt;standardTemplate.project&lt;/artifactId&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  &lt;packaging&gt;jar&lt;/packaging&gt;

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

 &lt;properties&gt;
        &lt;compiler.version&gt;1.7&lt;/compiler.version&gt;
        &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;

        &lt;version.allure&gt;1.4.3&lt;/version.allure&gt;
        &lt;version.aspectj&gt;1.7.4&lt;/version.aspectj&gt;
        &lt;version.cucumber&gt;1.2.0&lt;/version.cucumber&gt;
        &lt;version.selenium&gt;2.53.0&lt;/version.selenium&gt;
        &lt;version.slf4j&gt;1.7.7&lt;/version.slf4j&gt;
        &lt;version.phantomjs&gt;1.9.7&lt;/version.phantomjs&gt;

    &lt;/properties&gt;

    &lt;dependencies&gt;
        &lt;dependency&gt;
        &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
        &lt;artifactId&gt;selenium-htmlunit-driver&lt;/artifactId&gt;
        &lt;version&gt;2.52.0&lt;/version&gt;
        &lt;/dependency&gt;

    &lt;dependency&gt;
    &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
    &lt;artifactId&gt;jackson-databind&lt;/artifactId&gt;
    &lt;version&gt;2.7.0&lt;/version&gt;
  &lt;/dependency&gt;



    &lt;dependency&gt;
    &lt;groupId&gt;com.pojosontheweb&lt;/groupId&gt;
    &lt;artifactId&gt;monte-repack&lt;/artifactId&gt;
    &lt;version&gt;1.0&lt;/version&gt;
    &lt;/dependency&gt;


    &lt;dependency&gt;
    &lt;groupId&gt;com.jayway.restassured&lt;/groupId&gt;
    &lt;artifactId&gt;rest-assured&lt;/artifactId&gt;
    &lt;version&gt;2.9.0&lt;/version&gt;
    &lt;/dependency&gt;

    &lt;dependency&gt;
        &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
        &lt;artifactId&gt;selenium-firefox-driver&lt;/artifactId&gt;
        &lt;version&gt;${version.selenium}&lt;/version&gt;
    &lt;/dependency&gt;

 &lt;!-- custom excelread library using apachePOI --&gt;   
    &lt;dependency&gt;
    &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
    &lt;artifactId&gt;poi&lt;/artifactId&gt;
    &lt;version&gt;3.13&lt;/version&gt;
&lt;/dependency&gt;

    &lt;dependency&gt;
    &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
    &lt;artifactId&gt;poi-ooxml&lt;/artifactId&gt;
    &lt;version&gt;3.13&lt;/version&gt;
&lt;/dependency&gt;

&lt;dependency&gt;
    &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
    &lt;artifactId&gt;poi-ooxml-schemas&lt;/artifactId&gt;
    &lt;version&gt;3.13&lt;/version&gt;
&lt;/dependency&gt;

&lt;!-- zipturnaround --&gt;
    &lt;dependency&gt;
    &lt;groupId&gt;org.zeroturnaround&lt;/groupId&gt;
    &lt;artifactId&gt;zt-zip&lt;/artifactId&gt;
    &lt;version&gt;1.7&lt;/version&gt;
    &lt;/dependency&gt;


 &lt;!-- java mail --&gt;
    &lt;dependency&gt;
    &lt;groupId&gt;javax.mail&lt;/groupId&gt;
    &lt;artifactId&gt;mail&lt;/artifactId&gt;
    &lt;version&gt;1.4.7&lt;/version&gt;
&lt;/dependency&gt;

        &lt;!-- Selenium and Drivers --&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
            &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
            &lt;version&gt;${version.selenium}&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
        &lt;groupId&gt;com.github.detro.ghostdriver&lt;/groupId&gt;
        &lt;artifactId&gt;phantomjsdriver&lt;/artifactId&gt;
        &lt;version&gt;1.1.0&lt;/version&gt;
        &lt;/dependency&gt;       

        &lt;dependency&gt;
        &lt;groupId&gt;com.github.detro&lt;/groupId&gt;
        &lt;artifactId&gt;phantomjsdriver&lt;/artifactId&gt;
        &lt;version&gt;1.2.0&lt;/version&gt;
        &lt;/dependency&gt;


    &lt;dependency&gt;
    &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
    &lt;artifactId&gt;selenium-server&lt;/artifactId&gt;
    &lt;version&gt;${version.selenium}&lt;/version&gt;
    &lt;/dependency&gt;

    &lt;dependency&gt;
    &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt;
    &lt;artifactId&gt;gson&lt;/artifactId&gt;
    &lt;version&gt;2.3.1&lt;/version&gt;
    &lt;/dependency&gt;


        &lt;!-- Utils --&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;ru.yandex.qatools.properties&lt;/groupId&gt;
            &lt;artifactId&gt;properties-loader&lt;/artifactId&gt;
            &lt;version&gt;1.5&lt;/version&gt;
            &lt;/dependency&gt;
        &lt;dependency&gt;
    &lt;groupId&gt;org.hamcrest&lt;/groupId&gt;
    &lt;artifactId&gt;hamcrest-all&lt;/artifactId&gt;
    &lt;version&gt;1.3&lt;/version&gt;
&lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;com.relevantcodes&lt;/groupId&gt;
            &lt;artifactId&gt;extentreports&lt;/artifactId&gt;
            &lt;version&gt;2.05&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;!-- Logging --&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
            &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
            &lt;version&gt;${version.slf4j}&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&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;${version.slf4j}&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
            &lt;artifactId&gt;jul-to-slf4j&lt;/artifactId&gt;
            &lt;version&gt;${version.slf4j}&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
            &lt;artifactId&gt;jcl-over-slf4j&lt;/artifactId&gt;
            &lt;version&gt;${version.slf4j}&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;

        &lt;!-- Allure Reporter --&gt;


        &lt;dependency&gt;
            &lt;groupId&gt;ru.yandex.qatools.allure&lt;/groupId&gt;
            &lt;artifactId&gt;allure-testng-adaptor&lt;/artifactId&gt;
            &lt;version&gt;${version.allure}&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.testng&lt;/groupId&gt;
            &lt;artifactId&gt;testng&lt;/artifactId&gt;
            &lt;version&gt;6.9.6&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;net.sourceforge.jexcelapi&lt;/groupId&gt;
            &lt;artifactId&gt;jxl&lt;/artifactId&gt;
            &lt;version&gt;2.6&lt;/version&gt;
        &lt;/dependency&gt;


    &lt;/dependencies&gt;

    &lt;build&gt;
     &lt;plugins&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;com.github.klieber&lt;/groupId&gt;
                &lt;artifactId&gt;phantomjs-maven-plugin&lt;/artifactId&gt;
                &lt;version&gt;0.4&lt;/version&gt;
                &lt;executions&gt;
                    &lt;execution&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;install&lt;/goal&gt;
                        &lt;/goals&gt;    
                    &lt;/execution&gt;
                &lt;/executions&gt;
                &lt;configuration&gt;
                    &lt;version&gt;${version.phantomjs}&lt;/version&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;

                &lt;plugin&gt;
                &lt;groupId&gt;org.eclipse.jetty&lt;/groupId&gt;
                &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt;
                &lt;version&gt;9.2.10.v20150310&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;webAppSourceDirectory&gt;${project.build.directory}/site/allure-maven-plugin&lt;/webAppSourceDirectory&gt;
                    &lt;stopKey&gt;stop&lt;/stopKey&gt;
                    &lt;stopPort&gt;1234&lt;/stopPort&gt;
                &lt;/configuration&gt;
            &lt;/plugin&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;3.1&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;source&gt;${compiler.version}&lt;/source&gt;
                    &lt;target&gt;${compiler.version}&lt;/target&gt;
                &lt;/configuration&gt;
            &lt;/plugin&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.18.1&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;argLine&gt;
                      -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${version.aspectj}/aspectjweaver-${version.aspectj}.jar
                    &lt;/argLine&gt;
                &lt;/configuration&gt;
                &lt;dependencies&gt;
                    &lt;dependency&gt;
                        &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
                        &lt;artifactId&gt;aspectjweaver&lt;/artifactId&gt;
                        &lt;version&gt;${version.aspectj}&lt;/version&gt;
                    &lt;/dependency&gt;
                &lt;/dependencies&gt;
            &lt;/plugin&gt;
        &lt;/plugins&gt;
        &lt;pluginManagement&gt;
            &lt;plugins&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.github.klieber
                                        &lt;/groupId&gt;
                                        &lt;artifactId&gt;
                                            phantomjs-maven-plugin
                                        &lt;/artifactId&gt;
                                        &lt;versionRange&gt;
                                            [0.4,)
                                        &lt;/versionRange&gt;
                                        &lt;goals&gt;
                                            &lt;goal&gt;install&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;reporting&gt;
        &lt;excludeDefaults&gt;true&lt;/excludeDefaults&gt;
        &lt;plugins&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;ru.yandex.qatools.allure&lt;/groupId&gt;
                &lt;artifactId&gt;allure-maven-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.0&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;reportVersion&gt;${version.allure}&lt;/reportVersion&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;
        &lt;/plugins&gt;
    &lt;/reporting&gt;
&lt;/project&gt;
</code></pre>