1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
| <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:si="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>com.ipsis.pacha</groupId>
<artifactId>Pacha</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<name>PACHA</name>
<build>
<plugins>
<plugin>
<!-- Tache permettant d'afficher le classpath utilisé lors de l'execution de maven. -->
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>print-maven-runtime-classpath</id>
<phase>compile</phase>
<configuration>
<tasks>
<property name="runtime-classpath"
refid="maven.runtime.classpath" />
<echo
message="maven.runtime.classpath=${runtime-classpath}" />
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>print-maven-test-classpath</id>
<phase>test-compile</phase>
<configuration>
<tasks>
<property name="test-classpath"
refid="maven.test.classpath" />
<echo
message="maven.test.classpath=${test-classpath}" />
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!-- Version du compilateur et de la JVM cible pour l'execution de l'application -->
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- On reste en 1.6. -->
<source>1.6</source>
<target>1.6</target>
<meminitial>512m</meminitial>
<maxmem>1024m</maxmem>
<optimize>true</optimize>
<verbose>true</verbose>
<fork>true</fork>
<executable>${JAVA_HOME}\bin\javac.exe</executable>
<compilerVersion>1.6</compilerVersion>
</configuration>
<dependencies />
</plugin>
<!-- Deploiement -->
<plugin>
<inherited>true</inherited>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<updateReleaseInfo>true</updateReleaseInfo>
</configuration>
</plugin>
<!-- Permet de déployer aussitôt la version lors de sa création. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<goals>deploy</goals>
</configuration>
</plugin>
<!-- Plugin pour les tests unitaires -->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<plugin>
<!-- Plugin de generation des fichiers de configuration pour Eclipse -->
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<wtpversion>2.0</wtpversion>
<!-- Configuration de repertoire de compilation d'Eclipse -->
<buildOutputDirectory>
/classes
</buildOutputDirectory>
<downloadSources>false</downloadSources>
<!-- Ajout des librairies Eclipse -->
<classpathContainers>
<!-- Ajout du JRE par défaut Eclipse -->
<classpathContainer>
org.eclipse.jdt.launching.JRE_CONTAINER
</classpathContainer>
</classpathContainers>
</configuration>
</plugin>
<!-- Construction du site -->
<plugin>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<locales>fr</locales>
<inputEncoding>ISO-8859-1</inputEncoding>
<outputEncoding>ISO-8859-1</outputEncoding>
</configuration>
</plugin>
<!-- Creation d'un jar unique -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>assembly/pacha_src.xml</descriptor>
<descriptor>assembly/pacha_test.xml</descriptor>
<descriptor>assembly/pacha_bin.xml</descriptor>
</descriptors>
<finalName>${artifactId}-${version}</finalName>
<outputDirectory>target</outputDirectory>
<archive>
<manifest>
<mainClass>
com.ipsis.pacha.gui.ihm.Main
</mainClass>
<packageName>com.ipsis.pacha</packageName>
<addClasspath>true</addClasspath>
</manifest>
<manifestEntries>
<Specification-Title>
PACHA
</Specification-Title>
<Specification-Version>
2.0
</Specification-Version>
<Specification-Vendor>
IPSIS
</Specification-Vendor>
<Implementation-Title>
${pom.name}
</Implementation-Title>
<Implementation-Version>
${pom.version}
</Implementation-Version>
<Class-Path>
jipsis-10.0-b19.jar ij5-10.0-b19.jar
jdom-1.0.jar xercesImpl-2.6.1.jar
log4j-1.2.13.jar hivemind-1.1-rc-1.jar
oro-2.0.8.jar javassist-3.6.0.GA.jar
commons-lang-2.3.jar
commons-logging-1.1.1.jar
jfreechart-1.0.9.jar jcommon-1.0.12.jar
</Class-Path>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!-- Commit release vers cvs -->
<plugin>
<artifactId>maven-scm-plugin</artifactId>
<configuration>
<connectionType>developerConnection</connectionType>
</configuration>
</plugin>
</plugins>
</build>
<!-- Module du projet -->
<modules>
<module>Common</module>
<module>Core</module>
<module>TreatmentInterface</module>
<module>TreatmentImplementation</module>
<module>GUI</module>
</modules>
</project> |
Partager