Revision 4f851db4
Added by Andreas Müller over 3 years ago
cdmlib-persistence/pom.xml | ||
---|---|---|
15 | 15 |
<build> |
16 | 16 |
<plugins> |
17 | 17 |
<plugin> |
18 |
<groupId>org.codehaus.mojo</groupId> |
|
19 |
<artifactId>hibernate3-maven-plugin</artifactId> |
|
20 |
<version>3.0</version> |
|
21 |
<configuration> |
|
22 |
<components> |
|
23 |
<component> |
|
24 |
<name>hbm2ddl</name> |
|
25 |
<implementation>annotationconfigurationX</implementation> |
|
26 |
</component> |
|
27 |
</components> |
|
28 |
<componentProperties> |
|
29 |
<namingstrategy>org.hibernate.cfg.DefaultComponentSafeNamingStrategy</namingstrategy> |
|
30 |
<propertyfile>/src/test/resources/dbscripts/hibernate.properties</propertyfile> |
|
31 |
<outputfilename>001_cdm.ddl</outputfilename> |
|
32 |
<configurationfile>/src/main/resources/eu/etaxonomy/cdm/hibernate.cfg.xml</configurationfile> |
|
33 |
</componentProperties> |
|
34 |
</configuration> |
|
35 |
<dependencies> |
|
36 |
<dependency> |
|
37 |
<groupId>eu.etaxonomy</groupId> |
|
38 |
<artifactId>cdmlib-db</artifactId> |
|
39 |
<version>${project.version}</version> |
|
40 |
</dependency> |
|
41 |
<dependency> |
|
42 |
<groupId>org.hibernate</groupId> |
|
43 |
<artifactId>hibernate-annotations</artifactId> |
|
44 |
<version>3.5.6-FINAL</version> |
|
45 |
</dependency> |
|
46 |
</dependencies> |
|
47 |
</plugin> |
|
48 |
<plugin> |
|
18 |
<!-- TODO do we need this? At all or move it in cdmlib-test? --> |
|
49 | 19 |
<groupId>org.apache.maven.plugins</groupId> |
50 | 20 |
<artifactId>maven-jar-plugin</artifactId> |
51 | 21 |
<version>2.3.2</version> |
cdmlib-test/pom.xml | ||
---|---|---|
14 | 14 |
|
15 | 15 |
<build> |
16 | 16 |
<plugins> |
17 |
<!-- <plugin> --> |
|
18 |
<!-- <groupId>org.codehaus.mojo</groupId> --> |
|
19 |
<!-- <artifactId>hibernate3-maven-plugin</artifactId> --> |
|
20 |
<!-- <version>3.0</version> --> |
|
21 |
<!-- <configuration> --> |
|
22 |
<!-- <components> --> |
|
23 |
<!-- <component> --> |
|
24 |
<!-- <name>hbm2ddl</name> --> |
|
25 |
<!-- <implementation>annotationconfigurationX</implementation> --> |
|
26 |
<!-- </component> --> |
|
27 |
<!-- </components> --> |
|
28 |
<!-- <componentProperties> --> |
|
29 |
<!-- <namingstrategy>org.hibernate.cfg.DefaultComponentSafeNamingStrategy</namingstrategy> --> |
|
30 |
<!-- <propertyfile>/src/test/resources/dbscripts/hibernate.properties</propertyfile> --> |
|
31 |
<!-- <outputfilename>001_cdm.ddl</outputfilename> --> |
|
32 |
<!-- <configurationfile>/src/main/resources/eu/etaxonomy/cdm/hibernate.cfg.xml</configurationfile> --> |
|
33 |
<!-- </componentProperties> --> |
|
34 |
<!-- </configuration> --> |
|
35 |
<!-- </plugin> --> |
|
17 | 36 |
<plugin> |
18 | 37 |
<artifactId>maven-antrun-plugin</artifactId> |
19 | 38 |
<version>3.0.0</version> |
Also available in: Unified diff
ref #9204 move and comment hibernate3-maven-plugin for 001_cdm.ddl creation to cdmlib-test