ikumar
2008-01-10 19:54:57 UTC
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>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>2.0-alpha-2</version>
<configuration>
<hibernate>
<configurationFile>/src/main/resources/hibernate.cfg.xml</configurationFile>
</hibernate>
<outputDirectory>
<hbm2java>src/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?
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>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>2.0-alpha-2</version>
<configuration>
<hibernate>
<configurationFile>/src/main/resources/hibernate.cfg.xml</configurationFile>
</hibernate>
<outputDirectory>
<hbm2java>src/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.
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.