1 | <?xml version="1.0"?> |
---|
2 | <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" |
---|
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
---|
4 | <modelVersion>4.0.0</modelVersion> |
---|
5 | <parent> |
---|
6 | <groupId>eu.clarin.cmdi</groupId> |
---|
7 | <artifactId>vlo</artifactId> |
---|
8 | <version>3.3-beta1</version> |
---|
9 | </parent> |
---|
10 | <groupId>eu.clarin.cmdi</groupId> |
---|
11 | <artifactId>vlo-commons</artifactId> |
---|
12 | <version>3.3-beta1</version> |
---|
13 | <name>VLO Commons</name> |
---|
14 | <url>http://maven.apache.org</url> |
---|
15 | <properties> |
---|
16 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
---|
17 | |
---|
18 | <!-- default config values --> |
---|
19 | <vloconfig.deleteAllFirst>true</vloconfig.deleteAllFirst> |
---|
20 | <vloconfig.maxDaysInSolr>0</vloconfig.maxDaysInSolr> |
---|
21 | <vloconfig.homeUrl>http://www.clarin.eu/vlo</vloconfig.homeUrl> |
---|
22 | <vloconfig.helpUrl>http://www.clarin.eu/vlo</vloconfig.helpUrl> |
---|
23 | </properties> |
---|
24 | |
---|
25 | <build> |
---|
26 | <resources> |
---|
27 | <resource> |
---|
28 | <directory>src/main/resources</directory> |
---|
29 | <filtering>true</filtering> |
---|
30 | </resource> |
---|
31 | </resources> |
---|
32 | <testResources> |
---|
33 | <testResource> |
---|
34 | <directory>src/test/resources</directory> |
---|
35 | <filtering>true</filtering> |
---|
36 | </testResource> |
---|
37 | </testResources> |
---|
38 | </build> |
---|
39 | |
---|
40 | <!-- Build profiles prepare VloConfig.xml for different deployment enviroments --> |
---|
41 | <profiles> |
---|
42 | <profile> |
---|
43 | <!-- For local testing, default profile --> |
---|
44 | <id>local-testing</id> |
---|
45 | <activation> |
---|
46 | <activeByDefault>true</activeByDefault> |
---|
47 | </activation> |
---|
48 | <properties> |
---|
49 | <vloconfig.solrUrl>http://localhost:8080/vlo-solr/core0/</vloconfig.solrUrl> |
---|
50 | <vloconfig.dataRootsFile>dataroots-local.xml</vloconfig.dataRootsFile> |
---|
51 | </properties> |
---|
52 | </profile> |
---|
53 | |
---|
54 | <profile> |
---|
55 | <!-- For deployment to vlo.clarin.eu --> |
---|
56 | <id>production</id> |
---|
57 | <properties> |
---|
58 | <vloconfig.deleteAllFirst>false</vloconfig.deleteAllFirst> |
---|
59 | <vloconfig.maxDaysInSolr>7</vloconfig.maxDaysInSolr> |
---|
60 | <vloconfig.solrUrl>http://localhost:8080/solr/core0/</vloconfig.solrUrl> |
---|
61 | <vloconfig.homeUrl>http://vlo.clarin.eu</vloconfig.homeUrl> |
---|
62 | <vloconfig.dataRootsFile>dataroots-production.xml</vloconfig.dataRootsFile> |
---|
63 | </properties> |
---|
64 | </profile> |
---|
65 | |
---|
66 | <profile> |
---|
67 | <!-- For deployment to vlo.clarin.eu --> |
---|
68 | <id>dev-vm</id> |
---|
69 | <properties> |
---|
70 | <vloconfig.solrUrl>http://localhost:8080/vlo-solr/core0/</vloconfig.solrUrl> |
---|
71 | <vloconfig.dataRootsFile>dataroots-testvm.xml</vloconfig.dataRootsFile> |
---|
72 | </properties> |
---|
73 | </profile> |
---|
74 | |
---|
75 | <profile> |
---|
76 | <!-- For deployment to beta.vlo.clarin.eu --> |
---|
77 | <id>beta</id> |
---|
78 | <properties> |
---|
79 | <vloconfig.solrUrl><!-- TODO!!! --></vloconfig.solrUrl> |
---|
80 | <vloconfig.homeUrl>http://beta.vlo.clarin.eu</vloconfig.homeUrl> |
---|
81 | <vloconfig.dataRootsFile>dataroots-production.xml</vloconfig.dataRootsFile> |
---|
82 | </properties> |
---|
83 | </profile> |
---|
84 | </profiles> |
---|
85 | |
---|
86 | <dependencies> |
---|
87 | <dependency> |
---|
88 | <groupId>javax.servlet</groupId> |
---|
89 | <artifactId>servlet-api</artifactId> |
---|
90 | <version>2.5</version> |
---|
91 | <scope>provided</scope> |
---|
92 | </dependency> |
---|
93 | <dependency> |
---|
94 | <groupId>org.slf4j</groupId> |
---|
95 | <artifactId>slf4j-log4j12</artifactId> |
---|
96 | <version>${slf4j.version}</version> |
---|
97 | <scope>test</scope> |
---|
98 | </dependency> |
---|
99 | <dependency> |
---|
100 | <groupId>xmlunit</groupId> |
---|
101 | <artifactId>xmlunit</artifactId> |
---|
102 | <version>1.5</version> |
---|
103 | <scope>test</scope> |
---|
104 | <type>xml</type> |
---|
105 | <classifier>ivy</classifier> |
---|
106 | </dependency> |
---|
107 | </dependencies> |
---|
108 | </project> |
---|