Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
18 kB
3
Indexable
Never
<?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.is4tech.fel.addon</groupId>
  <artifactId>addon-administration</artifactId>
  <version>1.13.0</version>

  <parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.3.12.RELEASE</version>
  </parent>

  <properties>
    <dte.driver>1.3.1</dte.driver>
    <java.version>11</java.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>${java.version}</maven.compiler.source>
    <maven.compiler.compilerVersion>${java.version}</maven.compiler.compilerVersion>
    <maven.compiler.target>${java.version}</maven.compiler.target>
    <sonar.coverage.exclusions>**/config/**, **/domain/**, src/test/**, **/bo/**, **/dto/**, **/repository/**,</sonar.coverage.exclusions>
    <sonar.cpd.exclusions>**/config/**, **/domain/**, src/test/**, **/bo/**, **/dto/**, **/repository/**,</sonar.cpd.exclusions>
  </properties>
  <distributionManagement>
    <repository>
      <id>is4tech.releases</id>
      <url>http://private.is4tech.com:8081/repository/maven-releases</url>
    </repository>
    <snapshotRepository>
      <id>is4tech.snapshots</id>
      <url>http://private.is4tech.com:8081/repository/maven-snapshots</url>
    </snapshotRepository>
  </distributionManagement>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-dependencies</artifactId>
        <version>Hoxton.SR12</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <dependencies>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-web</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework.cloud</groupId>
      <artifactId>spring-cloud-starter-oauth2</artifactId>
    </dependency>
    <dependency>
      <groupId>com.oracle</groupId>
      <artifactId>ojdbc8</artifactId>
      <version>18.3.0.0</version>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-test</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.is4tech.fel.addon</groupId>
      <artifactId>addon-dto</artifactId>
      <version>1.30</version>
    </dependency>
    <dependency>
      <groupId>com.is4tech.fel</groupId>
      <artifactId>fel.dte.driver</artifactId>
      <version>${dte.driver}</version>
      <exclusions>
        <exclusion>
          <groupId>com.j256.cloudwatchlogbackappender</groupId>
          <artifactId>cloudwatchlogbackappender</artifactId>
        </exclusion>
        <exclusion>
          <groupId>com.amazonaws</groupId>
          <artifactId>aws-java-sdk-core</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.liquibase</groupId>
      <artifactId>liquibase-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-data-jpa</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-mail</artifactId>
    </dependency>
    <dependency>
      <groupId>com.querydsl</groupId>
      <artifactId>querydsl-jpa</artifactId>
    </dependency>
    <dependency>
      <groupId>com.querydsl</groupId>
      <artifactId>querydsl-core</artifactId>
    </dependency>
    <dependency>
      <groupId>com.querydsl</groupId>
      <artifactId>querydsl-apt</artifactId>
    </dependency>
    <!-- CSV File -->
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-csv</artifactId>
      <version>1.5</version>
    </dependency>
    <!--Javers-->
    <dependency>
      <groupId>org.javers</groupId>
      <artifactId>javers-spring-boot-starter-sql</artifactId>
      <version>5.13.2</version>
    </dependency>
    <dependency>
      <groupId>org.javers</groupId>
      <artifactId>javers-persistence-sql</artifactId>
      <version>5.13.2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.poi</groupId>
      <artifactId>poi-ooxml</artifactId>
      <version>3.15</version>
    </dependency>

    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-cache</artifactId>
    </dependency>
    <dependency>
      <groupId>org.ehcache</groupId>
      <artifactId>ehcache</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.cache</groupId>
      <artifactId>cache-api</artifactId>
    </dependency>
    <dependency>
      <groupId>com.google.protobuf</groupId>
      <artifactId>protobuf-java</artifactId>
      <version>3.6.1</version>
    </dependency>
    <dependency>
      <groupId>org.springframework.security</groupId>
      <artifactId>spring-security-test</artifactId>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.springframework.cloud</groupId>
      <artifactId>spring-cloud-stream</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework.cloud</groupId>
      <artifactId>spring-cloud-starter-stream-rabbit</artifactId>
    </dependency>
    <dependency>
      <groupId>com.is4tech.exchange</groupId>
      <artifactId>exchange-client</artifactId>
      <version>1.1.0</version>
    </dependency>
    <!--Swagger-->
    <dependency>
      <groupId>io.springfox</groupId>
      <artifactId>springfox-swagger2</artifactId>
      <version>2.8.0</version>
    </dependency>
    <dependency>
      <groupId>io.springfox</groupId>
      <artifactId>springfox-swagger-ui</artifactId>
      <version>2.8.0</version>
    </dependency>


    <dependency>
      <groupId>com.opencsv</groupId>
      <artifactId>opencsv</artifactId>
      <version>5.2</version>
    </dependency>

    <dependency>
      <groupId>org.springframework.integration</groupId>
      <artifactId>spring-integration-sftp</artifactId>
    </dependency>

    <dependency>
      <groupId>org.apache.pdfbox</groupId>
      <artifactId>pdfbox</artifactId>
      <version>2.0.11</version>
    </dependency>

    <dependency>
      <groupId>org.codehaus.janino</groupId>
      <artifactId>janino</artifactId>
    </dependency>

    <dependency>
      <groupId>org.json</groupId>
      <artifactId>json</artifactId>
      <version>20210307</version>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-maven-plugin</artifactId>
        <configuration>
          <layers>
            <enabled>true</enabled>
          </layers>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <executions>
<!--          <execution>-->
<!--            <id>exec-npm-install</id>-->
<!--            <phase>generate-sources</phase>-->
<!--            <configuration>-->
<!--              <workingDirectory>${project.basedir}</workingDirectory>-->
<!--              <executable>npm</executable>-->
<!--              <arguments>-->
<!--                <argument>install</argument>-->
<!--              </arguments>-->
<!--            </configuration>-->
<!--            <goals>-->
<!--              <goal>exec</goal>-->
<!--            </goals>-->
<!--          </execution>-->
<!--          <execution>-->
<!--            <id>exec-npm-ng-build</id>-->
<!--            <phase>generate-sources</phase>-->
<!--            <configuration>-->
<!--              <workingDirectory>${project.basedir}</workingDirectory>-->
<!--              <executable>node_modules/@angular/cli/bin/ng</executable>-->
<!--              <arguments>-->
<!--                <argument>build</argument>-->
<!--                <argument>&#45;&#45;base-href=/addon-administration/</argument>-->
<!--                <argument>&#45;&#45;deploy-url=/addon-administration/</argument>-->
<!--                <argument>&#45;&#45;configuration=production</argument>-->
<!--              </arguments>-->
<!--              <environmentVariables>-->
<!--                <NODE_OPTIONS>&#45;&#45;max_old_space_size=2048</NODE_OPTIONS>-->
<!--              </environmentVariables>-->
<!--            </configuration>-->
<!--            <goals>-->
<!--              <goal>exec</goal>-->
<!--            </goals>-->
<!--          </execution>-->
        </executions>
      </plugin>
      <plugin>
        <groupId>com.mysema.maven</groupId>
        <artifactId>apt-maven-plugin</artifactId>
        <version>1.1.3</version>
        <executions>
          <execution>
            <goals>
              <goal>process</goal>
            </goals>
            <configuration>
              <outputDirectory>target/generated-sources/java</outputDirectory>
              <processor>com.querydsl.apt.hibernate.HibernateAnnotationProcessor</processor>
              <logOnlyOnError>true</logOnlyOnError>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.liquibase</groupId>
        <artifactId>liquibase-maven-plugin</artifactId>
        <version>3.5.5</version>
        <configuration>
          <changeLogFile>src/main/resources/dbchangelog.xml</changeLogFile>
          <driver>oracle.jdbc.driver.OracleDriver</driver>
          <url>jdbc:oracle:thin:@//localhost:1521/xe</url>
          <username>addon</username>
          <password>root</password>
          <promptOnNonLocalDatabase>false</promptOnNonLocalDatabase>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
        <version>0.8.2</version>
        <executions>
          <execution>
            <goals>
              <goal>prepare-agent</goal>
            </goals>
          </execution>
          <execution>
            <id>report</id>
            <phase>prepare-package</phase>
            <goals>
              <goal>report</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <profiles>
    <profile>
      <id>qa</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
            <executions>
<!--              <execution>-->
<!--                <id>exec-npm-install</id>-->
<!--                <phase>generate-sources</phase>-->
<!--                <configuration>-->
<!--                  <workingDirectory>${project.basedir}</workingDirectory>-->
<!--                  <executable>npm</executable>-->
<!--                  <arguments>-->
<!--                    <argument>install</argument>-->
<!--                  </arguments>-->
<!--                </configuration>-->
<!--                <goals>-->
<!--                  <goal>exec</goal>-->
<!--                </goals>-->
<!--              </execution>-->
<!--              <execution>-->
<!--                <id>exec-npm-ng-build</id>-->
<!--                <phase>generate-sources</phase>-->
<!--                <configuration>-->
<!--                  <workingDirectory>${project.basedir}</workingDirectory>-->
<!--                  <executable>node_modules/@angular/cli/bin/ng</executable>-->
<!--                  <arguments>-->
<!--                    <argument>build</argument>-->
<!--                    <argument>&#45;&#45;base-href=/addon-administration/</argument>-->
<!--                    <argument>&#45;&#45;deploy-url=/addon-administration/</argument>-->
<!--                    <argument>&#45;&#45;configuration=quality</argument>-->
<!--                  </arguments>-->
<!--                  <environmentVariables>-->
<!--                    <NODE_OPTIONS>&#45;&#45;max_old_space_size=2048</NODE_OPTIONS>-->
<!--                  </environmentVariables>-->
<!--                </configuration>-->
<!--                <goals>-->
<!--                  <goal>exec</goal>-->
<!--                </goals>-->
<!--              </execution>-->
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>tigo</id>
      <distributionManagement>
        <repository>
          <id>libs-release-local</id>
          <url>http://172.22.128.20:8081/artifactory/libs-release-local</url>
        </repository>
        <snapshotRepository>
          <id>libs-snapshot-local</id>
          <url>http://172.22.128.20:8081/artifactory/libs-snapshot-local</url>
        </snapshotRepository>
      </distributionManagement>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
            <executions>
<!--              <execution>-->
<!--                <id>exec-npm-install</id>-->
<!--                <phase>generate-sources</phase>-->
<!--                <configuration>-->
<!--                  <workingDirectory>${project.basedir}</workingDirectory>-->
<!--                  <executable>npm</executable>-->
<!--                  <arguments>-->
<!--                    <argument>install</argument>-->
<!--                  </arguments>-->
<!--                </configuration>-->
<!--                <goals>-->
<!--                  <goal>exec</goal>-->
<!--                </goals>-->
<!--              </execution>-->
<!--              <execution>-->
<!--                <id>exec-npm-ng-build</id>-->
<!--                <phase>generate-sources</phase>-->
<!--                <configuration>-->
<!--                  <workingDirectory>${project.basedir}</workingDirectory>-->
<!--                  <executable>node_modules/@angular/cli/bin/ng</executable>-->
<!--                  <arguments>-->
<!--                    <argument>build</argument>-->
<!--                    <argument>&#45;&#45;base-href=/billingcenter/</argument>-->
<!--                    <argument>&#45;&#45;deploy-url=/billingcenter/</argument>-->
<!--                    <argument>&#45;&#45;configuration=tigo</argument>-->
<!--                  </arguments>-->
<!--                  <environmentVariables>-->
<!--                    <NODE_OPTIONS>&#45;&#45;max_old_space_size=2048</NODE_OPTIONS>-->
<!--                  </environmentVariables>-->
<!--                </configuration>-->
<!--                <goals>-->
<!--                  <goal>exec</goal>-->
<!--                </goals>-->
<!--              </execution>-->
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>tigodev</id>
      <distributionManagement>
        <repository>
          <id>libs-release-local</id>
          <url>http://172.22.128.20:8081/artifactory/libs-release-local</url>
        </repository>
        <snapshotRepository>
          <id>libs-snapshot-local</id>
          <url>http://172.22.128.20:8081/artifactory/libs-snapshot-local</url>
        </snapshotRepository>
      </distributionManagement>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
            <executions>
<!--              <execution>-->
<!--                <id>exec-npm-install</id>-->
<!--                <phase>generate-sources</phase>-->
<!--                <configuration>-->
<!--                  <workingDirectory>${project.basedir}</workingDirectory>-->
<!--                  <executable>npm</executable>-->
<!--                  <arguments>-->
<!--                    <argument>install</argument>-->
<!--                  </arguments>-->
<!--                </configuration>-->
<!--                <goals>-->
<!--                  <goal>exec</goal>-->
<!--                </goals>-->
<!--              </execution>-->
<!--              <execution>-->
<!--                <id>exec-npm-ng-build</id>-->
<!--                <phase>generate-sources</phase>-->
<!--                <configuration>-->
<!--                  <workingDirectory>${project.basedir}</workingDirectory>-->
<!--                  <executable>node_modules/@angular/cli/bin/ng</executable>-->
<!--                  <arguments>-->
<!--                    <argument>build</argument>-->
<!--                    <argument>&#45;&#45;base-href=/billingcenter/</argument>-->
<!--                    <argument>&#45;&#45;deploy-url=/billingcenter/</argument>-->
<!--                    <argument>&#45;&#45;configuration=tigodev</argument>-->
<!--                  </arguments>-->
<!--                  <environmentVariables>-->
<!--                    <NODE_OPTIONS>&#45;&#45;max_old_space_size=2048</NODE_OPTIONS>-->
<!--                  </environmentVariables>-->
<!--                </configuration>-->
<!--                <goals>-->
<!--                  <goal>exec</goal>-->
<!--                </goals>-->
<!--              </execution>-->
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

</project>