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> |
| 5 | <groupId>org.openecomp</groupId> |
| 6 | <artifactId>mso</artifactId> |
| 7 | <version>0.0.4-SNAPSHOT</version> |
| 8 | </parent> |
| 9 | |
| 10 | <groupId>org.openecomp.mso</groupId> |
| 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> |
| 19 | <artifactId>maven-war-plugin</artifactId> |
| 20 | <version>2.3</version> |
| 21 | <configuration> |
| 22 | <warSourceDirectory>WebContent</warSourceDirectory> |
| 23 | <failOnMissingWebXml>false</failOnMissingWebXml> |
| 24 | </configuration> |
| 25 | </plugin> |
| 26 | <plugin> |
| 27 | <groupId>de.juplo</groupId> |
| 28 | <artifactId>hibernate4-maven-plugin</artifactId> |
| 29 | <version>1.1.0</version> |
| 30 | <executions> |
| 31 | <!-- MySQL --> |
| 32 | <execution> |
| 33 | <id>MySQL</id> |
| 34 | <goals> |
| 35 | <goal>export</goal> |
| 36 | </goals> |
| 37 | <configuration> |
| 38 | <hibernateDialect>org.hibernate.dialect.MySQL5Dialect</hibernateDialect> |
| 39 | <hibernateMapping>${project.basedir}/src/main/resources/HeatEnvironment.hbm.xml,${project.basedir}/src/main/resources/HeatNestedTemplate.hbm.xml,${project.basedir}/src/main/resources/HeatTemplate.hbm.xml,${project.basedir}/src/main/resources/NetworkResource.hbm.xml,${project.basedir}/src/main/resources/NetworkRecipe.hbm.xml,${project.basedir}/src/main/resources/Service.hbm.xml,${project.basedir}/src/main/resources/VnfRecipe.hbm.xml,${project.basedir}/src/main/resources/VnfResource.hbm.xml,${project.basedir}/src/main/resources/VnfComponent.hbm.xml,${project.basedir}/src/main/resources/VnfComponentsRecipe.hbm.xml,${project.basedir}/src/main/resources/VfModule.hbm.xml,${project.basedir}/src/main/resources/VfModuleToHeatFiles.hbm.xml</hibernateMapping> |
| 40 | <target>SCRIPT</target> |
| 41 | <skip>false</skip> |
| 42 | <force>true</force> |
| 43 | <outputFile>${project.build.directory}/MySQL-Catalog-schema.sql</outputFile> |
| 44 | </configuration> |
| 45 | </execution> |
| 46 | </executions> |
| 47 | </plugin> |
| 48 | <plugin> |
| 49 | <artifactId>maven-resources-plugin</artifactId> |
| 50 | <version>3.0.1</version> |
| 51 | <executions> |
| 52 | |
| 53 | <execution> |
| 54 | <id>copy-sql-file</id> |
| 55 | <phase>install</phase> |
| 56 | <goals> |
| 57 | <goal>copy-resources</goal> |
| 58 | </goals> |
| 59 | <configuration> |
| 60 | <overwrite>true</overwrite> |
| 61 | |
| 62 | <outputDirectory>${project.basedir}/../packages/root-pack-extras/config-resources/mariadb/db-sql-scripts/main-schemas</outputDirectory> |
| 63 | |
| 64 | <resources> |
| 65 | <resource> |
| 66 | <directory>${project.build.directory}</directory> |
| 67 | <filtering>false</filtering> |
| 68 | <includes> |
| 69 | <include>*.sql</include> |
| 70 | </includes> |
| 71 | </resource> |
| 72 | </resources> |
| 73 | </configuration> |
| 74 | </execution> |
| 75 | </executions> |
| 76 | </plugin> |
| 77 | </plugins> |
| 78 | <pluginManagement> |
| 79 | <plugins> |
| 80 | <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| 81 | <plugin> |
| 82 | <groupId>org.eclipse.m2e</groupId> |
| 83 | <artifactId>lifecycle-mapping</artifactId> |
| 84 | <version>1.0.0</version> |
| 85 | <configuration> |
| 86 | <lifecycleMappingMetadata> |
| 87 | <pluginExecutions> |
| 88 | <pluginExecution> |
| 89 | <pluginExecutionFilter> |
| 90 | <groupId>de.juplo</groupId> |
| 91 | <artifactId> |
| 92 | hibernate4-maven-plugin |
| 93 | </artifactId> |
| 94 | <versionRange> |
| 95 | [1.0.3,) |
| 96 | </versionRange> |
| 97 | <goals> |
| 98 | <goal>export</goal> |
| 99 | </goals> |
| 100 | </pluginExecutionFilter> |
| 101 | <action> |
| 102 | <ignore></ignore> |
| 103 | </action> |
| 104 | </pluginExecution> |
| 105 | </pluginExecutions> |
| 106 | </lifecycleMappingMetadata> |
| 107 | </configuration> |
| 108 | </plugin> |
| 109 | </plugins> |
| 110 | </pluginManagement> |
| 111 | </build> |
| 112 | |
| 113 | <dependencies> |
| 114 | <dependency> |
| 115 | <groupId>org.hibernate</groupId> |
| 116 | <artifactId>hibernate-core</artifactId> |
| 117 | <version>4.3.6.Final</version> |
| 118 | <exclusions> |
| 119 | <!-- Avoid hibernate inclusion as provided in Jboss --> |
| 120 | <exclusion> |
| 121 | <groupId>org.jboss</groupId> |
| 122 | <artifactId>jandex</artifactId> |
| 123 | </exclusion> |
| 124 | <exclusion> |
| 125 | <groupId>org.javassist</groupId> |
| 126 | <artifactId>javassist</artifactId> |
| 127 | </exclusion> |
| 128 | <exclusion> |
| 129 | <groupId>org.jboss.logging</groupId> |
| 130 | <artifactId>jboss-logging</artifactId> |
| 131 | </exclusion> |
| 132 | <exclusion> |
| 133 | <groupId>org.jboss.logging</groupId> |
| 134 | <artifactId>jboss-logging-annotations</artifactId> |
| 135 | </exclusion> |
| 136 | <exclusion> |
| 137 | <groupId>org.jboss.spec.javax.transaction</groupId> |
| 138 | <artifactId>jboss-transaction-api_1.2_spec</artifactId> |
| 139 | </exclusion> |
| 140 | <exclusion> |
| 141 | <groupId>antlr</groupId> |
| 142 | <artifactId>antlr</artifactId> |
| 143 | </exclusion> |
| 144 | <exclusion> |
| 145 | <groupId>dom4j</groupId> |
| 146 | <artifactId>dom4j</artifactId> |
| 147 | </exclusion> |
| 148 | </exclusions> |
| 149 | </dependency> |
| 150 | |
| 151 | <dependency> |
| 152 | <groupId>org.openecomp.mso</groupId> |
| 153 | <artifactId>common</artifactId> |
| 154 | <version>${project.version}</version> |
| 155 | </dependency> |
| 156 | </dependencies> |
| 157 | </project> |