blob: fb463fbef834a061f2c22a60de8fa37e4609811b [file] [log] [blame]
ChrisC025301d2017-01-31 11:40:03 +01001<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 <parent>
Arthur Martella22e015f2018-02-22 14:24:40 -05006 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +01007 <artifactId>mso-api-handlers</artifactId>
Jessica Wagantall777f6372017-11-20 11:10:28 -08008 <version>1.2.0-SNAPSHOT</version>
ChrisC025301d2017-01-31 11:40:03 +01009 </parent>
10
11 <artifactId>mso-requests-db</artifactId>
12
13 <name>mso-requests-db</name>
14 <description>MSO Requests Database definition and Hibernate objects</description>
15 <properties>
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
18 </properties>
19
20 <dependencies>
21 <dependency>
22 <groupId>org.hibernate</groupId>
23 <artifactId>hibernate-core</artifactId>
24 <version>4.3.6.Final</version>
25 <exclusions>
26 <!-- Avoid hibernate inclusion as provided in Jboss -->
27 <exclusion>
28 <groupId>org.jboss</groupId>
29 <artifactId>jandex</artifactId>
30 </exclusion>
31 <exclusion>
32 <groupId>org.javassist</groupId>
33 <artifactId>javassist</artifactId>
34 </exclusion>
35 <exclusion>
36 <groupId>org.jboss.logging</groupId>
37 <artifactId>jboss-logging</artifactId>
38 </exclusion>
39 <exclusion>
40 <groupId>org.jboss.logging</groupId>
41 <artifactId>jboss-logging-annotations</artifactId>
42 </exclusion>
43 <exclusion>
44 <groupId>org.jboss.spec.javax.transaction</groupId>
45 <artifactId>jboss-transaction-api_1.2_spec</artifactId>
46 </exclusion>
47 <exclusion>
48 <groupId>antlr</groupId>
49 <artifactId>antlr</artifactId>
50 </exclusion>
51 <exclusion>
52 <groupId>dom4j</groupId>
53 <artifactId>dom4j</artifactId>
54 </exclusion>
55 </exclusions>
56 </dependency>
57 <dependency>
58 <groupId>org.hibernate</groupId>
59 <artifactId>hibernate-entitymanager</artifactId>
60 <version>4.3.6.Final</version>
61 <exclusions>
62 <!-- Avoid hibernate inclusion as provided in Jboss -->
63 <exclusion>
64 <groupId>org.jboss</groupId>
65 <artifactId>jandex</artifactId>
66 </exclusion>
67 <exclusion>
68 <groupId>org.javassist</groupId>
69 <artifactId>javassist</artifactId>
70 </exclusion>
71 <exclusion>
72 <groupId>org.jboss.logging</groupId>
73 <artifactId>jboss-logging</artifactId>
74 </exclusion>
75 <exclusion>
76 <groupId>org.jboss.logging</groupId>
77 <artifactId>jboss-logging-annotations</artifactId>
78 </exclusion>
79 <exclusion>
80 <groupId>org.jboss.spec.javax.transaction</groupId>
81 <artifactId>jboss-transaction-api_1.2_spec</artifactId>
82 </exclusion>
83 <exclusion>
84 <groupId>antlr</groupId>
85 <artifactId>antlr</artifactId>
86 </exclusion>
87 <exclusion>
88 <groupId>dom4j</groupId>
89 <artifactId>dom4j</artifactId>
90 </exclusion>
91 </exclusions>
92 </dependency>
93
94 <dependency>
95 <groupId>org.hibernate.javax.persistence</groupId>
96 <artifactId>hibernate-jpa-2.1-api</artifactId>
97 <version>1.0.0.Final</version>
98 </dependency>
ChrisC025301d2017-01-31 11:40:03 +010099 <dependency>
Arthur Martella22e015f2018-02-22 14:24:40 -0500100 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100101 <artifactId>common</artifactId>
102 <version>${project.version}</version>
103 </dependency>
104 </dependencies>
105 <packaging>jar</packaging>
106 <build>
107 <finalName>${project.artifactId}</finalName>
108 <plugins>
xg353yb6b7bef2017-04-11 13:30:42 +0200109 <plugin>
ChrisC025301d2017-01-31 11:40:03 +0100110 <groupId>de.juplo</groupId>
111 <artifactId>hibernate4-maven-plugin</artifactId>
112 <version>1.1.0</version>
113 <executions>
114 <!-- MySQL -->
115 <execution>
116 <id>MySQL</id>
117 <goals>
118 <goal>export</goal>
119 </goals>
120 <configuration>
121 <hibernateDialect>org.hibernate.dialect.MySQL5Dialect</hibernateDialect>
Rob Daugherty38f72072018-03-14 02:07:32 -0400122 <hibernateMapping>
123 ${project.basedir}/src/main/resources/InfraActiveRequests.hbm.xml,
124 ${project.basedir}/src/main/resources/OperationalEnvServiceModelStatus.hbm.xml,
125 ${project.basedir}/src/main/resources/OperationalEnvDistributionStatus.hbm.xml,
126 ${project.basedir}/src/main/resources/OperationStatus.hbm.xml,
127 ${project.basedir}/src/main/resources/SiteStatus.hbm.xml,
128 ${project.basedir}/src/main/resources/ResourceOperationStatus.hbm.xml,
129 ${project.basedir}/src/main/resources/WatchdogDistributionStatus.hbm.xml,
130 ${project.basedir}/src/main/resources/WatchdogComponentDistributionStatus.hbm.xml,
131 ${project.basedir}/src/main/resources/WatchdogServiceModVerIdLookup.hbm.xml
132 </hibernateMapping>
ChrisC025301d2017-01-31 11:40:03 +0100133 <target>SCRIPT</target>
134 <skip>false</skip>
135 <force>true</force>
136 <outputFile>${project.build.directory}/MySQL-Requests-schema.sql</outputFile>
137 </configuration>
138 </execution>
139 </executions>
140 </plugin>
141 <plugin>
142 <artifactId>maven-resources-plugin</artifactId>
143 <version>3.0.1</version>
144 <executions>
ChrisC1ba1d192017-03-13 05:01:04 -0700145
ChrisC025301d2017-01-31 11:40:03 +0100146 <execution>
147 <id>copy-sql-file</id>
148 <phase>install</phase>
149 <goals>
150 <goal>copy-resources</goal>
151 </goals>
152 <configuration>
153 <overwrite>true</overwrite>
ChrisC1ba1d192017-03-13 05:01:04 -0700154
ChrisC025301d2017-01-31 11:40:03 +0100155 <outputDirectory>${project.basedir}/../../packages/root-pack-extras/config-resources/mariadb/db-sql-scripts/main-schemas</outputDirectory>
ChrisC1ba1d192017-03-13 05:01:04 -0700156
ChrisC025301d2017-01-31 11:40:03 +0100157 <resources>
158 <resource>
159 <directory>${project.build.directory}</directory>
160 <filtering>false</filtering>
161 <includes>
162 <include>*.sql</include>
163 </includes>
164 </resource>
ChrisC1ba1d192017-03-13 05:01:04 -0700165 </resources>
ChrisC025301d2017-01-31 11:40:03 +0100166 </configuration>
167 </execution>
168 </executions>
169 </plugin>
170 </plugins>
171 <pluginManagement>
172 <plugins>
173 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
174 <plugin>
175 <groupId>org.eclipse.m2e</groupId>
176 <artifactId>lifecycle-mapping</artifactId>
177 <version>1.0.0</version>
178 <configuration>
179 <lifecycleMappingMetadata>
180 <pluginExecutions>
181 <pluginExecution>
182 <pluginExecutionFilter>
183 <groupId>de.juplo</groupId>
184 <artifactId>
185 hibernate4-maven-plugin
186 </artifactId>
187 <versionRange>
188 [1.0.3,)
189 </versionRange>
190 <goals>
191 <goal>export</goal>
192 </goals>
193 </pluginExecutionFilter>
194 <action>
195 <ignore></ignore>
196 </action>
197 </pluginExecution>
198 </pluginExecutions>
199 </lifecycleMappingMetadata>
200 </configuration>
201 </plugin>
202 </plugins>
203 </pluginManagement>
204 </build>
205
Rob Daugherty38f72072018-03-14 02:07:32 -0400206</project>