Trivial fixes
diff --git a/cxf-xjc-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractXSDToJavaMojo.java b/cxf-xjc-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractXSDToJavaMojo.java
index fb58f19..cb69a3e 100644
--- a/cxf-xjc-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractXSDToJavaMojo.java
+++ b/cxf-xjc-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractXSDToJavaMojo.java
@@ -337,7 +337,7 @@
.getArtifactResults()) {
final org.eclipse.aether.artifact.Artifact artifact = artifactResult.getArtifact();
if (null == artifact || null == artifact.getFile()) {
- throw new MojoExecutionException("Unable to resolve " + artifact.toString()
+ throw new MojoExecutionException("Unable to resolve " + artifact
+ " while resolving " + artifactDescriptor);
}
files.add(artifact.getFile());
@@ -471,7 +471,7 @@
throw new IOException(
"The java executable '"
+ javaExe
- + "' doesn't exist or is not a file."
+ + "' doesn't exist or is not a file. "
+ "Verify the <javaExecutable/> parameter.");
}
return javaExe;