Java 7 is now used.
[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.6</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
109
110         <!--  WICKET DEPENDENCIES -->
111         <dependency>
112             <groupId>org.apache.wicket</groupId>
113             <artifactId>wicket</artifactId>
114             <version>${wicket.version}</version>
115         </dependency>
116         <!--
117             OPTIONAL <dependency> <groupId>org.apache.wicket</groupId>
118             <artifactId>wicket-extensions</artifactId>
119             <version>${wicket.version}</version> </dependency>
120         -->
121
122         <!-- LOGGING DEPENDENCIES - LOG4J -->
123         <dependency>
124             <groupId>org.slf4j</groupId>
125             <artifactId>slf4j-log4j12</artifactId>
126             <version>1.4.2</version>
127         </dependency>
128         <dependency>
129             <groupId>log4j</groupId>
130             <artifactId>log4j</artifactId>
131             <version>1.2.14</version>
132         </dependency>
133
134         <!--  JUNIT DEPENDENCY FOR TESTING -->
135         <dependency>
136             <groupId>junit</groupId>
137             <artifactId>junit</artifactId>
138             <version>4.4</version>
139             <scope>test</scope>
140         </dependency>
141         <dependency>
142             <groupId>org.mockito</groupId>
143             <artifactId>mockito-all</artifactId>
144             <version>1.8.5</version>
145             <scope>test</scope>
146         </dependency>
147
148
149         <!--  JETTY DEPENDENCIES FOR TESTING  -->
150         <dependency>
151             <groupId>org.mortbay.jetty</groupId>
152             <artifactId>jetty</artifactId>
153             <version>${jetty.version}</version>
154             <scope>provided</scope>
155         </dependency>
156         <dependency>
157             <groupId>org.mortbay.jetty</groupId>
158             <artifactId>jetty-util</artifactId>
159             <version>${jetty.version}</version>
160             <scope>provided</scope>
161         </dependency>
162         <dependency>
163             <groupId>org.mortbay.jetty</groupId>
164             <artifactId>jetty-management</artifactId>
165             <version>${jetty.version}</version>
166             <scope>provided</scope>
167         </dependency>
168
169         <!--  JPA testing -->
170         <dependency>
171             <groupId>org.wamblee</groupId>
172             <artifactId>wamblee-test-enterprise</artifactId>
173             <version>${utils.version}</version>
174             <scope>test</scope>
175         </dependency>
176         <dependency>
177             <groupId>org.wamblee</groupId>
178             <artifactId>wamblee-test-eclipselink</artifactId>
179             <version>${utils.version}</version>
180             <scope>test</scope>
181         </dependency>
182         <dependency>
183             <groupId>org.eclipse.persistence</groupId>
184             <artifactId>javax.persistence</artifactId>
185             <version>2.0.0</version>
186             <scope>provided</scope>
187         </dependency>
188
189         <dependency>
190             <groupId>org.eclipse.persistence</groupId>
191             <artifactId>eclipselink</artifactId>
192             <version>2.0.2</version>
193             <scope>test</scope>
194         </dependency>
195
196         <dependency>
197             <groupId>javax</groupId>
198             <artifactId>javaee-api</artifactId>
199             <version>6.0</version>
200             <scope>provided</scope>
201         </dependency>
202
203
204     </dependencies>
205     <build>
206         <resources>
207             <resource>
208                 <filtering>false</filtering>
209                 <directory>src/main/resources</directory>
210             </resource>
211             <resource>
212                 <filtering>false</filtering>
213                 <directory>src/main/java</directory>
214                 <includes>
215                     <include>**</include>
216                 </includes>
217                 <excludes>
218                     <exclude>**/*.java</exclude>
219                 </excludes>
220             </resource>
221         </resources>
222         <testResources>
223             <testResource>
224                 <filtering>false</filtering>
225                 <directory>src/test/java</directory>
226                 <includes>
227                     <include>**</include>
228                 </includes>
229                 <excludes>
230                     <exclude>**/*.java</exclude>
231                 </excludes>
232             </testResource>
233         </testResources>
234         <plugins>
235             <plugin>
236                 <groupId>org.apache.maven.plugins</groupId>
237                 <artifactId>maven-war-plugin</artifactId>
238                 <version>2.0</version>
239                 <configuration></configuration>
240             </plugin>
241
242
243             <plugin>
244                 <artifactId>maven-dependency-plugin</artifactId>
245                 <executions>
246                     <execution>
247                         <id>copy-dependencies</id>
248                         <phase>package</phase>
249                         <goals>
250                             <goal>copy-dependencies</goal>
251                         </goals>
252                     </execution>
253                 </executions>
254             </plugin>
255
256             <plugin>
257                 <inherited>true</inherited>
258                 <groupId>org.apache.maven.plugins</groupId>
259                 <artifactId>maven-compiler-plugin</artifactId>
260                 <configuration>java
261                     <source>1.7</source>
262                     <target>1.7</target>
263                     <optimize>true</optimize>
264                     <debug>true</debug>
265                     <compilerArgument>-XDignore.symbol.file</compilerArgument>
266                 </configuration>
267             </plugin>
268             <plugin>
269                 <groupId>org.mortbay.jetty</groupId>
270                 <artifactId>maven-jetty-plugin</artifactId>
271             </plugin>
272
273         </plugins>
274     </build>
275
276
277     <repositories>
278         <repository>
279             <id>EclipseLink Repo</id>
280             <url>http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo</url>
281         </repository>
282     </repositories>
283
284     <profiles>
285         <profile>
286             <id>release</id>
287             <activation>
288                 <property>
289                     <name>performRelease</name>
290                     <value>true</value>
291                 </property>
292             </activation>
293
294             <build>
295                 <plugins>
296                     <plugin>
297                         <groupId>org.apache.maven.plugins</groupId>
298                         <artifactId>maven-release-plugin</artifactId>
299                         <version>2.0</version>
300                         <configuration>
301                             <autoVersionSubmodules>true</autoVersionSubmodules>
302                             <goals>javadoc:jar deploy</goals>
303                         </configuration>
304                     </plugin>
305                     <plugin>
306                         <groupId>org.apache.maven.plugins</groupId>
307                         <artifactId>maven-gpg-plugin</artifactId>
308                         <executions>
309                             <execution>
310                                 <id>sign-artifacts</id>
311                                 <phase>verify</phase>
312                                 <goals>
313                                     <goal>sign</goal>
314                                 </goals>
315                             </execution>
316                         </executions>
317                     </plugin>
318                 </plugins>
319             </build>
320         </profile>
321         <profile>
322             <id>ide</id>
323             <build>
324                 <directory>target-ide</directory>
325             </build>
326         </profile>
327     </profiles>
328
329     <distributionManagement>
330         <repository>
331             <id>sonatype-nexus-staging</id>
332             <name>Nexus Release Repository</name>
333             <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
334         </repository>
335     </distributionManagement>
336
337 </project>