source: ComponentRegistry/trunk/ComponentRegistry/pom.xml @ 2808

Last change on this file since 2808 was 2808, checked in by twagoo, 11 years ago

Updated to SHHAA 1.0.3

File size: 13.7 KB
Line 
1
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5    <modelVersion>4.0.0</modelVersion>
6    <parent>
7        <groupId>clarin.cmdi</groupId>
8        <artifactId>componentRegistry.parent</artifactId>
9        <version>1.0</version>
10    </parent>
11    <groupId>clarin.cmdi</groupId>
12    <artifactId>ComponentRegistry</artifactId>
13    <packaging>${packaging}</packaging>
14    <version>${ComponentRegistry.version}</version>
15    <name>ComponentRegistry</name>
16    <description>
17        ComponentRegistry is part of the clarin metadata infrastructure (cmdi).
18        The goal of the ComponentRegistry will be to register and make searchable Metadata Components and Profiles.
19    </description>
20    <ciManagement>
21        <system>hudson</system>
22        <url>http://lux16.mpi.nl/jenkins/job/ComponentRegistry/</url>
23    </ciManagement>
24    <scm>
25        <connection>scm:svn:http://svn.clarin.eu/ComponentRegistry/trunk/ComponentRegistry</connection>
26        <developerConnection>scm:svn:http://svn.clarin.eu/ComponentRegistry/trunk/ComponentRegistry</developerConnection>
27        <url>http://trac.clarin.eu/browser/ComponentRegistry</url>
28    </scm>
29
30    <dependencies>
31        <dependency>
32            <groupId>junit</groupId>
33            <artifactId>junit</artifactId>
34            <version>4.11</version>
35            <scope>test</scope>
36        </dependency>
37        <dependency>
38            <groupId>net.sf.saxon</groupId>
39            <artifactId>Saxon-HE</artifactId>
40            <version>9.4</version>
41        </dependency>                                                 
42        <dependency>
43            <groupId>javax.servlet</groupId>
44            <artifactId>servlet-api</artifactId>
45            <version>2.5</version>
46            <scope>provided</scope>
47        </dependency>
48        <dependency>
49            <groupId>commons-codec</groupId>
50            <artifactId>commons-codec</artifactId>
51            <version>1.3</version>
52        </dependency>
53        <dependency>
54            <groupId>commons-io</groupId>
55            <artifactId>commons-io</artifactId>
56            <version>1.4</version>
57        </dependency>
58        <dependency>
59            <groupId>commons-lang</groupId>
60            <artifactId>commons-lang</artifactId>
61            <version>2.5</version>
62        </dependency>
63        <dependency>
64            <groupId>commons-fileupload</groupId>
65            <artifactId>commons-fileupload</artifactId>
66            <version>1.2.1</version>
67        </dependency>
68        <dependency>
69            <groupId>commons-collections</groupId>
70            <artifactId>commons-collections</artifactId>
71            <version>3.2.1</version>
72        </dependency>
73        <dependency>
74            <groupId>xml-resolver</groupId>
75            <artifactId>xml-resolver</artifactId>
76            <version>1.2</version>
77        </dependency>
78        <dependency>
79            <groupId>org.slf4j</groupId>
80            <artifactId>slf4j-log4j12</artifactId>
81            <version>1.7.2</version>
82        </dependency>
83        <dependency>
84            <groupId>org.slf4j</groupId>
85            <artifactId>jcl-over-slf4j</artifactId>
86            <version>1.7.2</version>
87        </dependency>
88        <dependency>
89            <groupId>com.sun.jersey.contribs</groupId>
90            <artifactId>jersey-multipart</artifactId>
91            <version>1.12</version>
92        </dependency>
93        <dependency>
94            <groupId>com.sun.jersey</groupId>
95            <artifactId>jersey-bundle</artifactId>
96            <version>1.12</version>
97            <exclusions>
98                <!--
99    Jersey has dependencies with different group ids therefore maven cannot resolve the conflict and gives me both
100    jars (two of stax and two of jaxb-impl). Excluding them manually to overcome the problem
101  -->
102                <exclusion>
103                    <groupId>stax</groupId>
104                    <artifactId>stax-api</artifactId>
105                </exclusion>
106            </exclusions>
107        </dependency>
108        <dependency>
109            <groupId>com.sun.jersey.jersey-test-framework</groupId>
110            <artifactId>jersey-test-framework-grizzly</artifactId>
111            <version>1.12</version>
112            <scope>test</scope>
113        </dependency>
114        <dependency>
115            <groupId>com.sun.grizzly</groupId>
116            <artifactId>grizzly-servlet-webserver</artifactId>
117            <version>1.9.19</version>
118            <scope>test</scope>
119        </dependency>
120        <dependency>
121            <groupId>com.sun.xml.stream</groupId>
122            <artifactId>sjsxp</artifactId>
123            <version>1.0.1</version>
124        </dependency>
125        <dependency>
126            <groupId>de.mpg.mpgaai</groupId>
127            <artifactId>mpgaai-jaas</artifactId>
128            <version>1.3.2</version>
129            <exclusions>
130                <exclusion>
131                    <groupId>commons-logging</groupId>
132                    <artifactId>commons-logging</artifactId>
133                </exclusion>
134            </exclusions>
135        </dependency>
136        <dependency>
137            <groupId>de.mpg.mpgaai</groupId>
138            <artifactId>mpgaai-shhaa</artifactId>
139            <version>1.0.3</version>
140            <exclusions>
141                <exclusion>
142                    <groupId>commons-logging</groupId>
143                    <artifactId>commons-logging</artifactId>
144                </exclusion>
145            </exclusions>
146        </dependency>
147        <dependency>
148            <groupId>org.apache.wicket</groupId>
149            <artifactId>wicket</artifactId>
150            <version>1.4.8</version>
151        </dependency>
152        <dependency>
153            <groupId>org.apache.wicket</groupId>
154            <artifactId>wicket-extensions</artifactId>
155            <version>1.4.8</version>
156        </dependency>
157
158        <!-- Spring framework -->
159
160        <dependency>
161            <groupId>org.apache.wicket</groupId>
162            <artifactId>wicket-spring</artifactId>
163            <version>1.4.8</version>
164            <exclusions>
165                <exclusion>
166                    <groupId>org.springframework</groupId>
167                    <artifactId>spring</artifactId>
168                </exclusion>
169            </exclusions>
170        </dependency>
171        <dependency>
172            <groupId>com.sun.jersey.contribs</groupId>
173            <artifactId>jersey-spring</artifactId>
174            <version>1.12</version>
175            <exclusions>
176                <exclusion>
177                    <groupId>commons-logging</groupId>
178                    <artifactId>commons-logging</artifactId>
179                </exclusion>
180            </exclusions>
181        </dependency>
182        <dependency>
183            <groupId>org.springframework</groupId>
184            <artifactId>spring-tx</artifactId>
185            <version>3.0.0.RELEASE</version>
186        </dependency>
187        <dependency>
188            <groupId>org.springframework</groupId>
189            <artifactId>spring-jdbc</artifactId>
190            <version>3.0.0.RELEASE</version>
191        </dependency>
192        <dependency>
193            <groupId>org.springframework</groupId>
194            <artifactId>spring-test</artifactId>
195            <version>3.0.0.RELEASE</version>
196            <scope>test</scope>
197        </dependency>
198
199        <!-- Database -->
200
201        <dependency>
202            <groupId>commons-dbcp</groupId>
203            <artifactId>commons-dbcp</artifactId>
204            <version>1.4</version>
205        </dependency>
206        <dependency>
207            <groupId>postgresql</groupId>
208            <artifactId>postgresql</artifactId>
209            <version>8.4-701.jdbc3</version>
210        </dependency>
211        <dependency>
212            <groupId>hsqldb</groupId>
213            <artifactId>hsqldb</artifactId>
214            <version>1.8.0.10</version>
215            <scope>test</scope>
216        </dependency>
217        <dependency>
218            <groupId>clarin.cmdi</groupId>
219            <artifactId>cmd-validate</artifactId>
220            <version>1.1</version>
221        </dependency>
222        <dependency>
223            <groupId>org.slf4j</groupId>
224            <artifactId>jul-to-slf4j</artifactId>
225            <version>1.7.2</version>
226        </dependency>
227    </dependencies>
228
229    <properties>
230        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
231        <packaging>war</packaging>
232        <!-- Properties to configure ComponentRegistry override on commandline with -D or change here -->
233        <serviceRootUrl>http://localhost:8080/${project.artifactId}</serviceRootUrl>
234        <!-- Will be inserted in context.xml -->
235        <webXmlPath>src/main/webapp/WEB-INF/web-test.xml</webXmlPath>
236        <!-- non-shib web.xml -->
237        <isocatSearchUrl>http://www.isocat.org/rest/user/guest/search</isocatSearchUrl>
238        <ComponentRegistrySwfName>${project.artifactId}-${ComponentBrowserGui.version}</ComponentRegistrySwfName>
239        <flexDebug>0</flexDebug>
240    </properties>
241
242    <profiles>
243        <profile>
244            <id>lux16</id>
245            <properties>
246                <serviceRootUrl>http://lux16.mpi.nl/ds/ComponentRegistry</serviceRootUrl>
247                <!-- Will be inserted in context.xml -->
248                <shibLI>http://lux16.mpi.nl/Shibboleth.sso/DS</shibLI>
249                <!-- Shibboleth login URI for SHHAA -->
250                <shibLO>http://lux16.mpi.nl/Shibboleth.sso/Logout</shibLO>
251                <!-- Shibboleth logout URI for SHHAA -->
252                <webXmlPath>src/main/webapp/WEB-INF/web-shib.xml</webXmlPath>
253                <!-- web.xml for shibboleth authentication -->
254            </properties>
255        </profile>
256        <profile>
257            <id>clarin</id>
258            <properties>
259                <serviceRootUrl>http://catalog.clarin.eu/ds/ComponentRegistry</serviceRootUrl>
260                <!-- Will be inserted in context.xml -->
261                <shibLI>https://catalog.clarin.eu/Shibboleth.sso/DiscoJuice</shibLI>
262                <!-- Shibboleth login URI for SHHAA -->
263                <shibLO>https://catalog.clarin.eu/Shibboleth.sso/Logout</shibLO>
264                <!-- Shibboleth logout URI for SHHAA -->
265                <webXmlPath>src/main/webapp/WEB-INF/web-shib.xml</webXmlPath>
266                <!-- web.xml for shibboleth authentication -->
267            </properties>
268        </profile>
269    </profiles>
270
271    <build>
272        <filters>
273            <filter>properties/flexindex.properties</filter>
274        </filters>
275        <resources>
276            <resource>
277                <filtering>false</filtering>
278                <directory>src/generated/jaxb/components</directory>
279            </resource>
280            <resource>
281                <filtering>false</filtering>
282                <directory>src/generated/jaxb/rss</directory>
283            </resource>
284            <resource>
285                <filtering>true</filtering>
286                <directory>src/main/resources</directory>
287            </resource>
288            <resource>
289                <filtering>false</filtering>
290                <directory>src/main/java</directory>
291                <includes>
292                    <include>**/*.html</include>
293                </includes>
294            </resource>
295        </resources>
296        <testResources>
297            <testResource>
298                <directory>src/test/resources</directory>
299            </testResource>
300        </testResources>
301        <plugins>
302            <plugin>
303                <groupId>org.apache.maven.plugins</groupId>
304                <artifactId>maven-compiler-plugin</artifactId>
305                <configuration>
306                    <source>1.6</source>
307                    <target>1.6</target>
308                </configuration>
309            </plugin>
310            <plugin>
311                <groupId>org.apache.maven.plugins</groupId>
312                <artifactId>maven-war-plugin</artifactId>
313                <configuration>
314                    <warName>${project.artifactId}</warName>
315                    <webXml>${webXmlPath}</webXml>
316                    <webResources>
317                        <resource>
318                            <directory>src/main/webapp</directory>
319                            <filtering>true</filtering>
320                        </resource>
321                    </webResources>
322                    <archive>
323                        <manifest>
324                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
325                        </manifest>
326                    </archive>
327                </configuration>
328            </plugin>
329            <plugin>
330                <groupId>org.jvnet.jaxb2.maven2</groupId>
331                <artifactId>maven-jaxb2-plugin</artifactId>
332                <executions>
333                    <execution>
334                        <id>jaxb-components</id>
335                        <goals>
336                            <goal>generate</goal>
337                        </goals>
338                        <configuration>
339                            <schemaDirectory>src/main/binding/components</schemaDirectory>
340                            <schemaIncludes>
341                                <include>general-component-schema.xsd</include>
342                            </schemaIncludes>
343                            <bindingDirectory>src/main/binding/components</bindingDirectory>
344                            <extension>true</extension>
345                            <generateDirectory>${basedir}/src/generated/jaxb/components</generateDirectory>
346                            <generatePackage>clarin.cmdi.componentregistry.components</generatePackage>
347                            <catalog>src/main/resources/catalog.cat</catalog>
348                            <catalogResolver>org.jvnet.jaxb2.maven2.resolver.tools.ClasspathCatalogResolver</catalogResolver>
349                        </configuration>
350                    </execution>
351                    <execution>
352                        <id>jaxb-rrs</id>
353                        <goals>
354                            <goal>generate</goal>
355                        </goals>
356                        <configuration>
357                            <schemaDirectory>src/main/binding/rss</schemaDirectory>
358                            <schemaIncludes>
359                                <include>rss-2_0.xsd</include>
360                            </schemaIncludes>
361                            <bindingDirectory>src/main/binding/rss</bindingDirectory>
362                            <extension>true</extension>
363                            <generateDirectory>${basedir}/src/generated/jaxb/rss</generateDirectory>
364                            <generatePackage>clarin.cmdi.componentregistry.rss</generatePackage>
365                            <catalog>src/main/resources/catalog.cat</catalog>
366                            <catalogResolver>org.jvnet.jaxb2.maven2.resolver.tools.ClasspathCatalogResolver</catalogResolver>
367                        </configuration>
368                    </execution>
369                </executions>
370            </plugin>
371            <plugin>
372                <groupId>org.apache.maven.plugins</groupId>
373                <artifactId>maven-dependency-plugin</artifactId>
374                <executions>
375                    <execution>
376                        <id>copy</id>
377                        <phase>process-resources</phase>
378                        <goals>
379                            <goal>copy</goal>
380                        </goals>
381                        <configuration>
382                            <artifactItems>
383                                <artifactItem>
384                                    <groupId>clarin.cmdi</groupId>
385                                    <artifactId>ComponentBrowserGui</artifactId>
386                                    <version>${ComponentBrowserGui.version}</version>
387                                    <type>swf</type>
388                                    <overWrite>true</overWrite>
389                                    <outputDirectory>${project.build.directory}/${project.artifactId}-${project.version}</outputDirectory>
390                                    <destFileName>${ComponentRegistrySwfName}.swf</destFileName>
391                                </artifactItem>
392                            </artifactItems>
393                        </configuration>
394                    </execution>
395                </executions>
396            </plugin>
397            <plugin>
398                <artifactId>maven-assembly-plugin</artifactId>
399                <version>2.2.2</version>
400                <executions>
401                    <execution>
402                        <id>make-assembly</id>
403                        <phase>package</phase>
404                        <goals>
405                            <goal>single</goal>
406                        </goals>
407                        <configuration>
408                            <descriptors>
409                                <descriptor>src/main/assembly/release.xml</descriptor>
410                            </descriptors>
411                        </configuration>
412                    </execution>
413                </executions>
414            </plugin>
415            <plugin>
416                <groupId>org.apache.maven.plugins</groupId>
417                <artifactId>maven-surefire-plugin</artifactId>
418                <version>2.13</version>
419                <configuration>
420                    <systemProperties>
421                        <property>
422                            <name>java.util.logging.config.file</name>
423                            <value>${project.build.directory}/classes/logging.properties</value>
424                        </property>
425                    </systemProperties>
426                </configuration>
427            </plugin>
428
429        </plugins>
430    </build>
431   
432    <reporting>
433        <plugins>
434            <plugin>
435                <groupId>org.codehaus.mojo</groupId>
436                <artifactId>findbugs-maven-plugin</artifactId>
437                <configuration>
438                    <excludeFilterFile>${basedir}/src/main/resources/findbugs-exclude.xml</excludeFilterFile>
439                    <threshold>Normal</threshold>
440                    <effort>Min</effort>
441                </configuration>
442            </plugin>
443        </plugins>
444    </reporting> 
445   
446    <repositories>
447        <repository>
448            <id>cmdi.clarin.repository</id>
449            <name>Clarin Repository</name>
450            <url>http://catalog.clarin.eu/ds/nexus/content/groups/public/</url>
451        </repository>
452        <repository>
453            <id>sonatype</id>
454            <url>https://oss.sonatype.org/content/groups/public</url>
455        </repository>
456    </repositories>
457</project>
Note: See TracBrowser for help on using the repository browser.