1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
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 | |
---|
6 | <parent> |
---|
7 | <groupId>eu.clarin.cmdi</groupId> |
---|
8 | <artifactId>vlo</artifactId> |
---|
9 | <version>3.0-SNAPSHOT</version> |
---|
10 | </parent> |
---|
11 | |
---|
12 | <modelVersion>4.0.0</modelVersion> |
---|
13 | <groupId>eu.clarin.cmdi</groupId> |
---|
14 | <artifactId>vlo-web-app</artifactId> |
---|
15 | <packaging>war</packaging> |
---|
16 | <version>1.0-SNAPSHOT</version> |
---|
17 | <!-- TODO project name --> |
---|
18 | <name>VLO Web Application</name> |
---|
19 | <description></description> |
---|
20 | |
---|
21 | <properties> |
---|
22 | <wicket.version>6.12.0</wicket.version> |
---|
23 | <spring.version>3.2.5.RELEASE</spring.version> |
---|
24 | <jetty.version>7.6.13.v20130916</jetty.version> |
---|
25 | </properties> |
---|
26 | <dependencies> |
---|
27 | <!-- Intra-project dependencies --> |
---|
28 | <dependency> |
---|
29 | <groupId>${project.groupId}</groupId> |
---|
30 | <artifactId>vlo-commons</artifactId> |
---|
31 | <version>3.0-SNAPSHOT</version> |
---|
32 | </dependency> |
---|
33 | |
---|
34 | <!-- WICKET DEPENDENCIES --> |
---|
35 | <dependency> |
---|
36 | <groupId>org.apache.wicket</groupId> |
---|
37 | <artifactId>wicket-extensions</artifactId> |
---|
38 | <version>${wicket.version}</version> |
---|
39 | </dependency> |
---|
40 | <!-- This gives us dependency injection and other Spring niceness --> |
---|
41 | <dependency> |
---|
42 | <groupId>org.apache.wicket</groupId> |
---|
43 | <artifactId>wicket-spring</artifactId> |
---|
44 | <version>${wicket.version}</version> |
---|
45 | </dependency> |
---|
46 | |
---|
47 | <!-- SPRING FRAMEWORK --> |
---|
48 | <dependency> |
---|
49 | <groupId>org.springframework</groupId> |
---|
50 | <artifactId>spring-context</artifactId> |
---|
51 | <version>${spring.version}</version> |
---|
52 | <type>jar</type> |
---|
53 | <exclusions> |
---|
54 | <!-- |
---|
55 | We want Spring to use SLF4J instead (using |
---|
56 | jcl-over-slf4j, see below) |
---|
57 | --> |
---|
58 | <exclusion> |
---|
59 | <groupId>commons-logging</groupId> <!-- aka JCL --> |
---|
60 | <artifactId>commons-logging</artifactId> |
---|
61 | </exclusion> |
---|
62 | </exclusions> |
---|
63 | </dependency> |
---|
64 | <dependency> |
---|
65 | <groupId>org.springframework</groupId> |
---|
66 | <artifactId>spring-web</artifactId> |
---|
67 | <version>${spring.version}</version> |
---|
68 | <type>jar</type> |
---|
69 | </dependency> |
---|
70 | |
---|
71 | <!-- LOGGING DEPENDENCIES - LOG4J --> |
---|
72 | <dependency> |
---|
73 | <groupId>org.slf4j</groupId> |
---|
74 | <artifactId>slf4j-log4j12</artifactId> |
---|
75 | <version>${slf4j.version}</version> |
---|
76 | </dependency> |
---|
77 | <!-- Make Spring log to SLF4J, too (drop-in replacement for JCL) --> |
---|
78 | <dependency> |
---|
79 | <groupId>org.slf4j</groupId> |
---|
80 | <artifactId>jcl-over-slf4j</artifactId> |
---|
81 | <version>${slf4j.version}</version> |
---|
82 | </dependency> |
---|
83 | |
---|
84 | <!-- JETTY DEPENDENCIES FOR TESTING --> |
---|
85 | <dependency> |
---|
86 | <groupId>org.eclipse.jetty.aggregate</groupId> |
---|
87 | <artifactId>jetty-all-server</artifactId> |
---|
88 | <version>${jetty.version}</version> |
---|
89 | <scope>provided</scope> |
---|
90 | </dependency> |
---|
91 | <dependency> |
---|
92 | <groupId>org.apache.solr</groupId> |
---|
93 | <artifactId>solr-solrj</artifactId> |
---|
94 | <version>${solr.version}</version> |
---|
95 | <type>jar</type> |
---|
96 | </dependency> |
---|
97 | </dependencies> |
---|
98 | |
---|
99 | <build> |
---|
100 | <resources> |
---|
101 | <resource> |
---|
102 | <filtering>false</filtering> |
---|
103 | <directory>src/main/resources</directory> |
---|
104 | </resource> |
---|
105 | <resource> |
---|
106 | <filtering>false</filtering> |
---|
107 | <directory>src/main/java</directory> |
---|
108 | <includes> |
---|
109 | <include>**</include> |
---|
110 | </includes> |
---|
111 | <excludes> |
---|
112 | <exclude>**/*.java</exclude> |
---|
113 | </excludes> |
---|
114 | </resource> |
---|
115 | </resources> |
---|
116 | <testResources> |
---|
117 | <testResource> |
---|
118 | <filtering>false</filtering> |
---|
119 | <directory>src/test/resources</directory> |
---|
120 | </testResource> |
---|
121 | <testResource> |
---|
122 | <filtering>false</filtering> |
---|
123 | <directory>src/test/java</directory> |
---|
124 | <includes> |
---|
125 | <include>**</include> |
---|
126 | </includes> |
---|
127 | <excludes> |
---|
128 | <exclude>**/*.java</exclude> |
---|
129 | </excludes> |
---|
130 | </testResource> |
---|
131 | </testResources> |
---|
132 | <plugins> |
---|
133 | <plugin> |
---|
134 | <inherited>true</inherited> |
---|
135 | <groupId>org.apache.maven.plugins</groupId> |
---|
136 | <artifactId>maven-compiler-plugin</artifactId> |
---|
137 | <version>2.5.1</version> |
---|
138 | <configuration> |
---|
139 | <source>1.6</source> |
---|
140 | <target>1.6</target> |
---|
141 | <encoding>UTF-8</encoding> |
---|
142 | <showWarnings>true</showWarnings> |
---|
143 | <showDeprecation>true</showDeprecation> |
---|
144 | </configuration> |
---|
145 | </plugin> |
---|
146 | <plugin> |
---|
147 | <groupId>org.mortbay.jetty</groupId> |
---|
148 | <artifactId>jetty-maven-plugin</artifactId> |
---|
149 | <version>${jetty.version}</version> |
---|
150 | <configuration> |
---|
151 | <connectors> |
---|
152 | <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> |
---|
153 | <port>8080</port> |
---|
154 | <maxIdleTime>3600000</maxIdleTime> |
---|
155 | </connector> |
---|
156 | <connector implementation="org.eclipse.jetty.server.ssl.SslSocketConnector"> |
---|
157 | <port>8443</port> |
---|
158 | <maxIdleTime>3600000</maxIdleTime> |
---|
159 | <keystore>${project.build.directory}/test-classes/keystore</keystore> |
---|
160 | <password>wicket</password> |
---|
161 | <keyPassword>wicket</keyPassword> |
---|
162 | </connector> |
---|
163 | </connectors> |
---|
164 | </configuration> |
---|
165 | </plugin> |
---|
166 | <plugin> |
---|
167 | <artifactId>maven-assembly-plugin</artifactId> |
---|
168 | <version>2.3</version> |
---|
169 | <configuration> |
---|
170 | <descriptors> |
---|
171 | <descriptor>src/main/assembly/buildwar.xml</descriptor> |
---|
172 | </descriptors> |
---|
173 | </configuration> |
---|
174 | <executions> |
---|
175 | <execution> |
---|
176 | <id>make-assemblyJ</id> |
---|
177 | <phase>package</phase> |
---|
178 | <goals> |
---|
179 | <goal>single</goal> |
---|
180 | </goals> |
---|
181 | </execution> |
---|
182 | </executions> |
---|
183 | </plugin> |
---|
184 | </plugins> |
---|
185 | </build> |
---|
186 | |
---|
187 | <repositories> |
---|
188 | <repository> |
---|
189 | <id>Apache Nexus</id> |
---|
190 | <url>https://repository.apache.org/content/repositories/snapshots/</url> |
---|
191 | <releases> |
---|
192 | <enabled>false</enabled> |
---|
193 | </releases> |
---|
194 | <snapshots> |
---|
195 | <enabled>true</enabled> |
---|
196 | </snapshots> |
---|
197 | </repository> |
---|
198 | </repositories> |
---|
199 | </project> |
---|