pom.xml 9.33 KB
Newer Older
LAVENIER's avatar
LAVENIER committed
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">
LAVENIER's avatar
LAVENIER committed
3
4
5
    <parent>
        <artifactId>sumaris-pod</artifactId>
        <groupId>net.sumaris</groupId>
LAVENIER's avatar
LAVENIER committed
6
        <version>1.10.2</version>
LAVENIER's avatar
LAVENIER committed
7
8
9
10
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>sumaris-core-rdf</artifactId>
11
12
13
    <packaging>jar</packaging>
    <name>SUMARiS:: RDF features</name>
    <description>SUMARiS RDF library</description>
LAVENIER's avatar
LAVENIER committed
14
15

    <properties>
LAVENIER's avatar
LAVENIER committed
16
17
18
19
20
21
22
23
        <!-- i18n configuration -->
        <i18n.bundleOutputName>sumaris-core-rdf-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>

LAVENIER's avatar
LAVENIER committed
24
25
        <!-- Default datasource platform -->
        <spring.datasource.platform>hsqldb</spring.datasource.platform>
LAVENIER's avatar
LAVENIER committed
26
27
28
29
30
31
32
33
    </properties>

    <dependencies>
        <!-- Project dependencies -->
        <dependency>
            <groupId>net.sumaris</groupId>
            <artifactId>sumaris-core</artifactId>
            <version>${project.version}</version>
34
35
36
37
38
39
            <exclusions>
                <exclusion>
                    <groupId>org.apache.activemq</groupId>
                    <artifactId>activemq-broker</artifactId>
                </exclusion>
            </exclusions>
LAVENIER's avatar
LAVENIER committed
40
        </dependency>
41

LAVENIER's avatar
LAVENIER committed
42
        <dependency>
43
44
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
45
            <scope>compile</scope>
46
47
48
49
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-webmvc</artifactId>
50
            <scope>compile</scope>
LAVENIER's avatar
LAVENIER committed
51
        </dependency>
52
53
54
55
56
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
        </dependency>

LAVENIER's avatar
LAVENIER committed
57
58
59
60
61
62
        <dependency>
            <groupId>org.apache.jena</groupId>
            <artifactId>jena-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.jena</groupId>
63
            <artifactId>jena-shacl</artifactId>
LAVENIER's avatar
LAVENIER committed
64
65
66
67
68
        </dependency>
        <dependency>
            <groupId>org.apache.jena</groupId>
            <artifactId>jena-arq</artifactId>
        </dependency>
69
70
71
72
        <dependency>
            <groupId>org.apache.jena</groupId>
            <artifactId>jena-tdb2</artifactId>
        </dependency>
LAVENIER's avatar
LAVENIER committed
73
74
75
76
77
        <dependency>
            <groupId>org.apache.jena</groupId>
            <artifactId>jena-fuseki-main</artifactId>
        </dependency>
        <dependency>
78
79
            <groupId>net.sourceforge.owlapi</groupId>
            <artifactId>owlapi-distribution</artifactId>
LAVENIER's avatar
LAVENIER committed
80
        </dependency>
LAVENIER's avatar
LAVENIER committed
81
        <dependency>
82
            <groupId>com.github.VisualDataWeb</groupId>
LAVENIER's avatar
LAVENIER committed
83
84
            <artifactId>OWL2VOWL</artifactId>
        </dependency>
85

86
87
88
89
90
91
92
        <!-- Unit test -->
        <dependency>
            <groupId>net.sumaris</groupId>
            <artifactId>sumaris-test-shared</artifactId>
            <version>${project.version}</version>
            <scope>test</scope>
        </dependency>
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
        <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>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
            <scope>test</scope>
        </dependency>
LAVENIER's avatar
LAVENIER committed
119
    </dependencies>
LAVENIER's avatar
LAVENIER committed
120
121

    <build>
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
        <resources>
            <resource>
                <directory>src/main/filtered-resources</directory>
                <filtering>true</filtering>
                <includes>
                    <include>*.config</include>
                    <include>**/*.properties</include>
                    <include>**/*.xml</include>
                </includes>
            </resource>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>false</filtering>
                <includes>
                    <include>**/*.*</include>
                </includes>
            </resource>
            <resource>
                <directory>target/generated-sources/resources</directory>
                <filtering>false</filtering>
                <includes>
                    <include>**/*.*</include>
                </includes>
            </resource>
        </resources>

        <testResources>
            <testResource>
                <directory>src/test/filtered-resources</directory>
                <filtering>true</filtering>
                <includes>
                    <include>*.config</include>
                    <include>**/*.properties</include>
                    <include>**/*.xml</include>
                </includes>
            </testResource>
            <testResource>
                <directory>src/test/resources</directory>
                <filtering>false</filtering>
                <includes>
                    <include>**/*.*</include>
                </includes>
            </testResource>
        </testResources>

LAVENIER's avatar
LAVENIER committed
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
192
193
194
195
196
197
198
199
        <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>
200
201
202
203
204

            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
            </plugin>

LAVENIER's avatar
LAVENIER committed
205
206
        </plugins>
    </build>
207
208
209
210
211
212
213

    <profiles>
        <profile>
            <id>hsqldb</id>
            <activation>
                <activeByDefault>true</activeByDefault>
                <property>
LAVENIER's avatar
LAVENIER committed
214
                    <name>spring.datasource.platform</name>
215
216
217
218
219
220
221
222
223
224
225
                    <value>hsqldb</value>
                </property>
            </activation>

            <properties>
                <sumaris.persistence.db.directory>target/db</sumaris.persistence.db.directory>
                <sumaris.persistence.db.name>sumaris</sumaris.persistence.db.name>
                <jdbc.url>jdbc:hsqldb:file:${sumaris.persistence.db.directory}/${sumaris.persistence.db.name}</jdbc.url>
                <jdbc.driver.jar>${settings.localRepository}/org/hsqldb/hsqldb/${hsqldb.version}/hsqldb-${hsqldb.version}.jar</jdbc.driver.jar>
                <jdbc.username>sa</jdbc.username>
                <jdbc.password />
LAVENIER's avatar
LAVENIER committed
226
                <jdbc.driver>org.hsqldb.jdbc.JDBCDriver</jdbc.driver>
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
                <jdbc.schema>PUBLIC</jdbc.schema>
                <hibernate.dialect>net.sumaris.core.dao.technical.hibernate.spatial.HSQLSpatialDialect</hibernate.dialect>
                <hibernate.jdbcBatchSize>15</hibernate.jdbcBatchSize>
            </properties>

            <dependencies>
                <dependency>
                    <groupId>org.hsqldb</groupId>
                    <artifactId>hsqldb</artifactId>
                </dependency>
            </dependencies>
        </profile>

        <profile>
            <id>bundles</id>
            <activation>
                <property>
                    <name>performRelease</name>
                    <value>true</value>
                </property>
            </activation>

            <properties>
                <jdbc.url>jdbc:hsqldb:hsql://localhost/sumaris</jdbc.url>
            </properties>

            <dependencies>
                <dependency>
                    <groupId>org.hsqldb</groupId>
                    <artifactId>hsqldb</artifactId>
                    <scope>runtime</scope>
                </dependency>
            </dependencies>
        </profile>

    </profiles>
LAVENIER's avatar
LAVENIER committed
263
</project>