blob: 4b3b8418c984261f6f0ebe7153a327ce8d66d3b8 [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>
5 <groupId>org.openecomp</groupId>
Rob Daugherty3efc13f2017-07-19 16:38:36 -04006 <artifactId>so</artifactId>
ChrisC1ba1d192017-03-13 05:01:04 -07007 <version>1.1.0-SNAPSHOT</version>
ChrisC025301d2017-01-31 11:40:03 +01008 </parent>
9
Rob Daugherty3efc13f2017-07-19 16:38:36 -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>
32 ${project.basedir}/src/main/resources/AllottedResourceCustomization.hbm.xml,
33 ${project.basedir}/src/main/resources/HeatEnvironment.hbm.xml,
34 ${project.basedir}/src/main/resources/HeatNestedTemplate.hbm.xml,
35 ${project.basedir}/src/main/resources/HeatTemplate.hbm.xml,
36 ${project.basedir}/src/main/resources/ModelRecipe.hbm.xml,
37 ${project.basedir}/src/main/resources/NetworkRecipe.hbm.xml,
38 ${project.basedir}/src/main/resources/NetworkResource.hbm.xml,
39 ${project.basedir}/src/main/resources/NetworkResourceCustomization.hbm.xml,
40 ${project.basedir}/src/main/resources/Service.hbm.xml,
41 ${project.basedir}/src/main/resources/ServiceToAllottedResources.hbm.xml,
42 ${project.basedir}/src/main/resources/ServiceToNetworks.hbm.xml,
43 ${project.basedir}/src/main/resources/VfModule.hbm.xml,
44 ${project.basedir}/src/main/resources/VfModuleToHeatFiles.hbm.xml,
45 ${project.basedir}/src/main/resources/VnfComponent.hbm.xml,
46 ${project.basedir}/src/main/resources/VnfComponentsRecipe.hbm.xml,
47 ${project.basedir}/src/main/resources/VnfRecipe.hbm.xml,
48 ${project.basedir}/src/main/resources/VnfResource.hbm.xml
49 </hibernateMapping>
ChrisC025301d2017-01-31 11:40:03 +010050 <target>SCRIPT</target>
51 <skip>false</skip>
52 <force>true</force>
53 <outputFile>${project.build.directory}/MySQL-Catalog-schema.sql</outputFile>
54 </configuration>
55 </execution>
56 </executions>
57 </plugin>
58 <plugin>
59 <artifactId>maven-resources-plugin</artifactId>
60 <version>3.0.1</version>
61 <executions>
ChrisC1ba1d192017-03-13 05:01:04 -070062
ChrisC025301d2017-01-31 11:40:03 +010063 <execution>
64 <id>copy-sql-file</id>
65 <phase>install</phase>
66 <goals>
67 <goal>copy-resources</goal>
68 </goals>
69 <configuration>
70 <overwrite>true</overwrite>
ChrisC1ba1d192017-03-13 05:01:04 -070071
ChrisC025301d2017-01-31 11:40:03 +010072 <outputDirectory>${project.basedir}/../packages/root-pack-extras/config-resources/mariadb/db-sql-scripts/main-schemas</outputDirectory>
ChrisC1ba1d192017-03-13 05:01:04 -070073
ChrisC025301d2017-01-31 11:40:03 +010074 <resources>
75 <resource>
76 <directory>${project.build.directory}</directory>
77 <filtering>false</filtering>
78 <includes>
79 <include>*.sql</include>
80 </includes>
81 </resource>
ChrisC1ba1d192017-03-13 05:01:04 -070082 </resources>
ChrisC025301d2017-01-31 11:40:03 +010083 </configuration>
84 </execution>
85 </executions>
86 </plugin>
87 </plugins>
88 <pluginManagement>
89 <plugins>
90 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
91 <plugin>
92 <groupId>org.eclipse.m2e</groupId>
93 <artifactId>lifecycle-mapping</artifactId>
94 <version>1.0.0</version>
95 <configuration>
96 <lifecycleMappingMetadata>
97 <pluginExecutions>
98 <pluginExecution>
99 <pluginExecutionFilter>
100 <groupId>de.juplo</groupId>
101 <artifactId>
102 hibernate4-maven-plugin
103 </artifactId>
104 <versionRange>
105 [1.0.3,)
106 </versionRange>
107 <goals>
108 <goal>export</goal>
109 </goals>
110 </pluginExecutionFilter>
111 <action>
112 <ignore></ignore>
113 </action>
114 </pluginExecution>
115 </pluginExecutions>
116 </lifecycleMappingMetadata>
117 </configuration>
118 </plugin>
119 </plugins>
120 </pluginManagement>
121 </build>
122
123 <dependencies>
124 <dependency>
125 <groupId>org.hibernate</groupId>
126 <artifactId>hibernate-core</artifactId>
127 <version>4.3.6.Final</version>
128 <exclusions>
129 <!-- Avoid hibernate inclusion as provided in Jboss -->
130 <exclusion>
131 <groupId>org.jboss</groupId>
132 <artifactId>jandex</artifactId>
133 </exclusion>
134 <exclusion>
135 <groupId>org.javassist</groupId>
136 <artifactId>javassist</artifactId>
137 </exclusion>
138 <exclusion>
139 <groupId>org.jboss.logging</groupId>
140 <artifactId>jboss-logging</artifactId>
141 </exclusion>
142 <exclusion>
143 <groupId>org.jboss.logging</groupId>
144 <artifactId>jboss-logging-annotations</artifactId>
145 </exclusion>
146 <exclusion>
147 <groupId>org.jboss.spec.javax.transaction</groupId>
148 <artifactId>jboss-transaction-api_1.2_spec</artifactId>
149 </exclusion>
150 <exclusion>
151 <groupId>antlr</groupId>
152 <artifactId>antlr</artifactId>
153 </exclusion>
154 <exclusion>
155 <groupId>dom4j</groupId>
156 <artifactId>dom4j</artifactId>
157 </exclusion>
158 </exclusions>
159 </dependency>
xg353yb6b7bef2017-04-11 13:30:42 +0200160 <dependency>
161 <groupId>org.evosuite</groupId>
162 <artifactId>evosuite-standalone-runtime</artifactId>
163 <version>${evosuiteVersion}</version>
164 <scope>test</scope>
165 </dependency>
ChrisC025301d2017-01-31 11:40:03 +0100166 <dependency>
Rob Daugherty3efc13f2017-07-19 16:38:36 -0400167 <groupId>org.openecomp.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100168 <artifactId>common</artifactId>
169 <version>${project.version}</version>
170 </dependency>
171 </dependencies>
172</project>