blob: 0dc9e348e9152dc9dd2933b39b5d6acc5c401d96 [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>
Rob Daugherty8047b7c2017-08-01 11:56:58 -04005 <groupId>org.openecomp.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
Rob Daugherty9de3ce02017-08-04 12:15:51 -040010 <groupId>org.openecomp.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +010011 <artifactId>mso-catalog-db</artifactId>
12 <name>mso-catalog-db</name>
13 <description>MSO Catalog Database definition and Hibernate objects</description>
14
15 <build>
16 <finalName>${project.artifactId}</finalName>
17 <plugins>
18 <plugin>
ChrisC025301d2017-01-31 11:40:03 +010019 <groupId>de.juplo</groupId>
20 <artifactId>hibernate4-maven-plugin</artifactId>
21 <version>1.1.0</version>
22 <executions>
23 <!-- MySQL -->
24 <execution>
25 <id>MySQL</id>
26 <goals>
27 <goal>export</goal>
28 </goals>
29 <configuration>
30 <hibernateDialect>org.hibernate.dialect.MySQL5Dialect</hibernateDialect>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070031 <hibernateMapping>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040032 ${project.basedir}/src/main/resources/AllottedResource.hbm.xml,
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070033 ${project.basedir}/src/main/resources/AllottedResourceCustomization.hbm.xml,
34 ${project.basedir}/src/main/resources/HeatEnvironment.hbm.xml,
Arthur Martella62cd6aa2017-09-08 13:27:46 -040035 ${project.basedir}/src/main/resources/HeatFiles.hbm.xml,
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070036 ${project.basedir}/src/main/resources/HeatNestedTemplate.hbm.xml,
37 ${project.basedir}/src/main/resources/HeatTemplate.hbm.xml,
38 ${project.basedir}/src/main/resources/ModelRecipe.hbm.xml,
39 ${project.basedir}/src/main/resources/NetworkRecipe.hbm.xml,
40 ${project.basedir}/src/main/resources/NetworkResource.hbm.xml,
41 ${project.basedir}/src/main/resources/NetworkResourceCustomization.hbm.xml,
42 ${project.basedir}/src/main/resources/Service.hbm.xml,
Arthur Martella62cd6aa2017-09-08 13:27:46 -040043 ${project.basedir}/src/main/resources/ServiceRecipe.hbm.xml,
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070044 ${project.basedir}/src/main/resources/ServiceToAllottedResources.hbm.xml,
45 ${project.basedir}/src/main/resources/ServiceToNetworks.hbm.xml,
Arthur Martella62cd6aa2017-09-08 13:27:46 -040046 ${project.basedir}/src/main/resources/ServiceToResourceCustomization.hbm.xml,
47 ${project.basedir}/src/main/resources/TempNetworkHeatTemplateLookup.hbm.xml,
48 ${project.basedir}/src/main/resources/ToscaCsar.hbm.xml,
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070049 ${project.basedir}/src/main/resources/VfModule.hbm.xml,
Arthur Martella62cd6aa2017-09-08 13:27:46 -040050 ${project.basedir}/src/main/resources/VfModuleCustomization.hbm.xml,
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070051 ${project.basedir}/src/main/resources/VfModuleToHeatFiles.hbm.xml,
52 ${project.basedir}/src/main/resources/VnfComponent.hbm.xml,
53 ${project.basedir}/src/main/resources/VnfComponentsRecipe.hbm.xml,
54 ${project.basedir}/src/main/resources/VnfRecipe.hbm.xml,
Arthur Martella62cd6aa2017-09-08 13:27:46 -040055 ${project.basedir}/src/main/resources/VnfResCustomToVfModuleCustom.hbm.xml,
56 ${project.basedir}/src/main/resources/VnfResource.hbm.xml,
57 ${project.basedir}/src/main/resources/VnfResourceCustomization.hbm.xml
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070058 </hibernateMapping>
ChrisC025301d2017-01-31 11:40:03 +010059 <target>SCRIPT</target>
60 <skip>false</skip>
61 <force>true</force>
62 <outputFile>${project.build.directory}/MySQL-Catalog-schema.sql</outputFile>
63 </configuration>
64 </execution>
65 </executions>
66 </plugin>
67 <plugin>
68 <artifactId>maven-resources-plugin</artifactId>
69 <version>3.0.1</version>
70 <executions>
ChrisC1ba1d192017-03-13 05:01:04 -070071
ChrisC025301d2017-01-31 11:40:03 +010072 <execution>
73 <id>copy-sql-file</id>
74 <phase>install</phase>
75 <goals>
76 <goal>copy-resources</goal>
77 </goals>
78 <configuration>
79 <overwrite>true</overwrite>
ChrisC1ba1d192017-03-13 05:01:04 -070080
ChrisC025301d2017-01-31 11:40:03 +010081 <outputDirectory>${project.basedir}/../packages/root-pack-extras/config-resources/mariadb/db-sql-scripts/main-schemas</outputDirectory>
ChrisC1ba1d192017-03-13 05:01:04 -070082
ChrisC025301d2017-01-31 11:40:03 +010083 <resources>
84 <resource>
85 <directory>${project.build.directory}</directory>
86 <filtering>false</filtering>
87 <includes>
88 <include>*.sql</include>
89 </includes>
90 </resource>
ChrisC1ba1d192017-03-13 05:01:04 -070091 </resources>
ChrisC025301d2017-01-31 11:40:03 +010092 </configuration>
93 </execution>
94 </executions>
95 </plugin>
96 </plugins>
97 <pluginManagement>
98 <plugins>
99 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
100 <plugin>
101 <groupId>org.eclipse.m2e</groupId>
102 <artifactId>lifecycle-mapping</artifactId>
103 <version>1.0.0</version>
104 <configuration>
105 <lifecycleMappingMetadata>
106 <pluginExecutions>
107 <pluginExecution>
108 <pluginExecutionFilter>
109 <groupId>de.juplo</groupId>
110 <artifactId>
111 hibernate4-maven-plugin
112 </artifactId>
113 <versionRange>
114 [1.0.3,)
115 </versionRange>
116 <goals>
117 <goal>export</goal>
118 </goals>
119 </pluginExecutionFilter>
120 <action>
121 <ignore></ignore>
122 </action>
123 </pluginExecution>
124 </pluginExecutions>
125 </lifecycleMappingMetadata>
126 </configuration>
127 </plugin>
128 </plugins>
129 </pluginManagement>
130 </build>
131
132 <dependencies>
133 <dependency>
134 <groupId>org.hibernate</groupId>
135 <artifactId>hibernate-core</artifactId>
136 <version>4.3.6.Final</version>
137 <exclusions>
138 <!-- Avoid hibernate inclusion as provided in Jboss -->
139 <exclusion>
140 <groupId>org.jboss</groupId>
141 <artifactId>jandex</artifactId>
142 </exclusion>
143 <exclusion>
144 <groupId>org.javassist</groupId>
145 <artifactId>javassist</artifactId>
146 </exclusion>
147 <exclusion>
148 <groupId>org.jboss.logging</groupId>
149 <artifactId>jboss-logging</artifactId>
150 </exclusion>
151 <exclusion>
152 <groupId>org.jboss.logging</groupId>
153 <artifactId>jboss-logging-annotations</artifactId>
154 </exclusion>
155 <exclusion>
156 <groupId>org.jboss.spec.javax.transaction</groupId>
157 <artifactId>jboss-transaction-api_1.2_spec</artifactId>
158 </exclusion>
159 <exclusion>
160 <groupId>antlr</groupId>
161 <artifactId>antlr</artifactId>
162 </exclusion>
163 <exclusion>
164 <groupId>dom4j</groupId>
165 <artifactId>dom4j</artifactId>
166 </exclusion>
167 </exclusions>
168 </dependency>
xg353yb6b7bef2017-04-11 13:30:42 +0200169 <dependency>
Rob Daugherty9de3ce02017-08-04 12:15:51 -0400170 <groupId>org.openecomp.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100171 <artifactId>common</artifactId>
172 <version>${project.version}</version>
173 </dependency>
subhash kumar singh7aa50d52018-01-11 10:35:01 +0000174 <dependency>
175 <groupId>org.jmockit</groupId>
176 <artifactId>jmockit</artifactId>
177 <version>1.8</version>
178 <scope>test</scope>
179 </dependency>
180 </dependencies>
ChrisC025301d2017-01-31 11:40:03 +0100181</project>