pom.xml 7.77 KB
<?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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>fr.tlse.irap.pt</groupId>
    <artifactId>pt</artifactId>
    <packaging>pom</packaging>
    <properties>
        <pt-version>2.10</pt-version>
        <pt-name>PropagationTool</pt-name>
        <pt-release-date>18/06/2024</pt-release-date>
        <client-org.springframework-version>3.1.0.RELEASE</client-org.springframework-version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <!-- Java FX version -->
        <!-- 		<javafx.version>8.0</javafx.version> -->
        <!-- 		<javafx.jar>${jfxrt8.jar}</javafx.jar> -->
        <!-- 		<ant-javafx.jar>${ant-javafx8.jar}</ant-javafx.jar> -->
        <javafx.version>2.2</javafx.version>
        <!--		<javafx.jar>${jfxrt22.jar}</javafx.jar> -->
        <!--		<ant-javafx.jar>${ant-javafx22.jar}</ant-javafx.jar> -->
        <javafx.jar>C:\lbeigbed\git\akkodis-proptool\SOURCES\lib\javafx-2.2.jar</javafx.jar>
        <ant-javafx.jar>C:\lbeigbed\git\akkodis-proptool\SOURCES\lib\ant-javafx-1.8.jar</ant-javafx.jar>
        <jdk-version>1.8</jdk-version>
		
        <tomcat-version>6.0.26</tomcat-version>
        <jar-plugin-version>2.4</jar-plugin-version>
    </properties>

    <version>2.3.0</version>

    <name>${pt-name}</name>
    <description>${pt-name} Multiproject</description>

    <modules>
        <module>calendar</module>
        <module>cdpp3dview</module>
        <module>common</module>
        <module>before-client</module>
        <module>client</module>
        <module>server</module>
        <!-- <module>integration</module> -->
        <module>amda</module>
        <module>vespa</module>
        <module>dpc</module>
        <module>fxyz3d</module>
    </modules>

    <profiles>
        <!-- Dev environment -->
        <profile>
            <id>dev-centos</id>
            <properties>
                <pt-warname>${pt-name}</pt-warname>
                <pt-appname>PropTool pctech centos</pt-appname>
                <!--<pt-url>http://82.66.146.5</pt-url>-->
                <!--<pt-url>http://192.168.1.12</pt-url>-->
                <!--<pt-url>http://172.16.97.227</pt-url>-->
                <pt-url>http://192.168.1.34:8082</pt-url>
                <!--<pt-url>http://82.66.146.5:8082</pt-url>-->
            </properties>
        </profile>
        <!-- Int (DMZ) environment -->
        <profile>
            <id>dev-ubuntu</id>
            <properties>
                <pt-warname>${pt-name}</pt-warname>
                <pt-appname>PropTool pctech ubuntu</pt-appname>
                <!--<pt-url>http://172.19.195.163:8080</pt-url>-->
                <pt-url>http://192.168.1.34:8080</pt-url>
                <!--<pt-url>http://82.66.146.5:8080</pt-url>-->
            </properties>
        </profile>
        <!-- Int (DMZ) environment -->
        <profile>
            <id>int-azzure</id>
            <properties>
                <pt-warname>${pt-name}</pt-warname>
                <pt-appname>PropTool azzure ubuntu</pt-appname>
                <!--<pt-url>http://172.19.195.163:8080</pt-url>-->
                <pt-url>http://51.103.123.0:8080</pt-url>
            </properties>
        </profile>
        <!-- Val environment -->
        <profile>
            <id>QUAL</id>
            <properties>
                <pt-warname>QUAL-PROPTOOL</pt-warname>
                <pt-appname>PropTool Qualification</pt-appname>
                <pt-url>http://storms-tools.irap.omp.eu</pt-url>
            </properties>
        </profile>
        <profile>
            <id>PreProd</id>
            <properties>
                <pt-warname>PP-PROPTOOL</pt-warname>
                <pt-appname>PropTool pre production</pt-appname>
                <pt-url>http://storms-tools.irap.omp.eu</pt-url>
            </properties>
        </profile>
        <!-- Prod environment -->
        <profile>
            <id>pro</id>
            <properties>
                <pt-warname>${pt-name}</pt-warname>
                <pt-appname>Propagation Tool</pt-appname>
                <pt-url>http://storms-tools.irap.omp.eu</pt-url>
            </properties>
        </profile>
    </profiles>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.5.1</version>
                    <configuration>
                        <source>1.7</source>
                        <target>1.7</target>
                    </configuration>
                </plugin>
                <!-- Ignore/Execute plugin execution -->
                <plugin>
                    <groupId>org.eclipse.m2e</groupId>
                    <artifactId>lifecycle-mapping</artifactId>
                    <version>1.0.0</version>
                    <configuration>
                        <lifecycleMappingMetadata>
                            <pluginExecutions>
                                <!-- copy-dependency plugin -->
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-dependency-plugin</artifactId>
                                        <versionRange>[1.0.0,)</versionRange>
                                        <goals>
                                            <goal>copy-dependencies</goal>
                                        </goals>

                                    </pluginExecutionFilter>
                                    <action>
                                        <ignore/>
                                    </action>
                                </pluginExecution>
                            </pluginExecutions>
                        </lifecycleMappingMetadata>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <version>2.10</version>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>findbugs-maven-plugin</artifactId>
                <version>2.3.3</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-pmd-plugin</artifactId>
                <version>3.0.1</version>
                <configuration>
                    <linkXref>true</linkXref>
                    <sourceEncoding>utf-8</sourceEncoding>
                    <minimumTokens>100</minimumTokens>
                    <targetJdk>1.7</targetJdk>
                    <excludes>
                        <exclude>**/*Bean.java</exclude>
                        <exclude>**/generated/*.java</exclude>
                    </excludes>
                    <excludeRoots>
                        <excludeRoot>target/generated-sources/stubs</excludeRoot>
                    </excludeRoots>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jxr-plugin</artifactId>
                <version>2.3</version>
            </plugin>
            <plugin>
                <artifactId>maven-project-info-reports-plugin</artifactId>
                <version>2.7</version>
            </plugin>
        </plugins>
    </reporting>

</project>