pom.xml 4.98 KB
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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.sw</groupId>
	<artifactId>sw</artifactId>
	<packaging>pom</packaging>
	<properties>
		<sw-version>1.4.0</sw-version>
		<sw-name>SpaceWeather</sw-name>
		<sw-release-date>14/08/2019</sw-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>

		<tomcat-version>6.0.26</tomcat-version>
		<jar-plugin-version>2.4</jar-plugin-version>
	</properties>

	<version>1.0.0</version>

	<name>${sw-name}</name>	
	<description>${sw-name} Multiproject</description>
	
	<modules>
		<module>sw_calendar</module>
		<module>sw_cdpp3dview</module>
		<module>sw_common</module>
		<module>sw_before-client</module>
		<module>sw_client</module>
		<module>sw_server</module>
		<module>sw_amda</module>
<!--  		<module>sw_integration</module> -->
	</modules>

  	<profiles>
    	<!-- Dev environment  -->
    	<profile>
      		<id>dev</id>
      		<properties>
				<sw-warname>${sw-name}</sw-warname>
				<sw-appname>SpaceWeather Dev</sw-appname>
      			<sw-url>http://172.16.97.23:8080</sw-url>
      		</properties>
    	</profile>
    	<!-- Int environment -->
    	<profile>
      		<id>int</id>
      		<properties>
				<sw-warname>${sw-name}</sw-warname>
				<sw-appname>SpaceWeather Test GFI</sw-appname>
      			<sw-url>http://37.205.41.166:8080</sw-url>
      		</properties>
    	</profile>
    	<!-- Val environment -->
    	<profile>
      		<id>val</id>
      		<properties>
				<sw-warname>ESSAI</sw-warname>
				<sw-appname>SpaceWeather ESSAI</sw-appname>
				<sw-url>http://storms-tools.irap.omp.eu</sw-url>
      		</properties>
    	</profile>
    	<!-- Prod environment -->
    	<profile>
      		<id>pro</id>
      		<properties>
				<sw-warname>${sw-name}</sw-warname>
				<sw-appname>SpaceWeather Tool</sw-appname>
				<sw-url>http://storms-tools.irap.omp.eu</sw-url>
      		</properties>
    	</profile>
  	</profiles>

	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<version>2.3.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>