projects
/
hibernate4-maven-plugin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a warning, if a directory, that should be scanned, does not exist
[hibernate4-maven-plugin]
/
src
/
main
/
java
/
de
/
juplo
/
plugins
/
hibernate
/
AbstractSchemaMojo.java
diff --git
a/src/main/java/de/juplo/plugins/hibernate/AbstractSchemaMojo.java
b/src/main/java/de/juplo/plugins/hibernate/AbstractSchemaMojo.java
index
6f3ff97
..
28260f0
100644
(file)
--- a/
src/main/java/de/juplo/plugins/hibernate/AbstractSchemaMojo.java
+++ b/
src/main/java/de/juplo/plugins/hibernate/AbstractSchemaMojo.java
@@
-1185,6
+1185,12
@@
public abstract class AbstractSchemaMojo extends AbstractMojo
getLog().info("Adding " + dir.getAbsolutePath() + " to the list of roots to scan...");
urls.add(dir.toURI().toURL());
}
getLog().info("Adding " + dir.getAbsolutePath() + " to the list of roots to scan...");
urls.add(dir.toURI().toURL());
}
+ else
+ getLog().warn(
+ "the directory cannot be scanned for annotated classes, " +
+ "because it does not exist: " +
+ dir.getAbsolutePath()
+ );
}
catch (MalformedURLException e)
{
}
catch (MalformedURLException e)
{