pom.xml 3.24 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.9.0</version>
LAVENIER's avatar
LAVENIER committed
7
8
9
  </parent>
  <modelVersion>4.0.0</modelVersion>

10
11
12
  <artifactId>sumaris-core-importation</artifactId>
  <name>SUMARiS:: Core Importation</name>
  <description>SUMARiS core importation library</description>
LAVENIER's avatar
LAVENIER committed
13

14
15
16
17
18
19
20
21
22
  <properties>
    <!-- i18n configuration -->
    <i18n.bundleOutputName>sumaris-core-importation-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>
LAVENIER's avatar
LAVENIER committed
23
24
25
26
27
28
  <dependencies>
    <dependency>
      <groupId>net.sumaris</groupId>
      <artifactId>sumaris-core</artifactId>
      <version>${project.version}</version>
    </dependency>
LAVENIER's avatar
LAVENIER committed
29
30
31
32
    <dependency>
      <groupId>org.projectlombok</groupId>
      <artifactId>lombok</artifactId>
    </dependency>
LAVENIER's avatar
LAVENIER committed
33
34
35
36
    <dependency>
      <groupId>net.sf.opencsv</groupId>
      <artifactId>opencsv</artifactId>
    </dependency>
LAVENIER's avatar
LAVENIER committed
37

38
    <!-- Unit test -->
LAVENIER's avatar
LAVENIER committed
39
40
41
42
43
44
    <dependency>
      <groupId>net.sumaris</groupId>
      <artifactId>sumaris-test-shared</artifactId>
      <version>${project.version}</version>
      <scope>test</scope>
    </dependency>
45
46
47
48
49
50
51
52
53
54
55
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.dbunit</groupId>
      <artifactId>dbunit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
LAVENIER's avatar
LAVENIER committed
56
57
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-test</artifactId>
58
59
60
      <scope>test</scope>
    </dependency>
    <dependency>
LAVENIER's avatar
LAVENIER committed
61
62
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
63
64
      <scope>test</scope>
    </dependency>
LAVENIER's avatar
LAVENIER committed
65
66
  </dependencies>

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
  <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>

104
105
106
107
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
      </plugin>

108
109
110
    </plugins>

  </build>
LAVENIER's avatar
LAVENIER committed
111
</project>