]> gitweb.fperrin.net Git - DictionaryPC.git/blob - pom.xml
Attempt at using maven for compilation
[DictionaryPC.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5   <modelVersion>4.0.0</modelVersion>
6
7   <groupId>com.hughes</groupId>
8   <artifactId>DictionaryPC</artifactId>
9   <version>1.0-SNAPSHOT</version>
10
11   <name>DictionaryPC</name>
12   <!-- FIXME change it to the project's website -->
13   <url>http://www.example.com</url>
14
15   <properties>
16     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17     <maven.compiler.source>8</maven.compiler.source>
18     <maven.compiler.target>8</maven.compiler.target>
19   </properties>
20
21   <dependencies>
22     <dependency>
23       <groupId>junit</groupId>
24       <artifactId>junit</artifactId>
25       <version>4.11</version>
26       <!-- <scope>test</scope> -->
27     </dependency>
28
29     <!-- https://mvnrepository.com/artifact/com.ibm.icu/icu4j -->
30     <dependency>
31       <groupId>com.ibm.icu</groupId>
32       <artifactId>icu4j</artifactId>
33       <version>4.8.1</version>
34     </dependency>
35
36     <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
37     <dependency>
38       <groupId>org.apache.commons</groupId>
39       <artifactId>commons-lang3</artifactId>
40       <version>3.3</version>
41     </dependency>
42
43     <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-compress -->
44     <dependency>
45       <groupId>org.apache.commons</groupId>
46       <artifactId>commons-compress</artifactId>
47       <version>1.20</version>
48     </dependency>
49
50     
51   </dependencies>
52
53   <build>
54     <sourceDirectory>src</sourceDirectory>
55     <!-- <testSourceDirectory>src</testSourceDirectory> -->
56     <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
57       <plugins>
58
59         <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
60         <plugin>
61           <artifactId>maven-clean-plugin</artifactId>
62           <version>3.1.0</version>
63         </plugin>
64         <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
65         <plugin>
66           <artifactId>maven-resources-plugin</artifactId>
67           <version>3.0.2</version>
68         </plugin>
69         <plugin>
70           <artifactId>maven-compiler-plugin</artifactId>
71           <version>3.8.0</version>
72           <configuration>
73             <generatedSourcesDirectory>../Dictionary/src:../Dictionary/Util/src</generatedSourcesDirectory>
74           </configuration>
75         </plugin>
76         <plugin>
77           <artifactId>maven-surefire-plugin</artifactId>
78           <version>2.22.1</version>
79         </plugin>
80         <plugin>
81           <artifactId>maven-jar-plugin</artifactId>
82           <version>3.0.2</version>
83         </plugin>
84         <plugin>
85           <artifactId>maven-install-plugin</artifactId>
86           <version>2.5.2</version>
87         </plugin>
88         <plugin>
89           <artifactId>maven-deploy-plugin</artifactId>
90           <version>2.8.2</version>
91         </plugin>
92         <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
93         <plugin>
94           <artifactId>maven-site-plugin</artifactId>
95           <version>3.7.1</version>
96         </plugin>
97         <plugin>
98           <artifactId>maven-project-info-reports-plugin</artifactId>
99           <version>3.0.0</version>
100         </plugin>
101       </plugins>
102     </pluginManagement>
103   </build>
104 </project>