231 lines
9.6 KiB
XML
231 lines
9.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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>
|
|
|
|
<groupId>com.arrebol</groupId>
|
|
<artifactId>ace-web</artifactId>
|
|
<version>1.0.0</version>
|
|
<packaging>war</packaging>
|
|
|
|
<name>ace-web</name>
|
|
|
|
<properties>
|
|
<endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<log4j.version>2.17.0</log4j.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.amazonaws</groupId>
|
|
<artifactId>aws-java-sdk-ses</artifactId>
|
|
<version>1.12.460</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax</groupId>
|
|
<artifactId>javaee-api</artifactId>
|
|
<version>8.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!--
|
|
Tomcat Database Connection Pooling package
|
|
|
|
Tomcat 8.5 with Java 8 running on 64bit Amazon Linux/3.0.5
|
|
|
|
Exception performing authentication
|
|
javax.naming.NamingException: Could not create resource factory instance
|
|
-->
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>tomcat-dbcp</artifactId>
|
|
<version>8.5.35</version>
|
|
</dependency>
|
|
<!-- Apache POI - the Java API for Microsoft Documents -->
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi</artifactId>
|
|
<version>4.0.1</version>
|
|
</dependency>
|
|
<!--
|
|
Log4j 2 is broken up in an API and an implementation (core),
|
|
where the API provides the interface that applications should code to. S
|
|
trictly speaking Log4j core is only needed at runtime and not at compile time.
|
|
|
|
However, below we list Log4j core as a compile time dependency
|
|
to improve the startup time for custom plugins as it provides an annotation
|
|
processor that generates a metadata file to cache plugin information as well as
|
|
the necessary code to compile against to create custom plugins.
|
|
-->
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-api</artifactId>
|
|
<version>${log4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
<version>${log4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
<version>${log4j.version}</version>
|
|
</dependency>
|
|
<!-- "Apoyo a Proyectos Comerciales (APC)" Application Dependencies -->
|
|
<dependency>
|
|
<groupId>com.arrebol</groupId>
|
|
<artifactId>ace-layout</artifactId>
|
|
<version>1.0.0</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.arrebol</groupId>
|
|
<artifactId>ace-controller</artifactId>
|
|
<version>1.0.0</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.arrebol</groupId>
|
|
<artifactId>ace-security</artifactId>
|
|
<version>1.0.0</version>
|
|
<type>jar</type>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.itextpdf/itextpdf -->
|
|
<dependency>
|
|
<groupId>com.itextpdf</groupId>
|
|
<artifactId>itextpdf</artifactId>
|
|
<version>5.5.13.3</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.twilio.sdk</groupId>
|
|
<artifactId>twilio</artifactId>
|
|
<version>9.0.0-rc.2</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>AWS-EC2-2</id>
|
|
<properties>
|
|
<hibernate.connection.url>jdbc:mysql://localhost:3306/apo_pro_com_april_ten?serverTimezone=UTC</hibernate.connection.url>
|
|
<hibernate.connection.username>root</hibernate.connection.username>
|
|
<hibernate.connection.password>root</hibernate.connection.password>
|
|
<hibernate.connection.useSSL>false</hibernate.connection.useSSL>
|
|
<log4j2.path>/var/log/tomcat/cardriver.log</log4j2.path>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>AWS-EC2</id>
|
|
<properties>
|
|
<hibernate.connection.url>jdbc:mysql://localhost:3306/apo_pro_com_april_ten?serverTimezone=UTC</hibernate.connection.url>
|
|
<hibernate.connection.username>root</hibernate.connection.username>
|
|
<hibernate.connection.password>Saladeespera2_</hibernate.connection.password>
|
|
<hibernate.connection.useSSL>false</hibernate.connection.useSSL>
|
|
<log4j2.path>/var/log/tomcat/cardriver.log</log4j2.path>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>Localhost</id>
|
|
<properties>
|
|
<hibernate.connection.url>jdbc:mysql://localhost:3306/apo_pro_com_april_ten?serverTimezone=GMT-5</hibernate.connection.url>
|
|
<hibernate.connection.username>apoprocomlocalhost</hibernate.connection.username>
|
|
<hibernate.connection.password>Yj$2Da0z!</hibernate.connection.password>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>Amazon-Web-Services</id>
|
|
<properties>
|
|
<hibernate.connection.url>jdbc:mysql://3.143.107.236:3306/apo_pro_com_april_ten?serverTimezone=GMT-6</hibernate.connection.url>
|
|
<hibernate.connection.username>ace_remoto</hibernate.connection.username>
|
|
<hibernate.connection.password>Saladeespera2_</hibernate.connection.password>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>Amazon-Web-Services-Test</id>
|
|
<properties>
|
|
<hibernate.connection.url>jdbc:mysql://apc.clwlkknfqkjh.us-east-2.rds.amazonaws.com:3306/apo_pro_com_april_ten</hibernate.connection.url>
|
|
<hibernate.connection.username>apoprocom</hibernate.connection.username>
|
|
<hibernate.connection.password>Yj$2Da0z!</hibernate.connection.password>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<compilerArguments>
|
|
<endorseddirs>${endorsed.dir}</endorseddirs>
|
|
</compilerArguments>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<configuration>
|
|
<webResources>
|
|
<resource>
|
|
<directory>src/main/webapp/META-INF</directory>
|
|
<filtering>true</filtering>
|
|
<targetPath>META-INF</targetPath>
|
|
</resource>
|
|
</webResources>
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${endorsed.dir}</outputDirectory>
|
|
<silent>true</silent>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>javax</groupId>
|
|
<artifactId>javaee-api</artifactId>
|
|
<version>8.0</version>
|
|
<type>jar</type>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.12.4</version>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|