<?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.cvicse.embedded</groupId>
    <artifactId>spring-boot-starter-inforsuite</artifactId>
    <version>10.0.2.5</version>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>8</source>
                    <target>8</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <version>0.8.7</version>
                <configuration>
                    <destFile>target/coverage-reports/jacoco-unit.exec</destFile>
                    <dataFile>target/coverage-reports/jacoco-unit.exec</dataFile>
                    <includes>
                        <include>com/cvicse/inforsuite/util/net/openssl/ciphers/**</include>
                        <include>com/cvicse/inforsuite/util/http/parser/**</include>
                        <include>com/cvicse/inforsuite/util/codec/binary/**</include>
                        <include>com/cvicse/inforsuite/util/descriptor/**</include>
                        <include>com/cvicse/inforsuite/util/descriptor/tld/ImplicitTldRuleSet*</include>
                        <include>com/cvicse/inforsuite/util/descriptor/tld/TldRuleSet*</include>
                        <include>com/cvicse/inforsuite/util/res/**</include>
                        <include>com/cvicse/inforsuite/util/buf/**</include>
                        <include>com/cvicse/inforsuite/util/jfinal/**</include>
                        <include>com/cvicse/bixi/webresources/war/**</include>
                        <include>javax/el/**</include>
                        <include>javax/servlet/annotation/**</include>
                        <include>javax/annotation/**</include>
                        <include>org/springframework/boot/autoconfigure/web/**</include>

                    </includes>
                    <excludes>
                        <exclude>com/cvicse/inforsuite/util/descriptor/web/**</exclude>
                        <exclude>com/cvicse/inforsuite/util/descriptor/tagplugin/**</exclude>
                        <exclude>com/cvicse/inforsuite/util/buf/StringCache*</exclude>
                        <exclude>com/cvicse/inforsuite/util/buf/Asn1Writer*</exclude>
                        <exclude>com/cvicse/inforsuite/util/buf/ByteBufferUtils*</exclude>
                        <exclude>com/cvicse/inforsuite/util/buf/Utf8Encoder*</exclude>
                        <exclude>com/cvicse/inforsuite/util/buf/StringCache.ByteEntry*</exclude>
                        <exclude>com/cvicse/inforsuite/util/buf/MessageBytes*</exclude>
                        <exclude>com/cvicse/inforsuite/util/buf/ByteChunk*</exclude>
                        <exclude>com/cvicse/inforsuite/util/buf/CharChunk*</exclude>
                        <exclude>com/cvicse/inforsuite/util/buf/B2CConverter*</exclude>
                        <exclude>com/cvicse/inforsuite/util/buf/C2BConverter*</exclude>
                        <exclude>com/cvicse/inforsuite/util/http/parser/StructuredField*</exclude>
                        <exclude>com/cvicse/inforsuite/util/http/parser/ContentRange*</exclude>
                        <exclude>com/cvicse/inforsuite/util/http/parser/EntityTag*</exclude>
                        <exclude>com/cvicse/inforsuite/util/http/parser/MediaTypeCache*</exclude>
                        <exclude>com/cvicse/inforsuite/util/http/parser/AcceptEncoding*</exclude>
                        <exclude>com/cvicse/inforsuite/util/net/openssl/ciphers/OpenSSLCipherConfigurationParser*</exclude>
                        <exclude>com/cvicse/inforsuite/util/descriptor/tld/**</exclude>
                        <exclude>javax/el/MethodReference*</exclude>
                        <exclude>javax/el/LambdaExpression*</exclude>
                        <exclude>javax/el/MethodInfo*</exclude>
                        <exclude>javax/el/MethodReference*</exclude>
                        <exclude>javax/el/MethodReference*</exclude>
                        <exclude>javax/el/ExpressionFactory*</exclude>
                        <exclude>javax/el/CompositeELResolver*</exclude>
                        <exclude>javax/el/ValueReference*</exclude>
                        <exclude>javax/el/MethodNotFoundException*</exclude>
                        <exclude>javax/el/MethodExpression*</exclude>
                        <exclude>javax/el/BeanNameResolver*</exclude>
                        <exclude>javax/el/CompositeELResolver.FeatureIterator*</exclude>
                        <exclude>org/springframework/boot/autoconfigure/web/servlet/**</exclude>
                        <exclude>org/springframework/boot/autoconfigure/web/metrics/**</exclude>
                        <exclude>org/springframework/boot/autoconfigure/web/reactive/**</exclude>
                        <exclude>org/springframework/boot/autoconfigure/web/lazyInitialization/**</exclude>
                        <exclude>org/springframework/boot/autoconfigure/web/InforsuiteErrorProperties*</exclude>
                        <exclude>org/springframework/boot/autoconfigure/web/embedded/InforsuiteWebServerFactoryCustomizer*</exclude>
                        <exclude>com/cvicse/inforsuite/util/descriptor/XmlErrorHandler*</exclude>
                        <exclude>com/cvicse/inforsuite/util/descriptor/InputSourceUtil*</exclude>
                        <exclude>com/cvicse/inforsuite/util/jfinal/util/**</exclude>
                        <exclude>com/cvicse/inforsuite/util/jfinal/hotswap/**</exclude>
                        <exclude>com/cvicse/inforsuite/util/jfinal/WebBuilder*</exclude>
                        <exclude>com/cvicse/inforsuite/util/jfinal/config/PathKitExt*</exclude>
                        <exclude>com/cvicse/inforsuite/util/jfinal/config/IpKit*</exclude>
                        <exclude>com/cvicse/inforsuite/util/descriptor/**</exclude>
                        <exclude>com/cvicse/inforsuite/util/buf/Asn1Parser*</exclude>
                        <exclude>com/cvicse/inforsuite/util/buf/ByteBufferHolder*</exclude>
                        <exclude>com/cvicse/inforsuite/util/buf/UDecoder*</exclude>
                        <exclude>com/cvicse/inforsuite/util/codec/binary/BaseNCodec*</exclude>
                        <exclude>com/cvicse/inforsuite/util/codec/binary/StringUtils*</exclude>
                        <exclude>org/springframework/boot/autoconfigure/web/embedded/HttpsClientRequestFactory*</exclude>
                        <exclude>org/springframework/boot/autoconfigure/web/embedded/InforsuiteServletWebServerFactoryConfiguration*</exclude>
                        <exclude>org/springframework/boot/autoconfigure/web/embedded/InforsuiteServerProperties.CircuitBreaker</exclude>
                        <exclude>org/springframework/boot/autoconfigure/web/embedded/InforsuiteServerProperties.RemoteAddrConfig</exclude>
                        <exclude>org/springframework/boot/autoconfigure/web/embedded/InforsuiteReactiveWebServerFactoryConfiguration.GMConnectorCustomizer</exclude>
                        <exclude>org/springframework/boot/autoconfigure/web/embedded/StandardELContext.StandardBeanNameResolver</exclude>
                        <exclude>com/cvicse/inforsuite/util/http/parser/Host.MessageBytesReader</exclude>
                        <exclude>javax/el/Util*</exclude>
                        <exclude>javax/el/ELManager*</exclude>
                        <exclude>javax/el/TypeConverter*</exclude>
                        <exclude>javax/el/Jre9Compat*</exclude>
                        <exclude>com/cvicse/bixi/webresources/war/**</exclude>

                    </excludes>
                </configuration>
                <executions>
                    <execution>
                        <id>pre-unit-test</id>
                        <goals>
                            <goal>prepare-agent</goal>
                        </goals>
                        <configuration>
                            <propertyName>
                                surefireArgLine
                            </propertyName>
                        </configuration>
                    </execution>
                    <execution>
                        <id>post-unit-test</id>
                        <phase>test</phase>
                        <goals>
                            <goal>report</goal>
                        </goals>
                        <configuration>
                            <dataFile>target/jacoco.exec</dataFile>
                            <outputDirectory>target/site/jacoco</outputDirectory>
                        </configuration>
                    </execution>
                    <execution>
                        <goals>
                            <goal>prepare-agent</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>report</id>
                        <phase>test</phase>
                        <goals>
                            <goal>report</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>target/jacoco-report</outputDirectory>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
<!--            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <version>2.3</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                        <configuration>
                            <transformers>
                                <transformer
                                        implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                                    <mainClass>util.Microseer</mainClass>
                                </transformer>
                            </transformers>
                        </configuration>
                    </execution>
                </executions>
            </plugin>-->
    
        </plugins>
        <resources>
            <resource>
                <directory>src/main/java</directory>
                <includes>
                    <include>**/*.properties</include>
                    <include>**/*.xml</include>
                    <include>**/*.html</include>
                    <include>**/*.jjt</include>
                    <include>**/*.dtd</include>
                    <include>**/*.xsd</include>
                    <include>**/*.gif</include>
                    <include>**/*.jj</include>
                    <include>**/*.jks</include>
                    <include>**/*.policy</include>
                    <include>**/*.ic</include>
                    <include>**/*.inf</include>
                    <include>**/*.txt</include>
                    <include>**/*.so</include>
                    <include>**/*.infor</include>
                    <include>**/*.class</include>
                    <include>**/*.bak</include>
                </includes>
            </resource>
            <resource>
                <directory>src/main/resources</directory>
            </resource>
        </resources>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
            <version>2.6.5</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-configuration-processor</artifactId>
            <version>2.6.6</version>
            <optional>true</optional>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.xml.rpc</groupId>
            <artifactId>javax.xml.rpc-api</artifactId>
            <version>1.1.1</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.mail</groupId>
            <artifactId>javax.mail-api</artifactId>
            <version>1.6.2</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.persistence</groupId>
            <artifactId>javax.persistence-api</artifactId>
            <version>2.2</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.ejb</groupId>
            <artifactId>ejb-api</artifactId>
            <version>3.0</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>jakarta.annotation</groupId>
            <artifactId>jakarta.annotation-api</artifactId>
            <version>1.3.5</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.eclipse.jdt</groupId>
            <artifactId>org.eclipse.jdt.core</artifactId>
            <version>3.25.0</version>
            <exclusions>
                <exclusion>
                    <groupId>org.osgi.service</groupId>
                    <artifactId>org.osgi.service.prefs</artifactId>
                </exclusion>
            </exclusions>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>biz.aQute.bnd</groupId>
            <artifactId>biz.aQute.bndlib</artifactId>
            <version>5.2.0</version>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>javax</groupId>
            <artifactId>wsdl</artifactId>
            <version>1.6.2</version>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant</artifactId>
            <version>1.8.2</version>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <version>5.3.18</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot</artifactId>
            <version>2.5.2</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-autoconfigure</artifactId>
            <version>2.5.2</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-configuration-processor</artifactId>
            <version>2.5.2</version>
            <optional>true</optional>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-webmvc</artifactId>
            <version>5.3.18</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-webflux</artifactId>
            <version>5.3.18</version>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>io.projectreactor</groupId>
            <artifactId>reactor-core</artifactId>
            <version>3.4.2</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.cvicse.inforsuite.main</groupId>
            <artifactId>cviccpr</artifactId>
            <version>1.11.4</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-commons</artifactId>
            <version>2.0.2.RELEASE</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid</artifactId>
            <version>1.2.11</version>
            <scope>provided</scope>
        </dependency>
		<!--
        <dependency>
            <groupId>gm</groupId>
            <artifactId>bouncycastlejsseandjce</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>-->
        <dependency>
            <groupId>gm</groupId>
            <artifactId>bcprov-jdk18on</artifactId>
            <version>1.72</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>gm</groupId>
            <artifactId>bctls-jdk18on</artifactId>
            <version>1.72</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>gm</groupId>
            <artifactId>bcutil-jdk18on</artifactId>
            <version>1.72</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>gm</groupId>
            <artifactId>cvicsejsse</artifactId>
            <version>0.0.1</version>
            <scope>provided</scope>
        </dependency>
		<dependency>
            <groupId>org.apache.tomcat.embed</groupId>
            <artifactId>tomcat-embed-jasper</artifactId>
            <version>8.5.27</version>
 			<scope>test</scope>
        </dependency>
		<dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.13.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.easymock</groupId>
            <artifactId>easymock</artifactId>
            <version>5.2.0</version>
 			<scope>test</scope>
        </dependency>

        <dependency>
            <groupId>com.jfinal</groupId>
            <artifactId>jfinal</artifactId>
            <version>5.2.0</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>

</project>
