failsafe plugin won’t run on one project but will run on another — why?

Take a look at the failsafe docs for the test names failsafe expects by default: <includes> <include>**/IT*.java</include> <include>**/*IT.java</include> <include>**/*ITCase.java</include> </includes> Are your tests named following one of these patterns? If not, try defining the <includes> element in the plugin configuration. Or change your test name(s) to fit the default pattern. Okay, now that we’ve verified … Read more

mvn release:prepare not committing changes to pom.xml

I solved the issue on my side (running maven 3.0.5) by updating the git scm provider dependency, not the release plugin version: <build> <plugins> <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.4.2</version> <dependencies> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.8.1</version> </dependency> </dependencies> </plugin> </plugins> </build> The git scm 1.8.1 version correctly makes the git commit (tested with the prepare and rollback goals). EDIT: … Read more

Maven install error: Dependency could not be resolved

Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.8 from/to central (http://repo.maven.apache.org/maven2): repo.maven.apache.org: Unknown host repo.maven.apache.org It seems like your maven cannot access remote central repository. Check if you have an established internet connection. Check if you can access default maven repo http://repo.maven.apache.org/maven2 in your browser. Check if you have correct configuration in <repositories> and <proxies> in your your … Read more