3
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
4
|
|
5 <modelVersion>4.0.0</modelVersion>
|
|
6
|
|
7 <groupId>org.docs.richfaces</groupId>
|
|
8 <artifactId>ismi-richfaces</artifactId>
|
|
9 <name>RichFaces 4 Application</name>
|
|
10 <version>1.0</version>
|
|
11 <packaging>war</packaging>
|
|
12
|
|
13 <url>http://jboss.org/richfaces</url>
|
|
14
|
|
15 <repositories>
|
|
16 <!-- You should seriously consider using a repository manager or declare
|
|
17 repositories in your settings.xml. See http://www.sonatype.com/people/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/ -->
|
|
18 <repository>
|
|
19 <id>jboss-public-repository-group</id>
|
|
20 <name>JBoss Public Maven Repository Group</name>
|
|
21 <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
|
|
22 <layout>default</layout>
|
|
23 <releases>
|
|
24 <enabled>true</enabled>
|
|
25 <updatePolicy>never</updatePolicy>
|
|
26 </releases>
|
|
27 <snapshots>
|
|
28 <enabled>true</enabled>
|
|
29 <updatePolicy>never</updatePolicy>
|
|
30 </snapshots>
|
|
31 </repository>
|
|
32 </repositories>
|
|
33 <pluginRepositories>
|
|
34 <pluginRepository>
|
|
35 <id>jboss-public-repository-group</id>
|
|
36 <name>JBoss Public Maven Repository Group</name>
|
|
37 <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
|
|
38 <layout>default</layout>
|
|
39 <releases>
|
|
40 <enabled>true</enabled>
|
|
41 <updatePolicy>never</updatePolicy>
|
|
42 </releases>
|
|
43 <snapshots>
|
|
44 <enabled>true</enabled>
|
|
45 <updatePolicy>never</updatePolicy>
|
|
46 </snapshots>
|
|
47 </pluginRepository>
|
|
48 </pluginRepositories>
|
|
49
|
|
50 <properties>
|
|
51 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
52 <maven.compiler.source>1.7</maven.compiler.source>
|
|
53 <maven.compiler.target>1.7</maven.compiler.target>
|
|
54 <!-- Setting this property using archetype-metadata.xml requiredPorperty
|
|
55 so that generated project uses correct version of richfaces. -->
|
|
56 <org.richfaces.bom.version>4.3.5.Final</org.richfaces.bom.version>
|
|
57 <cxf.version>2.5.11</cxf.version>
|
|
58 </properties>
|
|
59
|
|
60 <build>
|
|
61 <resources>
|
|
62 <resource>
|
|
63 <filtering>false</filtering>
|
|
64 <directory>src/main/resources</directory>
|
|
65 </resource>
|
|
66 <resource>
|
|
67 <filtering>false</filtering>
|
|
68 <directory>src/main/java</directory>
|
|
69 <includes>
|
|
70 <include>**</include>
|
|
71 </includes>
|
|
72 <excludes>
|
|
73 <exclude>**/*.java</exclude>
|
|
74 </excludes>
|
|
75 </resource>
|
|
76 </resources>
|
|
77
|
|
78 <plugins>
|
|
79 <plugin>
|
|
80 <artifactId>maven-compiler-plugin</artifactId>
|
53
|
81 <version>3.3</version>
|
3
|
82 <configuration>
|
53
|
83 <source>1.7</source>
|
|
84 <target>1.7</target>
|
3
|
85 </configuration>
|
|
86 </plugin>
|
|
87 <plugin>
|
|
88 <groupId>org.apache.tomcat.maven</groupId>
|
|
89 <artifactId>tomcat7-maven-plugin</artifactId>
|
26
|
90 <version>2.1</version>
|
3
|
91 </plugin>
|
|
92 </plugins>
|
|
93
|
|
94
|
|
95
|
|
96 <!-- <finalName>ismi-richfaces</finalName> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId>
|
|
97 <version>2.3.2</version> </plugin> <plugin> <artifactId>maven-war-plugin</artifactId>
|
|
98 <version>2.1.1</version> </plugin> <plugin> <groupId>org.apache.tomcat.maven</groupId>
|
|
99 <artifactId>tomcat7-maven-plugin</artifactId> <version>2.0</version> <configuration>
|
|
100 </configuration> </plugin> </plugins> -->
|
|
101 </build>
|
|
102
|
|
103 <dependencyManagement>
|
|
104 <dependencies>
|
|
105 <dependency>
|
|
106 <groupId>org.richfaces</groupId>
|
|
107 <artifactId>richfaces-bom</artifactId>
|
|
108 <version>${org.richfaces.bom.version}</version>
|
|
109 <scope>import</scope>
|
|
110 <type>pom</type>
|
|
111 </dependency>
|
|
112 </dependencies>
|
|
113 </dependencyManagement>
|
|
114
|
|
115 <dependencies>
|
|
116 <dependency>
|
|
117 <groupId>org.richfaces.ui</groupId>
|
|
118 <artifactId>richfaces-components-ui</artifactId>
|
|
119 </dependency>
|
|
120 <dependency>
|
|
121 <groupId>org.richfaces.core</groupId>
|
|
122 <artifactId>richfaces-core-impl</artifactId>
|
|
123 </dependency>
|
|
124 <!-- <dependency> <groupId>javax.faces</groupId> <artifactId>javax.faces-api</artifactId>
|
|
125 <scope>provided</scope> </dependency> -->
|
|
126 <dependency>
|
|
127 <groupId>org.glassfish</groupId>
|
|
128 <artifactId>javax.faces</artifactId>
|
|
129 <scope>compile</scope>
|
|
130 </dependency>
|
|
131
|
|
132 <dependency>
|
|
133 <groupId>javax.servlet</groupId>
|
|
134 <artifactId>javax.servlet-api</artifactId>
|
|
135 <scope>provided</scope>
|
|
136 </dependency>
|
|
137 <dependency>
|
|
138 <groupId>javax.servlet.jsp</groupId>
|
|
139 <artifactId>jsp-api</artifactId>
|
|
140 <scope>provided</scope>
|
|
141 </dependency>
|
|
142 <dependency>
|
|
143 <groupId>javax.el</groupId>
|
|
144 <artifactId>el-api</artifactId>
|
|
145 <scope>provided</scope>
|
|
146 </dependency>
|
|
147 <dependency>
|
|
148 <groupId>javax.servlet</groupId>
|
|
149 <artifactId>jstl</artifactId>
|
|
150 <version>1.2</version>
|
|
151 </dependency>
|
|
152
|
|
153
|
|
154 <!-- Optional -->
|
|
155 <!-- <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId>
|
|
156 <exclusions> <exclusion> <artifactId>servlet-api</artifactId> <groupId>javax.servlet</groupId>
|
|
157 </exclusion> </exclusions> </dependency> -->
|
|
158
|
|
159 <!-- **** ISMI **** -->
|
|
160 <dependency>
|
|
161 <groupId>de.mpiwg.openmind</groupId>
|
|
162 <artifactId>openmind</artifactId>
|
|
163 <version>1.0.0</version>
|
|
164 </dependency>
|
|
165
|
|
166 <dependency>
|
|
167 <groupId>log4j</groupId>
|
|
168 <artifactId>log4j</artifactId>
|
|
169 <version>1.2.17</version>
|
|
170 </dependency>
|
|
171 <dependency>
|
|
172 <groupId>jaxen</groupId>
|
|
173 <artifactId>jaxen</artifactId>
|
|
174 <version>1.1.4</version>
|
|
175 </dependency>
|
|
176 <dependency>
|
|
177 <groupId>commons-lang</groupId>
|
|
178 <artifactId>commons-lang</artifactId>
|
|
179 <version>2.6</version>
|
|
180 </dependency>
|
|
181 <dependency>
|
|
182 <groupId>org.apache.directory.studio</groupId>
|
|
183 <artifactId>org.apache.commons.io</artifactId>
|
|
184 <version>2.1</version>
|
|
185 </dependency>
|
|
186 <!-- to delete!! -->
|
|
187 <dependency>
|
|
188 <groupId>org.jdom</groupId>
|
|
189 <artifactId>jdom</artifactId>
|
|
190 <version>1.1.3</version>
|
|
191 </dependency>
|
|
192 <dependency>
|
|
193 <groupId>org.apache.httpcomponents</groupId>
|
|
194 <artifactId>httpclient</artifactId>
|
|
195 <version>4.2.5</version>
|
|
196 </dependency>
|
|
197 <dependency>
|
|
198 <groupId>joda-time</groupId>
|
|
199 <artifactId>joda-time</artifactId>
|
|
200 <version>2.2</version>
|
|
201 </dependency>
|
|
202 <dependency>
|
|
203 <groupId>org.json</groupId>
|
|
204 <artifactId>json</artifactId>
|
|
205 <version>20090211</version>
|
|
206 </dependency>
|
|
207 <!-- **** ISMI **** -->
|
|
208
|
|
209 <!-- RestFull Libraries -->
|
|
210
|
|
211
|
|
212 <!-- if your container implements Servlet API older than 3.0, use "jersey-container-servlet-core" -->
|
|
213 <!-- Required only when you are using JAX-RS Client -->
|
|
214 <!--
|
|
215 <dependency>
|
|
216 <groupId>org.glassfish.jersey.containers</groupId>
|
|
217
|
|
218 <artifactId>jersey-container-servlet</artifactId>
|
|
219 <version>2.5.1</version>
|
|
220 </dependency>
|
|
221
|
|
222 <dependency>
|
|
223 <groupId>org.glassfish.jersey.core</groupId>
|
|
224 <artifactId>jersey-client</artifactId>
|
|
225 <version>2.5.1</version>
|
|
226 </dependency>
|
|
227 -->
|
|
228
|
|
229
|
|
230 <dependency>
|
|
231 <groupId>com.sun.jersey</groupId>
|
|
232 <artifactId>jersey-server</artifactId>
|
|
233 <version>1.8</version>
|
|
234 </dependency>
|
|
235 <dependency>
|
|
236 <groupId>com.sun.jersey</groupId>
|
|
237 <artifactId>jersey-json</artifactId>
|
|
238 <version>1.8</version>
|
|
239 </dependency>
|
|
240
|
|
241 <dependency>
|
|
242 <groupId>com.sun.jersey</groupId>
|
|
243 <artifactId>jersey-client</artifactId>
|
|
244 <version>1.8</version>
|
|
245 </dependency>
|
|
246
|
|
247 <!-- sesame -->
|
26
|
248 <!--
|
3
|
249 <dependency>
|
|
250 <groupId>org.openrdf</groupId>
|
|
251 <artifactId>openrdf-repository-api</artifactId>
|
|
252 <version>2.0.1</version>
|
|
253 </dependency>
|
|
254 <dependency>
|
|
255 <groupId>org.openrdf</groupId>
|
|
256 <artifactId>openrdf-sail-api</artifactId>
|
|
257 <version>2.0.1</version>
|
|
258 </dependency>
|
|
259 <dependency>
|
|
260 <groupId>org.openrdf</groupId>
|
|
261 <artifactId>openrdf-repository-sail</artifactId>
|
|
262 <version>2.0.1</version>
|
|
263 </dependency>
|
|
264 <dependency>
|
|
265 <groupId>org.openrdf</groupId>
|
|
266 <artifactId>openrdf-sail-memory</artifactId>
|
|
267 <version>2.0.1</version>
|
|
268 </dependency>
|
26
|
269 -->
|
3
|
270
|
26
|
271
|
|
272 </dependencies>
|
3
|
273
|
|
274 <profiles>
|
|
275 <profile>
|
|
276 <id>jee6</id>
|
|
277 <build>
|
|
278 <plugins>
|
|
279 <plugin>
|
|
280 <artifactId>maven-war-plugin</artifactId>
|
|
281 <configuration>
|
|
282 <webappDirectory>${project.build.directory}/${project.build.finalName}-jee6</webappDirectory>
|
|
283 <classifier>jee6</classifier>
|
|
284 </configuration>
|
|
285 </plugin>
|
|
286 </plugins>
|
|
287 </build>
|
|
288
|
|
289 <dependencies>
|
|
290 <dependency>
|
|
291 <groupId>javax.faces</groupId>
|
|
292 <artifactId>javax.faces-api</artifactId>
|
|
293 <scope>provided</scope>
|
|
294 </dependency>
|
|
295 <dependency>
|
|
296 <groupId>org.glassfish</groupId>
|
|
297 <artifactId>javax.faces</artifactId>
|
|
298 <scope>provided</scope>
|
|
299 </dependency>
|
|
300 <dependency>
|
|
301 <groupId>javax.transaction</groupId>
|
|
302 <artifactId>jta</artifactId>
|
|
303 <version>1.1</version>
|
|
304 <scope>provided</scope>
|
|
305 </dependency>
|
|
306 </dependencies>
|
|
307 </profile>
|
|
308 <profile>
|
|
309 <id>release</id>
|
|
310 <build>
|
|
311 <plugins>
|
|
312 <plugin>
|
|
313 <artifactId>maven-war-plugin</artifactId>
|
|
314 <executions>
|
|
315 <execution>
|
|
316 <id>jee6</id>
|
|
317 <phase>package</phase>
|
|
318 <goals>
|
|
319 <goal>war</goal>
|
|
320 </goals>
|
|
321 <configuration>
|
|
322 <webappDirectory>${project.build.directory}/${project.build.finalName}-jee6</webappDirectory>
|
|
323 <classifier>jee6</classifier>
|
|
324 <packagingExcludes>WEB-INF/lib/javax.faces*</packagingExcludes>
|
|
325 <warSourceExcludes>WEB-INF/lib/javax.faces*</warSourceExcludes>
|
|
326 </configuration>
|
|
327 </execution>
|
|
328 </executions>
|
|
329 </plugin>
|
|
330 </plugins>
|
|
331 </build>
|
|
332 </profile>
|
|
333 </profiles>
|
|
334 </project>
|