Maven build runs when I run a Unit test in eclipse -


i have maven project. trying run single test in maven command line , works fine. trying debug test in eclipse , using -dmaven.surefire.debug option , starting debug on port 5005 "remote application" in maven - ref http://maven.apache.org/surefire/maven-surefire-plugin/examples/debugging.html

now when - part of maven command in command line classes/test-classes, spring config compiled , put in right places. when run debug eclipse when test pauses listen on port 5005 - see eclipse running maven build on again , classes recompiled. , while doing not picking profiles required test not profiles active default. fix project->properties->maven , set active maven profiles there.

what looking if why eclipse trying maven build when trying run test compiled class present? default behaviour of eclipse maven plugin m2e? , can turned off - executes class instead of trying maven build?


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -