pom.xml 4.04 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2
<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/xsd/maven-4.0.0.xsd">
3
4
5
6
7
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>net.sumaris</groupId>
		<artifactId>sumaris-pod</artifactId>
LAVENIER's avatar
LAVENIER committed
8
		<version>1.10.2</version>
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
	</parent>

	<artifactId>sumaris-core-extraction</artifactId>
	<packaging>jar</packaging>
	<name>SUMARiS:: Core Extraction</name>
	<description>SUMARiS core extraction library</description>

	<properties>
		<!-- i18n configuration -->
		<i18n.bundleOutputName>sumaris-core-extraction-i18n</i18n.bundleOutputName>
		<i18n.generateCsvFile>true</i18n.generateCsvFile>
		<i18n.bundleCsvFile>
			${project.build.directory}/generated-sources/resources/META-INF/${i18n.bundleOutputName}.csv
		</i18n.bundleCsvFile>
		<config.i18nBundleName>${i18n.bundleOutputName}</config.i18nBundleName>


	</properties>

	<dependencies>

		<!-- Project dependency -->
		<dependency>
			<groupId>net.sumaris</groupId>
			<artifactId>sumaris-core</artifactId>
			<version>${project.version}</version>
		</dependency>
LAVENIER's avatar
LAVENIER committed
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-web</artifactId>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-webmvc</artifactId>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>javax.servlet-api</artifactId>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>de.grundid.opendatalab</groupId>
			<artifactId>geojson-jackson</artifactId>
		</dependency>
55
56
57
58
59
60
61
62
63
		<dependency>
			<groupId>org.projectlombok</groupId>
			<artifactId>lombok</artifactId>
		</dependency>

		<!-- XML Query to build SQL from XML -->
		<dependency>
			<groupId>fr.ifremer.common</groupId>
			<artifactId>xmlquery</artifactId>
64
65
66
67
		</dependency>
		<dependency>
			<groupId>org.jdom</groupId>
			<artifactId>jdom2</artifactId>
68
		</dependency>
69
70
71
72
		<dependency>
			<groupId>jaxen</groupId>
			<artifactId>jaxen</artifactId>
		</dependency>
73
74
75
76
77
78
79

		<!-- OpenCSV for extraction result -->
		<dependency>
			<groupId>net.sf.opencsv</groupId>
			<artifactId>opencsv</artifactId>
		</dependency>

80
81
82
83
84
85
86
		<!-- Gdal (SIG utilities) -->
		<dependency>
			<groupId>org.gdal</groupId>
			<artifactId>gdal</artifactId>
			<version>3.0.0</version>
		</dependency>

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
		<!-- Unit test -->
		<dependency>
			<groupId>net.sumaris</groupId>
			<artifactId>sumaris-test-shared</artifactId>
			<version>${project.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.dbunit</groupId>
			<artifactId>dbunit</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.mattbertolini</groupId>
			<artifactId>liquibase-slf4j</artifactId>
			<version>1.2.1</version>
			<scope>test</scope>
		</dependency>

	</dependencies>

	<build>

		<plugins>

			<plugin>
				<groupId>org.nuiton.i18n</groupId>
				<artifactId>i18n-maven-plugin</artifactId>

				<executions>
					<execution>
						<id>scan-sources</id>
						<configuration>
							<entries>
								<entry>
									<specificGoal>parserValidation</specificGoal>
									<basedir>${maven.src.dir}/main/java/</basedir>
									<includes>
										<param>**/**-validation.xml</param>
									</includes>
								</entry>
							</entries>
						</configuration>
						<goals>
							<goal>parserJava</goal>
							<goal>parserValidation</goal>
							<goal>gen</goal>
						</goals>
					</execution>
					<execution>
						<id>make-bundle</id>
						<goals>
							<goal>bundle</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

155
156
157
158
			<plugin>
				<artifactId>maven-antrun-plugin</artifactId>
			</plugin>

159
160
161
162
163
		</plugins>

	</build>

</project>