Emmanuel Bernard
Fri, 16 May 2008 14:52:46 -0700
On May 16, 2008, at 13:51, Sanne Grinovero wrote:
3) EntityManager After having registered annotations, I find out that building entitymanager produces an empty jar registered in my maven repository; no errors, just no compiled classes in the jar.
Annotations, EntityManager, Validator, Search, commons-annotations, jpa-api do not use maven for type build system. You still need to use ant jar or whatever. Ivy is finding the dependencies for you.
The ant build system does not publish the things to the maven repo.
4)Search Even when skipping or manually resolving the other issues, to build Search there is a dependency on lucene 2.3.1 but the URL appears to be wrong; I don't know how it finds the url, but he is downloading http://repository.jboss.com/maven2/org/apache/lucene/lucene-core/2.3.1/lucene-core-2.3.1.pom (the signature) instead of http://repository.jboss.com/maven2/org/apache/lucene/lucene-core/2.3.1/lucene-core-2.3.1.pom.xml And the same problem for "lucene-parent".
I think you use mvn something rather than ant something
Also before 3.3.0CR1 I could link the projects together instead of making jars, so it was easy to navigate the source to make experiments and could skipall building activities until test phases.
The way I solve that is to manually link the various projects in the IDE.
I know you are all quite busy, I can help myself (slowly) but my main concern is to understand if these problems are A) known, due the fact nobody completed the migration to maven. B) You all tested only on IDEA C) my environment is completely broken regarding option C, I deleted my workspace and all maven repository, fresh checkout and repeated all tests.. no luck. regards, Sanne 2008/5/16 Steve Ebersole <[EMAIL PROTECTED]>:Currently the docbook plugin relies on some system tools for dealing with translations. You would need the GNU GetText toolset and the KDE poxmltoolset installed to do full doc builds.Or you could disable docs in the build by using - DdisableDistribution=trueThat essentially skips the documentation and distribution modules. On May 15, 2008, at 12:03 PM, Hardy Ferentschik wrote:Hi Sanne,I just updated core to the latest and ran 'mvn clean install'. Everythingworked fine. Admittedly I had to disablethe doc profile in the master pom, because the docbook generation failed, but that's a different issue. I am using maven 2.0.9 and JDK 1.5.0_06.Maybe someone can make sense of the exception I get during documentationgeneration: [INFO] [jdocbook:translate {execution: default}] [INFO] Processing translation [fr-FR] [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] unable to obtain appropriate runtime environment CreateProcess: po2xmlD:\hibernate\core\documentation\manual\src\main\docbook\en-US \content\association_mapping.xmlD:\hibernate\core\documentation\manual\src\main\docbook\fr-FR \content\association_mapping.poerror=2 [INFO] ------------------------------------------------------------------------ [INFO] Trace org.jboss.maven.shared.process.ExecutionException: unable to obtain appropriate runtime environment ... Caused by: java.io.IOException: CreateProcess: po2xmlD:\hibernate\core\documentation\manual\src\main\docbook\en-US \content\association_mapping.xml D:\Hardy\work\hibernate\core\documentation\manual\src\main\docbook \fr-FR\content\association_mapping.poerror=2Do your Hibernate Search changes effect the core as well? With the latestchanges you don't have compile the coreanymore to build Hibernate Search. All the dependencies are managed with ivy. Of course if your patches effect the core you will have to still do it;-) JDK5 should be fine though. --Hardy _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev----------------------------- Steve Ebersole Project Lead http://hibernate.org [EMAIL PROTECTED]
_______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev