Files
portal-webapp/portal_database/pom.xml
T
2018-07-07 20:43:51 -05:00

121 lines
3.7 KiB
XML

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.locusworks</groupId>
<artifactId>portal</artifactId>
<version>1.0.0-RELEASE</version>
</parent>
<properties>
<main.basedir>${project.parent.basedir}</main.basedir>
<mysql.version>8.0.11</mysql.version>
</properties>
<artifactId>portal_database</artifactId>
<name>Portal Database</name>
<description>Data warehouse that holds the JPO Entities and their corresponding Repository implementations. Spring JPA is used in conjunction with Hibernate to facilitate retrieving and saving records. All CRUD (Create, Read, Update, Delete) operations are done through Spring and Hibernate.</description>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs.version}</version>
<configuration>
<xmlOutput>true</xmlOutput>
<xmlOutputDirectory>target/site/${project.artifactId}</xmlOutputDirectory>
<!-- skip JpaModler generated entities classes -->
<excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
</configuration>
</plugin>
</plugins>
</reporting>
<build>
<pluginManagement>
<plugins>
<plugin>
<!-- Fix up Netbeans-generated JPA entity classes -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<configuration>
<target>
<echo>Set author to NGAS</echo>
<replaceregexp byline="true">
<regexp pattern=".*@author.*" />
<substitution expression=" * @author NGAS" />
<fileset
dir="src/main/java/com/ngas/portal/database/entities">
<include name="*.java" />
</fileset>
</replaceregexp>
<echo>Set LF line endings</echo>
<fixcrlf
srcdir="src/main/java/com/ngas/portal/database/entities"
eol="lf" includes="*.java" />
</target>
</configuration>
<phase>generate-sources</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencies>
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>jta</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java -->
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>3.5.1</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>${hibernate.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework/spring-orm -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring.version}</version>
</dependency>
</dependencies>
</project>