Skip to content

Commit

Permalink
Move test runtime mojo execution to the appropriate phase(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Oct 15, 2024
1 parent d255c64 commit f2c9668
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ static Map<String, LifecyclePhase> getBindings() {
bindings.put(
"test-compile",
new LifecyclePhase(
"org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile,org.jenkins-ci.tools:maven-hpi-plugin:test-hpl,org.jenkins-ci.tools:maven-hpi-plugin:resolve-test-dependencies"));
bindings.put("process-test-classes", new LifecyclePhase("org.jenkins-ci.tools:maven-hpi-plugin:test-runtime"));
bindings.put("test", new LifecyclePhase("org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test"));
"org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile,org.jenkins-ci.tools:maven-hpi-plugin:test-hpl"));
bindings.put(
"test",
new LifecyclePhase(
"org.jenkins-ci.tools:maven-hpi-plugin:resolve-test-dependencies,org.jenkins-ci.tools:maven-hpi-plugin:test-runtime,org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test"));
bindings.put("package", new LifecyclePhase("org.jenkins-ci.tools:maven-hpi-plugin:hpi"));
bindings.put("install", new LifecyclePhase("org.apache.maven.plugins:maven-install-plugin:2.4:install"));
bindings.put("deploy", new LifecyclePhase("org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy"));
Expand Down

0 comments on commit f2c9668

Please sign in to comment.