Corrected page numbering.
[photos] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <groupId>org.wamblee.photos</groupId>
5     <artifactId>wamblee-photos</artifactId>
6     <packaging>war</packaging>
7     <version>0.1-SNAPSHOT</version>
8     <name>photos</name>
9     <description>
10         Photos application.
11     </description>
12
13     <properties>
14         <wicket.version>1.4.9</wicket.version>
15         <jetty.version>6.1.4</jetty.version>
16         <utils.version>0.8-SNAPSHOT</utils.version>
17     </properties>
18
19     <!--
20         TODO <organization> <name>company name</name> <url>company url</url>
21         </organization>
22     -->
23     <url>http://wamblee.org</url>
24     <licenses>
25         <license>
26             <name>The Apache Software License, Version 2.0</name>
27             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
28             <distribution>repo</distribution>
29         </license>
30     </licenses>
31     <scm>
32         <url>http://wamblee.org/gitweb/photos</url>
33         <connection>scm:git:https://wamblee.org/git/public/photos</connection>
34         <developerConnection>scm:git:https://wamblee.org/git/public/photos</developerConnection>
35     </scm>
36     <developers>
37         <developer>
38             <email>erik@wamblee.org</email>
39             <name>Erik Brakkee</name>
40             <url>http://brakkee.org</url>
41         </developer>
42     </developers>
43
44     <dependencies>
45
46         <dependency>
47             <groupId>javax.portlet</groupId>
48             <artifactId>portlet-api</artifactId>
49             <version>2.0</version>
50         </dependency>
51
52
53         <dependency>
54             <groupId>dom4j</groupId>
55             <artifactId>dom4j</artifactId>
56             <version>1.6</version>
57             <exclusions>
58                 <exclusion>
59                     <groupId>xml-apis</groupId>
60                     <artifactId>xml-apis</artifactId>
61                 </exclusion>
62             </exclusions>
63         </dependency>
64         <dependency>
65             <groupId>jaxen</groupId>
66             <artifactId>jaxen</artifactId>
67             <version>1.1-beta-9</version>
68             <exclusions>
69                 <exclusion>
70                     <groupId>xom</groupId>
71                     <artifactId>xom</artifactId>
72                 </exclusion>
73                 <exclusion>
74                     <groupId>xerces</groupId>
75                     <artifactId>xmlParserAPIs</artifactId>
76                 </exclusion>
77             </exclusions>
78         </dependency>
79
80
81         <dependency>
82             <groupId>org.wamblee</groupId>
83             <artifactId>wamblee-wicket-joe</artifactId>
84             <version>${utils.version}</version>
85         </dependency>
86         <dependency>
87             <groupId>org.wamblee</groupId>
88             <artifactId>wamblee-wicket-components</artifactId>
89             <version>${utils.version}</version>
90         </dependency>
91         <dependency>
92             <groupId>org.wamblee</groupId>
93             <artifactId>wamblee-support-cdi</artifactId>
94             <version>${utils.version}</version>
95         </dependency>
96         <dependency>
97             <groupId>org.wamblee</groupId>
98             <artifactId>wamblee-support-cdi</artifactId>
99             <type>test-jar</type>
100             <scope>test</scope>
101             <version>${utils.version}</version>
102         </dependency>
103         <dependency>
104             <groupId>org.wamblee</groupId>
105             <artifactId>wamblee-security-usermgt</artifactId>
106             <version>${utils.version}</version>
107         </dependency>
108         <dependency>
109             <groupId>org.wamblee</groupId>
110             <artifactId>wamblee-support-general</artifactId>
111             <version>${utils.version}</version>
112             <scope>test</scope>
113             <type>test-jar</type>
114         </dependency>
115
116
117         <!--  WICKET DEPENDENCIES -->
118         <dependency>
119             <groupId>org.apache.wicket</groupId>
120             <artifactId>wicket</artifactId>
121             <version>${wicket.version}</version>
122         </dependency>
123         <!--
124             OPTIONAL <dependency> <groupId>org.apache.wicket</groupId>
125             <artifactId>wicket-extensions</artifactId>
126             <version>${wicket.version}</version> </dependency>
127         -->
128
129         <!-- LOGGING DEPENDENCIES - LOG4J -->
130         <dependency>
131             <groupId>org.slf4j</groupId>
132             <artifactId>slf4j-log4j12</artifactId>
133             <version>1.4.2</version>
134         </dependency>
135         <dependency>
136             <groupId>log4j</groupId>
137             <artifactId>log4j</artifactId>
138             <version>1.2.14</version>
139         </dependency>
140
141         <!--  JUNIT DEPENDENCY FOR TESTING -->
142         <dependency>
143             <groupId>junit</groupId>
144             <artifactId>junit</artifactId>
145             <version>4.4</version>
146             <scope>test</scope>
147         </dependency>
148         <dependency>
149             <groupId>org.mockito</groupId>
150             <artifactId>mockito-all</artifactId>
151             <version>1.8.5</version>
152             <scope>test</scope>
153         </dependency>
154
155
156         <!--  JETTY DEPENDENCIES FOR TESTING  -->
157         <dependency>
158             <groupId>org.mortbay.jetty</groupId>
159             <artifactId>jetty</artifactId>
160             <version>${jetty.version}</version>
161             <scope>provided</scope>
162         </dependency>
163         <dependency>
164             <groupId>org.mortbay.jetty</groupId>
165             <artifactId>jetty-util</artifactId>
166             <version>${jetty.version}</version>
167             <scope>provided</scope>
168         </dependency>
169         <dependency>
170             <groupId>org.mortbay.jetty</groupId>
171             <artifactId>jetty-management</artifactId>
172             <version>${jetty.version}</version>
173             <scope>provided</scope>
174         </dependency>
175
176         <!--  JPA testing -->
177         <dependency>
178             <groupId>org.wamblee</groupId>
179             <artifactId>wamblee-test-enterprise</artifactId>
180             <version>${utils.version}</version>
181             <scope>test</scope>
182         </dependency>
183         <dependency>
184             <groupId>org.wamblee</groupId>
185             <artifactId>wamblee-test-eclipselink</artifactId>
186             <version>${utils.version}</version>
187             <scope>test</scope>
188         </dependency>
189         <dependency>
190             <groupId>org.eclipse.persistence</groupId>
191             <artifactId>javax.persistence</artifactId>
192             <version>2.0.0</version>
193             <scope>provided</scope>
194         </dependency>
195
196         <dependency>
197             <groupId>org.eclipse.persistence</groupId>
198             <artifactId>eclipselink</artifactId>
199             <version>2.0.2</version>
200             <scope>test</scope>
201         </dependency>
202
203         <dependency>
204             <groupId>javax</groupId>
205             <artifactId>javaee-api</artifactId>
206             <version>6.0</version>
207             <scope>provided</scope>
208         </dependency>
209
210
211     </dependencies>
212     <build>
213         <resources>
214             <resource>
215                 <filtering>false</filtering>
216                 <directory>src/main/resources</directory>
217             </resource>
218             <resource>
219                 <filtering>false</filtering>
220                 <directory>src/main/java</directory>
221                 <includes>
222                     <include>**</include>
223                 </includes>
224                 <excludes>
225                     <exclude>**/*.java</exclude>
226                 </excludes>
227             </resource>
228         </resources>
229         <testResources>
230             <testResource>
231                 <filtering>false</filtering>
232                 <directory>src/test/java</directory>
233                 <includes>
234                     <include>**</include>
235                 </includes>
236                 <excludes>
237                     <exclude>**/*.java</exclude>
238                 </excludes>
239             </testResource>
240         </testResources>
241         <plugins>
242             <plugin>
243                 <groupId>org.apache.maven.plugins</groupId>
244                 <artifactId>maven-war-plugin</artifactId>
245                 <version>2.0</version>
246                 <configuration></configuration>
247             </plugin>
248
249
250             <plugin>
251                 <artifactId>maven-dependency-plugin</artifactId>
252                 <executions>
253                     <execution>
254                         <id>copy-dependencies</id>
255                         <phase>package</phase>
256                         <goals>
257                             <goal>copy-dependencies</goal>
258                         </goals>
259                     </execution>
260                 </executions>
261             </plugin>
262
263             <plugin>
264                 <inherited>true</inherited>
265                 <groupId>org.apache.maven.plugins</groupId>
266                 <artifactId>maven-compiler-plugin</artifactId>
267                 <configuration>java
268                     <source>1.7</source>
269                     <target>1.7</target>
270                     <optimize>true</optimize>
271                     <debug>true</debug>
272                     <compilerArgument>-XDignore.symbol.file</compilerArgument>
273                 </configuration>
274             </plugin>
275             <plugin>
276                 <groupId>org.mortbay.jetty</groupId>
277                 <artifactId>maven-jetty-plugin</artifactId>
278             </plugin>
279
280         </plugins>
281     </build>
282
283
284     <repositories>
285         <repository>
286             <id>EclipseLink Repo</id>
287             <url>http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo</url>
288         </repository>
289     </repositories>
290
291     <profiles>
292         <profile>
293             <id>release</id>
294             <activation>
295                 <property>
296                     <name>performRelease</name>
297                     <value>true</value>
298                 </property>
299             </activation>
300
301             <build>
302                 <plugins>
303                     <plugin>
304                         <groupId>org.apache.maven.plugins</groupId>
305                         <artifactId>maven-release-plugin</artifactId>
306                         <version>2.0</version>
307                         <configuration>
308                             <autoVersionSubmodules>true</autoVersionSubmodules>
309                             <goals>javadoc:jar deploy</goals>
310                         </configuration>
311                     </plugin>
312                     <plugin>
313                         <groupId>org.apache.maven.plugins</groupId>
314                         <artifactId>maven-gpg-plugin</artifactId>
315                         <executions>
316                             <execution>
317                                 <id>sign-artifacts</id>
318                                 <phase>verify</phase>
319                                 <goals>
320                                     <goal>sign</goal>
321                                 </goals>
322                             </execution>
323                         </executions>
324                     </plugin>
325                 </plugins>
326             </build>
327         </profile>
328         <profile>
329             <id>ide</id>
330             <build>
331                 <directory>target-ide</directory>
332             </build>
333         </profile>
334     </profiles>
335
336     <distributionManagement>
337         <repository>
338             <id>sonatype-nexus-staging</id>
339             <name>Nexus Release Repository</name>
340             <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
341         </repository>
342     </distributionManagement>
343
344 </project>