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 | <jetty.version>7.6.13.v20130916</jetty.version> |
---|
24 | </properties> |
---|
25 | <dependencies> |
---|
26 | <!-- WICKET DEPENDENCIES --> |
---|
27 | <dependency> |
---|
28 | <groupId>org.apache.wicket</groupId> |
---|
29 | <artifactId>wicket-extensions</artifactId> |
---|
30 | <version>${wicket.version}</version> |
---|
31 | </dependency> |
---|
32 | |
---|
33 | <!-- LOGGING DEPENDENCIES - LOG4J --> |
---|
34 | <dependency> |
---|
35 | <groupId>org.slf4j</groupId> |
---|
36 | <artifactId>slf4j-log4j12</artifactId> |
---|
37 | <version>${slf4j.version}</version> |
---|
38 | </dependency> |
---|
39 | |
---|
40 | <!-- JETTY DEPENDENCIES FOR TESTING --> |
---|
41 | <dependency> |
---|
42 | <groupId>org.eclipse.jetty.aggregate</groupId> |
---|
43 | <artifactId>jetty-all-server</artifactId> |
---|
44 | <version>${jetty.version}</version> |
---|
45 | <scope>provided</scope> |
---|
46 | </dependency> |
---|
47 | <dependency> |
---|
48 | <groupId>org.apache.solr</groupId> |
---|
49 | <artifactId>solr-solrj</artifactId> |
---|
50 | <version>${solr.version}</version> |
---|
51 | <type>jar</type> |
---|
52 | </dependency> |
---|
53 | <dependency> |
---|
54 | <groupId>${project.groupId}</groupId> |
---|
55 | <artifactId>vlo-commons</artifactId> |
---|
56 | <version>3.0-SNAPSHOT</version> |
---|
57 | </dependency> |
---|
58 | </dependencies> |
---|
59 | <build> |
---|
60 | <resources> |
---|
61 | <resource> |
---|
62 | <filtering>false</filtering> |
---|
63 | <directory>src/main/resources</directory> |
---|
64 | </resource> |
---|
65 | <resource> |
---|
66 | <filtering>false</filtering> |
---|
67 | <directory>src/main/java</directory> |
---|
68 | <includes> |
---|
69 | <include>**</include> |
---|
70 | </includes> |
---|
71 | <excludes> |
---|
72 | <exclude>**/*.java</exclude> |
---|
73 | </excludes> |
---|
74 | </resource> |
---|
75 | </resources> |
---|
76 | <testResources> |
---|
77 | <testResource> |
---|
78 | <filtering>false</filtering> |
---|
79 | <directory>src/test/resources</directory> |
---|
80 | </testResource> |
---|
81 | <testResource> |
---|
82 | <filtering>false</filtering> |
---|
83 | <directory>src/test/java</directory> |
---|
84 | <includes> |
---|
85 | <include>**</include> |
---|
86 | </includes> |
---|
87 | <excludes> |
---|
88 | <exclude>**/*.java</exclude> |
---|
89 | </excludes> |
---|
90 | </testResource> |
---|
91 | </testResources> |
---|
92 | <plugins> |
---|
93 | <plugin> |
---|
94 | <inherited>true</inherited> |
---|
95 | <groupId>org.apache.maven.plugins</groupId> |
---|
96 | <artifactId>maven-compiler-plugin</artifactId> |
---|
97 | <version>2.5.1</version> |
---|
98 | <configuration> |
---|
99 | <source>1.6</source> |
---|
100 | <target>1.6</target> |
---|
101 | <encoding>UTF-8</encoding> |
---|
102 | <showWarnings>true</showWarnings> |
---|
103 | <showDeprecation>true</showDeprecation> |
---|
104 | </configuration> |
---|
105 | </plugin> |
---|
106 | <plugin> |
---|
107 | <groupId>org.mortbay.jetty</groupId> |
---|
108 | <artifactId>jetty-maven-plugin</artifactId> |
---|
109 | <version>${jetty.version}</version> |
---|
110 | <configuration> |
---|
111 | <connectors> |
---|
112 | <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> |
---|
113 | <port>8080</port> |
---|
114 | <maxIdleTime>3600000</maxIdleTime> |
---|
115 | </connector> |
---|
116 | <connector implementation="org.eclipse.jetty.server.ssl.SslSocketConnector"> |
---|
117 | <port>8443</port> |
---|
118 | <maxIdleTime>3600000</maxIdleTime> |
---|
119 | <keystore>${project.build.directory}/test-classes/keystore</keystore> |
---|
120 | <password>wicket</password> |
---|
121 | <keyPassword>wicket</keyPassword> |
---|
122 | </connector> |
---|
123 | </connectors> |
---|
124 | </configuration> |
---|
125 | </plugin> |
---|
126 | <plugin> |
---|
127 | <artifactId>maven-assembly-plugin</artifactId> |
---|
128 | <version>2.3</version> |
---|
129 | <configuration> |
---|
130 | <descriptors> |
---|
131 | <descriptor>src/main/assembly/buildwar.xml</descriptor> |
---|
132 | </descriptors> |
---|
133 | </configuration> |
---|
134 | <executions> |
---|
135 | <execution> |
---|
136 | <id>make-assemblyJ</id> |
---|
137 | <phase>package</phase> |
---|
138 | <goals> |
---|
139 | <goal>single</goal> |
---|
140 | </goals> |
---|
141 | </execution> |
---|
142 | </executions> |
---|
143 | </plugin> |
---|
144 | </plugins> |
---|
145 | </build> |
---|
146 | |
---|
147 | <repositories> |
---|
148 | <repository> |
---|
149 | <id>Apache Nexus</id> |
---|
150 | <url>https://repository.apache.org/content/repositories/snapshots/</url> |
---|
151 | <releases> |
---|
152 | <enabled>false</enabled> |
---|
153 | </releases> |
---|
154 | <snapshots> |
---|
155 | <enabled>true</enabled> |
---|
156 | </snapshots> |
---|
157 | </repository> |
---|
158 | </repositories> |
---|
159 | </project> |
---|