Re: outputDirectory for hibernate3-maven-plugin not working properly
Hello Ikumar Your pom is not well configured. The correct syntax would be: plugin groupIdorg.codehaus.mojo/groupId artifactIdhibernate3-maven-plugin/artifactId version2.0/version configuration components component namehbm2java/name outputDirectorysrc/main/java/outputDirectory /component /components /configuration /plugin Regards Johann Reyes
Re: outputDirectory for hibernate3-maven-plugin not working properly
Fear not Ikumar - I made the same mistake, the docs are very misleading (in fact, multiple formats are used in one page)... Andy On 21 Jan 2008, at 15:22, Johann Reyes wrote: Hello Ikumar Your pom is not well configured. The correct syntax would be: plugin groupIdorg.codehaus.mojo/groupId artifactIdhibernate3-maven-plugin/artifactId version2.0/version configuration components component namehbm2java/name outputDirectorysrc/main/java/outputDirectory /component /components /configuration /plugin Regards Johann Reyes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
outputDirectory for hibernate3-maven-plugin not working properly
Hi, I am using the maven plugin to generate java pojo's from hibernate mapping files(hbm.xml). Here is the plugin details in pom.xml. plugin groupIdorg.codehaus.mojo/groupId artifactIdhibernate3-maven-plugin/artifactId version2.0-alpha-2/version configuration hibernate configurationFile/src/main/resources/hibernate.cfg.xml/configurationFile /hibernate outputDirectory hbm2javasrc/main/java/hbm2java /outputDirectory /configuration /plugin When i run mvn hibernate3:hbm2java command, the POJO's are created but in the target folder target/src/java not in the src folder src/main/java. Can anyone tell me what the problem is? -- View this message in context: http://www.nabble.com/outputDirectory-for-hibernate3-maven-plugin-not-working-properly-tp14742354s177p14742354.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]