ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 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 | <parent> |
Rob Daugherty | 8047b7c | 2017-08-01 11:56:58 -0400 | [diff] [blame] | 5 | <groupId>org.openecomp.so</groupId> |
| 6 | <artifactId>framework</artifactId> |
ChrisC | 1ba1d19 | 2017-03-13 05:01:04 -0700 | [diff] [blame] | 7 | <version>1.1.0-SNAPSHOT</version> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 8 | </parent> |
| 9 | |
Rob Daugherty | 8047b7c | 2017-08-01 11:56:58 -0400 | [diff] [blame] | 10 | <groupId>org.openecomp.so.framework</groupId> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 11 | <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> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 19 | <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) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 31 | <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> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 50 | <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> |
ChrisC | 1ba1d19 | 2017-03-13 05:01:04 -0700 | [diff] [blame] | 62 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 63 | <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> |
ChrisC | 1ba1d19 | 2017-03-13 05:01:04 -0700 | [diff] [blame] | 71 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 72 | <outputDirectory>${project.basedir}/../packages/root-pack-extras/config-resources/mariadb/db-sql-scripts/main-schemas</outputDirectory> |
ChrisC | 1ba1d19 | 2017-03-13 05:01:04 -0700 | [diff] [blame] | 73 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 74 | <resources> |
| 75 | <resource> |
| 76 | <directory>${project.build.directory}</directory> |
| 77 | <filtering>false</filtering> |
| 78 | <includes> |
| 79 | <include>*.sql</include> |
| 80 | </includes> |
| 81 | </resource> |
ChrisC | 1ba1d19 | 2017-03-13 05:01:04 -0700 | [diff] [blame] | 82 | </resources> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 83 | </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> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 160 | <dependency> |
| 161 | <groupId>org.evosuite</groupId> |
| 162 | <artifactId>evosuite-standalone-runtime</artifactId> |
| 163 | <version>${evosuiteVersion}</version> |
| 164 | <scope>test</scope> |
| 165 | </dependency> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 166 | <dependency> |
Rob Daugherty | 8047b7c | 2017-08-01 11:56:58 -0400 | [diff] [blame] | 167 | <groupId>org.openecomp.so.framework</groupId> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 168 | <artifactId>common</artifactId> |
| 169 | <version>${project.version}</version> |
| 170 | </dependency> |
| 171 | </dependencies> |
| 172 | </project> |