Note that there are some explanatory texts on larger screens.

plurals
  1. POHave problems with testing my project by maven-surefire-plugin
    text
    copied!<p>I wrote my maven project in Netbeans.I wrote tests for my project (dao,service..). All tests are right, but when I build or test my project maven shows there are no tests to compile.I'm using maven-surefire-plugin, so include it to the pom.xml:</p> <pre><code>&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.10&lt;/version&gt; &lt;dependencies&gt; &lt;dependency&gt; &lt;groupId&gt;org.apache.maven.surefire&lt;/groupId&gt; &lt;artifactId&gt;surefire-junit47&lt;/artifactId&gt; &lt;version&gt;2.10&lt;/version&gt; &lt;/dependency&gt; &lt;/dependencies&gt; &lt;configuration&gt; &lt;testFailureIgnore&gt;true&lt;/testFailureIgnore&gt; &lt;reportsDirectory&gt;${project.build.directory}/surefire-reports&lt;/reportsDirectory&gt; &lt;/configuration&gt; </code></pre> <p></p> <p>I think something wrong with surefire-plugin..</p> <p>Thats:</p> <pre><code>Scanning for projects... ------------------------------------------------------------------------ Building Employeers 1.0.0-BUILD-SNAPSHOT ------------------------------------------------------------------------ [aspectj:compile] [resources:resources] [debug] execute contextualize Using 'UTF-8' encoding to copy filtered resources. Copying 4 resources [compiler:compile] Nothing to compile - all classes are up to date [aspectj:test-compile] [resources:testResources] [debug] execute contextualize Using 'UTF-8' encoding to copy filtered resources. Copying 1 resource [compiler:testCompile] Nothing to compile - all classes are up to date [surefire:test] Surefire report directory: C:\Users\Администратор\Documents\NetBeansProjects\Employeers\target\surefire-reports Using configured provider org.apache.maven.surefire.junitcore.JUnitCoreProvider ------------------------------------------------------- T E S T S ------------------------------------------------------- Error: An unexpected error occurred while trying to open file C:\Users\?????????????\Documents\NetBeansProjects\Employeers\target\surefire\surefirebooter472050683580306804.jar Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [war:war] Packaging webapp Assembling webapp [Employeers] in [C:\Users\Администратор\Documents\NetBeansProjects\Employeers\target\Employeers-1.0.0-BUILD-SNAPSHOT] Processing war project Copying webapp resources [C:\Users\Администратор\Documents\NetBeansProjects\Employeers\src\main\webapp] Webapp assembled in [590 msecs] Building war: C:\Users\Администратор\Documents\NetBeansProjects\Employeers\target\Employees.war Warning: selected war files include a WEB-INF/web.xml which will be ignored (webxml attribute is missing from war task, or ignoreWebxml attribute is specified as 'true') ------------------------------------------------------------------------ BUILD SUCCESS ------------------------------------------------------------------------ Total time: 5.258s Finished at: Fri Jul 27 19:47:07 EEST 2012 Final Memory: 6M/16M ------------------------------------------------------------------------ </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload