Git Repositories

Meilleure recherche affinée même sans l'aide de la proximité géographique
[xerox-elastic-poc.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3          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     <groupId>com.viseo</groupId>
7     <artifactId>xerox-elastic-poc</artifactId>
8     <version>1.0</version>
9     <dependencies>
10         <dependency>
11             <groupId>org.slf4j</groupId>
12             <artifactId>slf4j-simple</artifactId>
13             <version>1.7.21</version>
14         </dependency>
15         <dependency>
16             <groupId>com.h2database</groupId>
17             <artifactId>h2</artifactId>
18             <version>1.4.192</version>
19         </dependency>
20         <dependency>
21             <groupId>org.hibernate</groupId>
22             <artifactId>hibernate-core</artifactId>
23             <version>5.2.3.Final</version>
24         </dependency>
25         <dependency>
26             <groupId>org.projectlombok</groupId>
27             <artifactId>lombok</artifactId>
28             <version>1.16.10</version>
29         </dependency>
30         <dependency>
31             <groupId>org.apache.commons</groupId>
32             <artifactId>commons-io</artifactId>
33             <version>1.3.2</version>
34         </dependency>
35         <dependency>
36             <groupId>org.apache.httpcomponents</groupId>
37             <artifactId>httpclient</artifactId>
38             <version>4.5.2</version>
39         </dependency>
40         <dependency>
41             <groupId>com.fasterxml.jackson.core</groupId>
42             <artifactId>jackson-core</artifactId>
43             <version>2.8.4</version>
44         </dependency>
45         <dependency>
46             <groupId>com.fasterxml.jackson.core</groupId>
47             <artifactId>jackson-annotations</artifactId>
48             <version>2.8.4</version>
49         </dependency>
50         <dependency>
51             <groupId>com.fasterxml.jackson.core</groupId>
52             <artifactId>jackson-databind</artifactId>
53             <version>2.8.4</version>
54         </dependency>
55     </dependencies>
56     <profiles>
57         <profile>
58             <id>query</id>
59             <activation>
60                 <activeByDefault>true</activeByDefault>
61             </activation>
62             <properties>
63                 <exec-argument>query</exec-argument>
64             </properties>
65         </profile>
66         <profile>
67             <id>create</id>
68             <properties>
69                 <exec-argument>create</exec-argument>
70             </properties>
71         </profile>
72         <profile>
73             <id>index</id>
74             <properties>
75                 <exec-argument>index</exec-argument>
76             </properties>
77         </profile>
78     </profiles>
79     <build>
80         <plugins>
81             <plugin>
82                 <groupId>org.apache.maven.plugins</groupId>
83                 <artifactId>maven-compiler-plugin</artifactId>
84                 <version>3.5.1</version>
85                 <configuration>
86                     <source>1.8</source>
87                     <target>1.8</target>
88                 </configuration>
89             </plugin>
90             <plugin>
91                 <groupId>org.apache.maven.plugins</groupId>
92                 <artifactId>maven-shade-plugin</artifactId>
93                 <version>2.4.3</version>
94                 <executions>
95                     <execution>
96                         <id>exec-jar</id>
97                         <goals>
98                             <goal>shade</goal>
99                         </goals>
100                         <configuration>
101                             <shadedArtifactAttached>false</shadedArtifactAttached>
102                             <transformers>
103                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
104                                     <mainClass>com.viseo.xerox.elastic.Main</mainClass>
105                                 </transformer>
106                             </transformers>
107                         </configuration>
108                     </execution>
109                 </executions>
110             </plugin>
111             <plugin>
112                 <groupId>org.codehaus.mojo</groupId>
113                 <artifactId>exec-maven-plugin</artifactId>
114                 <version>1.5.0</version>
115                 <executions>
116                     <execution>
117                         <goals>
118                             <goal>java</goal>
119                         </goals>
120                     </execution>
121                 </executions>
122                 <configuration>
123                     <mainClass>com.viseo.xerox.elastic.Main</mainClass>
124                     <arguments>
125                         <argument>${exec-argument}</argument>
126                     </arguments>
127                 </configuration>
128             </plugin>
129         </plugins>
130     </build>
131 </project>