blob: 99977a46aae3461586d02f76ad30fa56c9745106 [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 <parent>
Arthur Martella22e015f2018-02-22 14:24:40 -05005 <groupId>org.onap.so</groupId>
Rob Daugherty26419352017-08-04 15:55:54 -04006 <artifactId>so</artifactId>
Jessica Wagantall777f6372017-11-20 11:10:28 -08007 <version>1.2.0-SNAPSHOT</version>
ChrisC025301d2017-01-31 11:40:03 +01008 </parent>
9
ChrisC025301d2017-01-31 11:40:03 +010010 <artifactId>mso-catalog-db</artifactId>
11 <name>mso-catalog-db</name>
12 <description>MSO Catalog Database definition and Hibernate objects</description>
13
14 <build>
15 <finalName>${project.artifactId}</finalName>
16 <plugins>
17 <plugin>
ChrisC025301d2017-01-31 11:40:03 +010018 <groupId>de.juplo</groupId>
19 <artifactId>hibernate4-maven-plugin</artifactId>
20 <version>1.1.0</version>
21 <executions>
22 <!-- MySQL -->
23 <execution>
24 <id>MySQL</id>
25 <goals>
26 <goal>export</goal>
27 </goals>
28 <configuration>
29 <hibernateDialect>org.hibernate.dialect.MySQL5Dialect</hibernateDialect>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070030 <hibernateMapping>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040031 ${project.basedir}/src/main/resources/AllottedResource.hbm.xml,
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070032 ${project.basedir}/src/main/resources/AllottedResourceCustomization.hbm.xml,
33 ${project.basedir}/src/main/resources/HeatEnvironment.hbm.xml,
Arthur Martella62cd6aa2017-09-08 13:27:46 -040034 ${project.basedir}/src/main/resources/HeatFiles.hbm.xml,
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070035 ${project.basedir}/src/main/resources/HeatNestedTemplate.hbm.xml,
36 ${project.basedir}/src/main/resources/HeatTemplate.hbm.xml,
37 ${project.basedir}/src/main/resources/ModelRecipe.hbm.xml,
38 ${project.basedir}/src/main/resources/NetworkRecipe.hbm.xml,
39 ${project.basedir}/src/main/resources/NetworkResource.hbm.xml,
40 ${project.basedir}/src/main/resources/NetworkResourceCustomization.hbm.xml,
41 ${project.basedir}/src/main/resources/Service.hbm.xml,
Arthur Martella62cd6aa2017-09-08 13:27:46 -040042 ${project.basedir}/src/main/resources/ServiceRecipe.hbm.xml,
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070043 ${project.basedir}/src/main/resources/ServiceToAllottedResources.hbm.xml,
44 ${project.basedir}/src/main/resources/ServiceToNetworks.hbm.xml,
Arthur Martella62cd6aa2017-09-08 13:27:46 -040045 ${project.basedir}/src/main/resources/ServiceToResourceCustomization.hbm.xml,
46 ${project.basedir}/src/main/resources/TempNetworkHeatTemplateLookup.hbm.xml,
47 ${project.basedir}/src/main/resources/ToscaCsar.hbm.xml,
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070048 ${project.basedir}/src/main/resources/VfModule.hbm.xml,
Arthur Martella62cd6aa2017-09-08 13:27:46 -040049 ${project.basedir}/src/main/resources/VfModuleCustomization.hbm.xml,
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070050 ${project.basedir}/src/main/resources/VfModuleToHeatFiles.hbm.xml,
51 ${project.basedir}/src/main/resources/VnfComponent.hbm.xml,
52 ${project.basedir}/src/main/resources/VnfComponentsRecipe.hbm.xml,
53 ${project.basedir}/src/main/resources/VnfRecipe.hbm.xml,
Arthur Martella62cd6aa2017-09-08 13:27:46 -040054 ${project.basedir}/src/main/resources/VnfResCustomToVfModuleCustom.hbm.xml,
55 ${project.basedir}/src/main/resources/VnfResource.hbm.xml,
56 ${project.basedir}/src/main/resources/VnfResourceCustomization.hbm.xml
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070057 </hibernateMapping>
ChrisC025301d2017-01-31 11:40:03 +010058 <target>SCRIPT</target>
59 <skip>false</skip>
60 <force>true</force>
61 <outputFile>${project.build.directory}/MySQL-Catalog-schema.sql</outputFile>
62 </configuration>
63 </execution>
64 </executions>
65 </plugin>
66 <plugin>
67 <artifactId>maven-resources-plugin</artifactId>
68 <version>3.0.1</version>
69 <executions>
ChrisC1ba1d192017-03-13 05:01:04 -070070
ChrisC025301d2017-01-31 11:40:03 +010071 <execution>
72 <id>copy-sql-file</id>
73 <phase>install</phase>
74 <goals>
75 <goal>copy-resources</goal>
76 </goals>
77 <configuration>
78 <overwrite>true</overwrite>
ChrisC1ba1d192017-03-13 05:01:04 -070079
ChrisC025301d2017-01-31 11:40:03 +010080 <outputDirectory>${project.basedir}/../packages/root-pack-extras/config-resources/mariadb/db-sql-scripts/main-schemas</outputDirectory>
ChrisC1ba1d192017-03-13 05:01:04 -070081
ChrisC025301d2017-01-31 11:40:03 +010082 <resources>
83 <resource>
84 <directory>${project.build.directory}</directory>
85 <filtering>false</filtering>
86 <includes>
87 <include>*.sql</include>
88 </includes>
89 </resource>
ChrisC1ba1d192017-03-13 05:01:04 -070090 </resources>
ChrisC025301d2017-01-31 11:40:03 +010091 </configuration>
92 </execution>
93 </executions>
94 </plugin>
95 </plugins>
96 <pluginManagement>
97 <plugins>
98 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
99 <plugin>
100 <groupId>org.eclipse.m2e</groupId>
101 <artifactId>lifecycle-mapping</artifactId>
102 <version>1.0.0</version>
103 <configuration>
104 <lifecycleMappingMetadata>
105 <pluginExecutions>
106 <pluginExecution>
107 <pluginExecutionFilter>
108 <groupId>de.juplo</groupId>
109 <artifactId>
110 hibernate4-maven-plugin
111 </artifactId>
112 <versionRange>
113 [1.0.3,)
114 </versionRange>
115 <goals>
116 <goal>export</goal>
117 </goals>
118 </pluginExecutionFilter>
119 <action>
120 <ignore></ignore>
121 </action>
122 </pluginExecution>
123 </pluginExecutions>
124 </lifecycleMappingMetadata>
125 </configuration>
126 </plugin>
127 </plugins>
128 </pluginManagement>
129 </build>
130
131 <dependencies>
132 <dependency>
133 <groupId>org.hibernate</groupId>
134 <artifactId>hibernate-core</artifactId>
135 <version>4.3.6.Final</version>
136 <exclusions>
137 <!-- Avoid hibernate inclusion as provided in Jboss -->
138 <exclusion>
139 <groupId>org.jboss</groupId>
140 <artifactId>jandex</artifactId>
141 </exclusion>
142 <exclusion>
143 <groupId>org.javassist</groupId>
144 <artifactId>javassist</artifactId>
145 </exclusion>
146 <exclusion>
147 <groupId>org.jboss.logging</groupId>
148 <artifactId>jboss-logging</artifactId>
149 </exclusion>
150 <exclusion>
151 <groupId>org.jboss.logging</groupId>
152 <artifactId>jboss-logging-annotations</artifactId>
153 </exclusion>
154 <exclusion>
155 <groupId>org.jboss.spec.javax.transaction</groupId>
156 <artifactId>jboss-transaction-api_1.2_spec</artifactId>
157 </exclusion>
158 <exclusion>
159 <groupId>antlr</groupId>
160 <artifactId>antlr</artifactId>
161 </exclusion>
162 <exclusion>
163 <groupId>dom4j</groupId>
164 <artifactId>dom4j</artifactId>
165 </exclusion>
166 </exclusions>
167 </dependency>
xg353yb6b7bef2017-04-11 13:30:42 +0200168 <dependency>
Arthur Martella22e015f2018-02-22 14:24:40 -0500169 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100170 <artifactId>common</artifactId>
171 <version>${project.version}</version>
172 </dependency>
subhash kumar singh7aa50d52018-01-11 10:35:01 +0000173 <dependency>
174 <groupId>org.jmockit</groupId>
175 <artifactId>jmockit</artifactId>
176 <version>1.8</version>
177 <scope>test</scope>
178 </dependency>
179 </dependencies>
ChrisC025301d2017-01-31 11:40:03 +0100180</project>