pom.xml 10.2 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14

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

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

    <groupId>org.dcache.chimera</groupId>
    <artifactId>grizzly-rpc</artifactId>
15
    <version>0.0.3-SNAPSHOT</version>
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
    <name>Grizzly Based ONC RPC implementation</name>
    <packaging>jar</packaging>
    <url>http://www.dCache.ORG</url>

    <!--
        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
40
41
42
43
44
        <developer>
            <id>tatjana</id>
            <name>Tatjana Baranova</name>
            <organization>dCache.ORG</organization>
        </developer>
45
46
47
48
49
50
51
52
53
    </developers>

    <build>
        <sourceDirectory>src</sourceDirectory>
        <testSourceDirectory>test</testSourceDirectory>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
54
                <version>2.0.2</version>
55
                <configuration>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
56
57
                    <source>1.6</source>
                    <target>1.6</target>
58
59
                </configuration>
            </plugin>
60
61
62
63
64
65
            <!--
               start java app
            -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>exec-maven-plugin</artifactId>
66
                <version>1.2</version>
67
68
69
70
71
72
73
74
75
76
77
                <executions>
                    <execution>
                        <goals>
                            <goal>java</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <mainClass>org.dcache.xdr.SpringRunner</mainClass>
                </configuration>
            </plugin>
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
            <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>
                            <addExtensions/>
                            <classpathPrefix>lib/</classpathPrefix>
                        </manifest>
                        <manifestEntries>
                            <mode>development</mode>
                            <Implementation-Build>${buildNumber}</Implementation-Build>
95
                            <url>${project.url}</url>
96
                            <Build-Time>${maven.build.timestamp}</Build-Time>
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
                        </manifestEntries>
                    </archive>
                </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>
116
117
118
119
120
                                <manifest>
                                    <mainClass>org.dcache.xdr.SpringRunner</mainClass>
                                    <packageName>org.dcache.chimera.nfs</packageName>
                                    <addExtensions/>
                                </manifest>
121
122
123
                                <manifestEntries>
                                    <mode>development</mode>
                                    <Implementation-Build>${buildNumber}</Implementation-Build>
124
                                    <url>${project.url}</url>
125
                                    <Build-Time>${maven.build.timestamp}</Build-Time>
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
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
                                </manifestEntries>
                            </archive>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </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>
            <groupId>com.sun.grizzly</groupId>
            <artifactId>grizzly-framework</artifactId>
195
            <version>1.9.19</version>
196
197
198
199
200
201
202
203
204
205
206
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.14</version>
        </dependency>
        <dependency>
            <groupId>c3p0</groupId>
            <artifactId>c3p0</artifactId>
            <version>0.9.1.2</version>
        </dependency>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
207
208
209
210
211
        <dependency>
            <groupId>jline</groupId>
            <artifactId>jline</artifactId>
            <version>0.9.94</version>
        </dependency>
212
213
        <dependency>
            <groupId>org.springframework</groupId>
214
215
            <artifactId>spring-context</artifactId>
            <version>3.0.2.RELEASE</version>
216
        </dependency>
217
218
219
220
221
222
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.7</version>
            <scope>test</scope>
        </dependency>
223
224
225
226
227
        <dependency>
            <groupId>postgresql</groupId>
            <artifactId>postgresql</artifactId>
            <version>8.4-701.jdbc3</version>
        </dependency>
228
229
230
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
231
            <version>1.6.0</version>
232
233
234
235
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
236
            <version>0.9.21</version>
237
        </dependency>
238
239
240
241
242
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>r05</version>
        </dependency>
243
244
245
246
247
248
249
250
251
252
253
254

        <!--
            LOCAL JARS
        -->
        <dependency>
            <groupId>org.acpt</groupId>
            <artifactId>jportmap</artifactId>
            <version>1.0</version>
        </dependency>
        <dependency>
            <groupId>org.dcache.chimera</groupId>
            <artifactId>chimera-core</artifactId>
255
            <version>0.0.9</version>
256
257
258
259
260
261
262
263
        </dependency>
    </dependencies>

    <!--
        MAVEN REPOSITORIES
    -->
    <repositories>
    <!-- Grizzly repository -->
264
265
266
267
268
269
        <repository>
            <id>download.java.net</id>
            <name>Glassfish Repository for Maven</name>
            <url>http://download.java.net/maven/glassfish/ </url>
            <layout>default</layout>
        </repository>
270
271
272
273
274
275
        <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>
276
277
278
279
280
281
        <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>
282
283
284
    </repositories>

    <properties>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
285
286
287
        <!--
            NETBEANS specific
        -->
288
        <netbeans.hint.license>lglp20</netbeans.hint.license>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
289
290

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
291
292
    </properties>
</project>