1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 |
<modelVersion>4.0.0</modelVersion> |
4 |
|
5 |
<artifactId>schmitzm-hibernate</artifactId> |
6 |
<packaging>jar</packaging> |
7 |
|
8 |
<parent> |
9 |
<groupId>de.schmitzm</groupId> |
10 |
<artifactId>schmitzm-parent</artifactId> |
11 |
<version>2.8-SNAPSHOT</version> |
12 |
<relativePath>../schmitzm-parent/pom.xml</relativePath> |
13 |
</parent> |
14 |
|
15 |
<name>schmitzm-hibernate</name> |
16 |
|
17 |
<dependencies> |
18 |
|
19 |
<dependency> |
20 |
<groupId>de.schmitzm</groupId> |
21 |
<artifactId>schmitzm-core</artifactId> |
22 |
<version>${project.version}</version> |
23 |
<type>test-jar</type> |
24 |
<scope>test</scope> |
25 |
</dependency> |
26 |
|
27 |
<dependency> |
28 |
<groupId>de.schmitzm</groupId> |
29 |
<artifactId>schmitzm-core</artifactId> |
30 |
<version>${project.version}</version> |
31 |
<type>jar</type> |
32 |
<scope>compile</scope> |
33 |
</dependency> |
34 |
|
35 |
<dependency> |
36 |
<groupId>org.hibernate</groupId> |
37 |
<artifactId>hibernate-entitymanager</artifactId> |
38 |
<version>3.4.0.GA</version> |
39 |
<scope>compile</scope> |
40 |
</dependency> |
41 |
<dependency> |
42 |
<groupId>org.hibernate</groupId> |
43 |
<artifactId>hibernate-core</artifactId> |
44 |
<version>3.3.2.GA</version> |
45 |
<type>jar</type> |
46 |
<scope>compile</scope> |
47 |
</dependency> |
48 |
</dependencies> |
49 |
|
50 |
<profiles> |
51 |
<profile> |
52 |
<id>resourceOperationRemove</id> |
53 |
<!-- When this profile is activated (e.g with "mavn install -P resourceOperationRemove" |
54 |
the build will remove any lines in the resource bundes that are tagged with |
55 |
REMOVEME_ --> |
56 |
<build> |
57 |
<plugins> |
58 |
<plugin> |
59 |
<groupId>org.codehaus.mojo</groupId> |
60 |
<artifactId>exec-maven-plugin</artifactId> |
61 |
<version>1.2</version> |
62 |
<executions> |
63 |
<execution> |
64 |
<phase>generate-sources</phase> |
65 |
<goals> |
66 |
<goal>java</goal> |
67 |
</goals> |
68 |
<configuration> |
69 |
<mainClass>de.schmitzm.lang.ResourceProviderOperator</mainClass> |
70 |
<arguments> |
71 |
<argument>-s</argument> |
72 |
<argument>${basedir}/src/main/resources</argument> |
73 |
<argument>-b</argument> |
74 |
<argument>de.schmitzm.db.hibernate.resource.locales.HibernateResourceBundle |
75 |
</argument> |
76 |
</arguments> |
77 |
</configuration> |
78 |
</execution> |
79 |
</executions> |
80 |
</plugin> |
81 |
</plugins> |
82 |
</build> |
83 |
</profile> |
84 |
</profiles> |
85 |
</project> |