[hibernate-issues] [Hibernate-JIRA] Resolved: (METAGEN-65) Example maven configuration is not working
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Mon Jan 16 07:12:13 EST 2012
[ http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hardy Ferentschik resolved METAGEN-65.
--------------------------------------
Resolution: Fixed
> Example maven configuration is not working
> ------------------------------------------
>
> Key: METAGEN-65
> URL: http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-65
> Project: Hibernate Metamodel Generator
> Issue Type: Bug
> Components: documentation
> Affects Versions: 1.1.1.Final
> Reporter: Thomas Kalmar
> Assignee: Hardy Ferentschik
> Fix For: 1.2.next
>
>
> The example code for the maven integration changed from version 1.0 to version 1.1
> New: http://docs.jboss.org/hibernate/jpamodelgen/1.1/reference/en-US/html_single/
> {code:title="Version 1.1"}
> <plugin>
> <groupId>org.bsc.maven</groupId>
> <artifactId>maven-processor-plugin</artifactId>
> <version>1.3.7</version>
> <executions>
> <execution>
> <id>process</id>
> <goals>
> <goal>process</goal>
> </goals>
> <phase>process-sources</phase>
> </execution>
> </executions>
> <dependencies>
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-jpamodelgen</artifactId>
> <version>1.1.1.Final</version>
> <scope>compile</scope>
> </dependency>
> </dependencies>
> </plugin>
> {code}
> http://docs.jboss.org/hibernate/jpamodelgen/1.0/reference/en-US/html_single/
> {code:title="Version 1.0"}
> <plugin>
> <groupId>org.bsc.maven</groupId>
> <artifactId>maven-processor-plugin</artifactId>
> <executions>
> <execution>
> <id>process</id>
> <goals>
> <goal>process</goal>
> </goals>
> <phase>generate-sources</phase>
> <configuration>
> <!-- source output directory -->
> <outputDirectory>target/metamodel</outputDirectory>
> </configuration>
> </execution>
> </executions>
> </plugin>
> {code}
> The old version works, the new one fails. Only difference is the phase working generate-sources vs. non-working process-sources.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list