Also the output when the project builds successfully is what I'd expect to see:
Previously, the section where the build failed looked like:
INFO:
Oct 14, 2013 12:17:09 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO: — exec-maven-plugin:1.1:exec (concat-license-files) @ jagwire-license —
Oct 14, 2013 12:17:09 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO:
Oct 14, 2013 12:17:09 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO: — exec-maven-plugin:1.1:exec (resolve-jagwire-aliases) @ jagwire-license —
Oct 14, 2013 12:17:09 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO:
Oct 14, 2013 12:17:09 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO: — exec-maven-plugin:1.1:exec (sort-license-files) @ jagwire-license —
Oct 14, 2013 12:17:09 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO:
Oct 14, 2013 12:17:09 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO: — exec-maven-plugin:1.1:exec (organize-jagwire-dependencies) @ jagwire-license —
Oct 14, 2013 12:17:09 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO:
Oct 14, 2013 12:17:09 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO: — exec-maven-plugin:1.1:exec (create-license) @ jagwire-license —
Oct 14, 2013 12:17:09 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO:
Oct 14, 2013 12:17:09 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO: — maven-resources-plugin:2.5:resources (default-resources) @ jagwire-license —
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/JagwireLicense/src/main/resources
Oct 14, 2013 12:17:09 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO:
Oct 14, 2013 12:17:09 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO: — maven-compiler-plugin:2.3.2:compile (default-compile) @ jagwire-license —
[INFO] No sources to compile
Oct 14, 2013 12:17:10 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO:
Oct 14, 2013 12:17:10 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO: — maven-resources-plugin:2.5:testResources (default-testResources) @ jagwire-license —
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/JagwireLicense/src/test/resources
Oct 14, 2013 12:17:10 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO:
Oct 14, 2013 12:17:10 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO: — maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ jagwire-license —
[INFO] No sources to compile
Oct 14, 2013 12:17:10 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO:
Oct 14, 2013 12:17:10 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO: — maven-surefire-plugin:2.10:test (default-test) @ jagwire-license —
[INFO] No tests to run.
[INFO] Surefire report directory: /var/lib/jenkins/workspace/JagwireLicense/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
where is was difficult to pick out the build steps that were executing ( in this case exec-maven-plugin executions).
With the revised plugin, this section looks like:
INFO:
INFO: — exec-maven-plugin:1.1:exec (concat-license-files) @ jagwire-license —
INFO:
INFO: — exec-maven-plugin:1.1:exec (resolve-jagwire-aliases) @ jagwire-license —
INFO:
INFO: — exec-maven-plugin:1.1:exec (sort-license-files) @ jagwire-license —
INFO:
INFO: — exec-maven-plugin:1.1:exec (organize-jagwire-dependencies) @ jagwire-license —
INFO:
INFO: — exec-maven-plugin:1.1:exec (create-license) @ jagwire-license —
INFO:
INFO: — maven-resources-plugin:2.5:resources (default-resources) @ jagwire-license —
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/JagwireLicense/src/main/resources
INFO:
INFO: — maven-compiler-plugin:2.3.2:compile (default-compile) @ jagwire-license —
[INFO] No sources to compile
INFO:
INFO: — maven-resources-plugin:2.5:testResources (default-testResources) @ jagwire-license —
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/JagwireLicense/src/test/resources
INFO:
INFO: — maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ jagwire-license —
[INFO] No sources to compile
INFO:
INFO: — maven-surefire-plugin:2.10:test (default-test) @ jagwire-license —
[INFO] No tests to run.
[INFO] Surefire report directory: /var/lib/jenkins/workspace/JagwireLicense/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Where I can easily see the exec-maven-plugin steps.
Thanks again for all the work.
We encounter the same problem. We use maven as the only build step and at the end of an failing build, nothing is stated about the error:
The behavior appears on compile errors as well as on other goals, i.e. cargo:deploy.
Environment: