pom.xml 3.87 KB
Newer Older
Benoit Lavenier's avatar
Benoit Lavenier committed
1
2
3
4
<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">
  <modelVersion>4.0.0</modelVersion>

  <parent>
Benoit Lavenier's avatar
Benoit Lavenier committed
5
6
    <groupId>org.duniter</groupId>
    <artifactId>duniter4j</artifactId>
7
    <version>1.3.3</version>
Benoit Lavenier's avatar
Benoit Lavenier committed
8
9
  </parent>

Benoit Lavenier's avatar
Benoit Lavenier committed
10
  <artifactId>duniter4j-core-shared</artifactId>
Benoit Lavenier's avatar
Benoit Lavenier committed
11
  <packaging>jar</packaging>
Benoit Lavenier's avatar
Benoit Lavenier committed
12
  <name>Duniter4j :: Core Shared</name>
Benoit Lavenier's avatar
Benoit Lavenier committed
13
  <description>Common library used by all Duniter4j modules</description>
14
15

  <properties>
Benoit Lavenier's avatar
Benoit Lavenier committed
16
    <i18n.bundleOutputName>duniter4j-core-i18n</i18n.bundleOutputName>
17
18
19
20
21
22
23
24
25
26
    <i18n.generateCsvFile>true</i18n.generateCsvFile>
    <i18n.bundleCsvFile>
      ${maven.gen.dir}/resources/META-INF/${i18n.bundleOutputName}.csv
    </i18n.bundleCsvFile>
    <config.i18nBundleName>${i18n.bundleOutputName}</config.i18nBundleName>

    <maven.jar.main.class>
    </maven.jar.main.class>

  </properties>
Benoit Lavenier's avatar
Benoit Lavenier committed
27
  <dependencies>
28
29
30
31
32
    <!-- LOGGING DEPENDENCIES - SLF4J -->
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
    </dependency>
Benoit Lavenier's avatar
Benoit Lavenier committed
33
34
35
36
37
38
39
40
41
42
    <!-- NaCL lib -->
    <dependency>
      <groupId>org.abstractj.kalium</groupId>
      <artifactId>kalium</artifactId>
    </dependency>
    <!-- scrypt lib -->
    <dependency>
      <groupId>com.lambdaworks</groupId>
      <artifactId>scrypt</artifactId>
    </dependency>
ArnaudCerisier's avatar
ArnaudCerisier committed
43
44
45
46
47
    <!-- jnr ffi -->
    <dependency>
      <groupId>com.github.jnr</groupId>
      <artifactId>jnr-ffi</artifactId>
    </dependency>
48

49
50
51
52
53
54
    <!-- http -->
    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpclient</artifactId>
    </dependency>

55
56
57
58
59
    <dependency>
      <groupId>javax.websocket</groupId>
      <artifactId>javax.websocket-api</artifactId>
    </dependency>

60
61
62
63
64
65
66
    <dependency>
      <groupId>org.nuiton</groupId>
      <artifactId>nuiton-config</artifactId>
    </dependency>
    <dependency>
      <groupId>org.nuiton.i18n</groupId>
      <artifactId>nuiton-i18n</artifactId>
67

68
    </dependency>
Benoit Lavenier's avatar
Benoit Lavenier committed
69
70
71
72
    <dependency>
      <groupId>javax.mail</groupId>
      <artifactId>mail</artifactId>
    </dependency>
Benoit Lavenier's avatar
Benoit Lavenier committed
73

Benoit Lavenier's avatar
Benoit Lavenier committed
74
    <!-- Unit test -->
75
    <dependency>
Benoit Lavenier's avatar
Benoit Lavenier committed
76
77
78
79
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>compile</scope>
      <optional>true</optional>
80
81
    </dependency>
    <dependency>
Benoit Lavenier's avatar
Benoit Lavenier committed
82
83
84
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
      <scope>test</scope>
85
    </dependency>
86
87
88
89
90
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>jcl-over-slf4j</artifactId>
      <scope>test</scope>
    </dependency>
Benoit Lavenier's avatar
Benoit Lavenier committed
91
    <dependency>
Benoit Lavenier's avatar
Benoit Lavenier committed
92
93
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
Benoit Lavenier's avatar
Benoit Lavenier committed
94
95
96
      <scope>test</scope>
    </dependency>
  </dependencies>
97
98

  <build>
99
100
101
102
103
104
    <resources>
      <resource>
        <filtering>false</filtering>
        <directory>${basedir}/lib</directory>
      </resource>
    </resources>
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
    <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>
    </plugins>
  </build>
Benoit Lavenier's avatar
Benoit Lavenier committed
140
</project>