From: Kai Moritz Date: Tue, 12 May 2015 20:13:23 +0000 (+0200) Subject: Upgraded scannotation from 1.0.3 to 1.0.4 X-Git-Tag: hibernate4-maven-plugin-1.1.0~8 X-Git-Url: http://juplo.de/gitweb/?p=hibernate4-maven-plugin;a=commitdiff_plain;h=038ccf9c60be6c77e2ba9c2d2a2a0d261ce02ccb Upgraded scannotation from 1.0.3 to 1.0.4 This fixes the bug that occures on some platforms, if the path contains a space. Created a fork of scannotation to bring the latest bug-fixes from SVN to maven central... --- diff --git a/pom.xml b/pom.xml index 0a8572d7..b5368866 100644 --- a/pom.xml +++ b/pom.xml @@ -132,7 +132,7 @@ 3.0.0 3.3.3 1.0.1 - 1.0.3 + 1.0.4 @@ -173,7 +173,7 @@ ${el-api.version} - org.scannotation + de.juplo scannotation ${scannotation.version} diff --git a/src/site/xhtml/pitfalls.xhtml b/src/site/xhtml/pitfalls.xhtml index 9b868001..71839293 100644 --- a/src/site/xhtml/pitfalls.xhtml +++ b/src/site/xhtml/pitfalls.xhtml @@ -184,19 +184,12 @@ mvn hibernate4:export -Dhibernate.export.force=true If you are working under Windows and get the error-message No annotated classes found in directory C:\projects\X Y Z\path-to-project\target\classes, but you are really sure, that there are annotated classes in that - directory, you should try to rename your folders, so that their names - do not contain any whitespaces. -

-

- So fare, I got to bug-reports considering this. - In both cases, removing all whitespaces from the path solved the error. - In both cases, I was not able to reproduce the bug on my development - system, which is running under linux. + directory, you are expiriencing a bug, in the scannotation-library, that + was closed in version 1.1.0 of the hibernate-maven-plugin.

- Hence, I assume, this is a sublte bug in the way, the java-version for - Windows is handling paths, that contain whitespaces. + You should consider to upgrade to that version of the plugin.