pom.xml 11.4 KB
Newer Older
1

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
8
9
10
11

    <modelVersion>4.0.0</modelVersion>

    <description>
        Pure Java implementation of ONC RPC protocol specification
        (http://www.ietf.org/rfc/rfc1831.txt)
    </description>

    <groupId>org.dcache.chimera</groupId>
12
    <artifactId>jpNFS</artifactId>
13
    <version>0.0.4-SNAPSHOT</version>
14
    <name>Java based NFSv4.1 implementation</name>
15
16
    <packaging>jar</packaging>
    <url>http://www.dCache.ORG</url>
17
    <scm>
18
19
        <connection>scm:hg:http://www.dcache.org/hg/jpNFS</connection>
        <developerConnection>scm:hg:ssh://svn.dcache.org/hg/jpNFS</developerConnection>
20
    </scm>
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

    <!--
        CODE LICENSE
    -->
    <licenses>
        <license>
            <name>
                GNU Lesser General Public License
            </name>
            <url>
                http://www.fsf.org/licensing/licenses/lgpl.txt
            </url>
        </license>
    </licenses>

    <developers>
        <developer>
            <id>tigran</id>
            <name>Tigran Mkrtchyan</name>
            <organization>dCache.ORG</organization>
        </developer>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
42
43
44
45
46
        <developer>
            <id>tatjana</id>
            <name>Tatjana Baranova</name>
            <organization>dCache.ORG</organization>
        </developer>
47
48
49
50
51
52
53
54
55
    </developers>

    <build>
        <sourceDirectory>src</sourceDirectory>
        <testSourceDirectory>test</testSourceDirectory>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
56
                <version>2.0.2</version>
57
                <configuration>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
58
59
                    <source>1.6</source>
                    <target>1.6</target>
60
61
                </configuration>
            </plugin>
62
63
64
65
66
67
            <!--
               start java app
            -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>exec-maven-plugin</artifactId>
68
                <version>1.2</version>
69
70
71
72
73
74
75
76
77
78
79
                <executions>
                    <execution>
                        <goals>
                            <goal>java</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <mainClass>org.dcache.xdr.SpringRunner</mainClass>
                </configuration>
            </plugin>
80
81
82
83
84
85
86
87
88
89
90
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.2</version>
                <configuration>
                    <archive>
                        <manifest>
                            <mainClass>org.dcache.xdr.SimpleRpcServer</mainClass>
                            <packageName>org.dcache.xdr</packageName>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                            <addClasspath>true</addClasspath>
91
                            <addExtensions />
92
93
94
95
96
                            <classpathPrefix>lib/</classpathPrefix>
                        </manifest>
                        <manifestEntries>
                            <mode>development</mode>
                            <Implementation-Build>${buildNumber}</Implementation-Build>
97
                            <url>${project.url}</url>
98
                            <Build-Time>${maven.build.timestamp}</Build-Time>
99
100
                        </manifestEntries>
                    </archive>
101
102
103
                    <excludes>
                        <exclude>**/logback.xml</exclude>
                    </excludes>
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.2-beta-4</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>attached</goal>
                        </goals>
                        <phase>package</phase>
                        <configuration>
                            <descriptorRefs>
                                <descriptorRef>jar-with-dependencies</descriptorRef>
                            </descriptorRefs>
                            <archive>
121
122
123
                                <manifest>
                                    <mainClass>org.dcache.xdr.SpringRunner</mainClass>
                                    <packageName>org.dcache.chimera.nfs</packageName>
124
                                    <addExtensions />
125
                                </manifest>
126
127
128
                                <manifestEntries>
                                    <mode>development</mode>
                                    <Implementation-Build>${buildNumber}</Implementation-Build>
129
                                    <url>${project.url}</url>
130
                                    <Build-Time>${maven.build.timestamp}</Build-Time>
131
132
133
134
135
136
137
                                </manifestEntries>
                            </archive>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
138
        <resources>
139
140
141
142
143
            <resource>
               <directory>resources</directory>
               <includes>
               </includes>
            </resource>
144
        </resources>
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
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
200
201
202
203
204
    </build>

    <!--
        BUILD REPORTING
    -->
    <reporting>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>findbugs-maven-plugin</artifactId>
                <version>2.0.1</version>
                <configuration>
                    <linkXref>true</linkXref>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-report-plugin</artifactId>
                <version>2.4.3</version>
                <configuration>
                    <linkXref>true</linkXref>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.6</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-pmd-plugin</artifactId>
                <version>2.4</version>
                <configuration>
                    <linkXref>true</linkXref>
                    <targetJdk>1.5</targetJdk>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jdepend-maven-plugin</artifactId>
                <version>2.0-beta-2</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jxr-plugin</artifactId>
                <version>2.1</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <version>2.3</version>
            </plugin>
        </plugins>
    </reporting>

    <!--
        EXTERNAL DEPENDENCIES
    -->
    <dependencies>
        <dependency>
205
206
207
            <groupId>com.jolbox</groupId>
            <artifactId>bonecp</artifactId>
            <version>0.7.1.RELEASE</version>
208
        </dependency>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
209
210
211
212
213
        <dependency>
            <groupId>jline</groupId>
            <artifactId>jline</artifactId>
            <version>0.9.94</version>
        </dependency>
214
215
        <dependency>
            <groupId>org.springframework</groupId>
216
            <artifactId>spring-context</artifactId>
217
            <version>3.0.5.RELEASE</version>
218
        </dependency>
219
220
221
222
223
224
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.7</version>
            <scope>test</scope>
        </dependency>
225
        <dependency>
226
227
228
            <groupId>hsqldb</groupId>
            <artifactId>hsqldb</artifactId>
            <version>2.0.0</version>
229
        </dependency>
230
231
232
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
233
            <version>1.6.1</version>
234
        </dependency>
235
236
237
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>log4j-over-slf4j</artifactId>
238
            <version>1.6.1</version>
239
        </dependency>
240
241
242
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
243
            <version>0.9.28</version>
244
        </dependency>
245
246
247
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
248
            <version>r09</version>
249
        </dependency>
250
251
252
253
254
        <dependency>
            <groupId>org.liquibase</groupId>
            <artifactId>liquibase-core</artifactId>
            <version>2.0.1</version>
        </dependency>
255
256
257
        <dependency>
            <groupId>org.dcache</groupId>
            <artifactId>nio-jrpc</artifactId>
258
            <version>1.0</version>
259
        </dependency>
260
261
262
263
264
265
        <!--
            LOCAL JARS
        -->
        <dependency>
            <groupId>org.dcache.chimera</groupId>
            <artifactId>chimera-core</artifactId>
266
            <version>0.0.12-SNAPSHOT</version>
267
268
269
270
271
272
273
274
        </dependency>
    </dependencies>

    <!--
        MAVEN REPOSITORIES
    -->
    <repositories>
    <!-- Grizzly repository -->
275
276
277
278
279
280
        <repository>
            <id>download.java.net</id>
            <name>Glassfish Repository for Maven</name>
            <url>http://download.java.net/maven/glassfish/ </url>
            <layout>default</layout>
        </repository>
281
282
283
284
285
286
        <repository>
            <id>maven2-repository.dev.java.net</id>
            <name>Java.net Repository for Maven</name>
            <url>http://download.java.net/maven/2/</url>
            <layout>default</layout>
        </repository>
287
288
289
290
291
292
        <repository>
            <id>maven2-repository.dcache.org</id>
            <name>dCache.ORG Repository for Maven</name>
            <url>http://www.dcache.org/nexus/content/groups/public/</url>
            <layout>default</layout>
        </repository>
293
294
295
296
297
298
        <repository>
            <id>dcache-snapshots</id>
            <name>dCache.ORG snapshots repository</name>
            <url>http://www.dcache.org/nexus/content/repositories/snapshots</url>
            <layout>default</layout>
        </repository>
299
300
301
    </repositories>

    <properties>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
302
303
304
        <!--
            NETBEANS specific
        -->
305
        <netbeans.hint.license>lglp20</netbeans.hint.license>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
306
307

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
308
    </properties>
309
310
311
312
313
314
315
316
317
318
319
320
321
322

    <!--
        MAVEN DEPLOYMENT REPOSITORY
    -->
    <distributionManagement>
        <repository>
            <id>dcache.org</id>
            <url>http://www.dcache.org/nexus/content/repositories/releases</url>
        </repository>
        <snapshotRepository>
            <id>dcache.org</id>
            <url>http://www.dcache.org/nexus/content/repositories/snapshots</url>
        </snapshotRepository>
    </distributionManagement>
323
</project>