Project

General

Profile

« Previous | Next » 

Revision 27097

copy of dnet-functionality-services to start working on spring4

View differences:

modules/dnet-functionality-services/trunk/deploy.info
1
<module>
2
   <name>dnet-functinality-services</name>
3
   <source type="SVN">http://svn-public.driver.research-infrastructures.eu/driver/dnet11/modules/dnet-functionality-services/trunk</source>
4
   <goal>package -U source:jar</goal>
5
   <mail>antleb@di.uoa.gr, kiatrop@di.uoa.gr</mail>
6
   <sonar>no</sonar>
7
   <deploy>
8
       <RepositoryId>dnet-snapshot</RepositoryId>
9
       <RepositoryURL>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet-snapshots</RepositoryURL>
10
   </deploy>
11
   <nigthly>no</nigthly>
12
</module>
modules/dnet-functionality-services/trunk/src/main/webapp/search.jsp
1
<%@page import="java.util.List"%>
2
<%@page import="eu.dnetlib.domain.EPR"%>
3
<%@page import="gr.uoa.di.driver.enabling.resultset.ResultSet"%>
4
<%@page import="org.apache.commons.lang.StringEscapeUtils"%>
5

  
6
<jsp:useBean id="query" class="eu.dnetlib.data.search.web.Query" scope="request">
7
<jsp:setProperty name="query" property="*"/>
8
</jsp:useBean>
9

  
10
<%
11
if (query == null) {
12
%>
13
    <jsp:forward page="/"/>
14
<%
15
}
16
%>
17

  
18

  
19
<%@page import="eu.dnetlib.api.data.SearchService"%>
20
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
21
<%@page import="org.springframework.context.ApplicationContext"%>
22
<%@page import="eu.dnetlib.data.search.web.SearchServiceContextUtils"%>
23
<%@page import="gr.uoa.di.driver.enabling.resultset.ResultSetFactory"%>
24
<html>
25
	<head>
26
		<title>Index Lookup</title>
27
	</head>
28
	<body>
29
		<h1>Index Lookup</h1>
30
		Search for <b>
31
		<%
32
		if (query.getQuery() == null || query.getQuery().length() == 0 ) {
33
		%>
34
			(empty query)
35
		<%
36
		} else {
37
		%>
38
			<%=query.getQuery()%>
39
		<%
40
		}
41
		%>
42
		</b> in <a href="services/searchWebService">local search service</a>...<br>
43

  
44
<%
45
	long time = System.currentTimeMillis();
46
	SearchService searchService = SearchServiceContextUtils.getSearchService(request);
47
%>
48
	Created index endpoint in <%=System.currentTimeMillis()-time%> ms.<br>
49

  
50
<%
51
	time = System.currentTimeMillis();
52
	EPR epr = searchService.search(query.getQuery());
53
%>
54
	Index lookup lasted <%=System.currentTimeMillis()-time%> ms.<br>
55
	Returned EPR: <pre><%=StringEscapeUtils.escapeHtml(epr.toString())%></pre><br>
56
<%
57
	time = System.currentTimeMillis();
58
	ResultSet<String> rs = SearchServiceContextUtils.getResultSetFactory(request).createResultSet(epr);
59
	int count = rs.size();
60
%>
61
	Total documents in result set: <%=count%><br>
62
	Query Numof Documents lasted <%=System.currentTimeMillis()-time%> ms.<br>
63

  
64
<%
65
	time = System.currentTimeMillis();
66
	List<String> list = null;
67
	int MAX = 50;
68
	if (count > 0) {
69
		list = rs.getElements(1, Math.min(MAX, count));
70
	}
71
%>
72
	Retrieve top-<%=MAX%> docs lasted <%=System.currentTimeMillis()-time%> ms.<br>
73

  
74
	Top-<%=MAX%> results:
75
	<table>
76
		<tr><th>Count</th><th>Record</th></tr>
77
	<% for (int i = 0 ; i < MAX && i < count; i++ ) { %>
78
		<tr>
79
			<td><%=i+1%></td>
80
			<!--
81
			<td><pre><%=StringEscapeUtils.escapeHtml(list.get(i))%></pre></td>
82
			-->
83
			<td><pre><%=StringEscapeUtils.escapeHtml(
84
					SearchServiceContextUtils.prettyPrint(list.get(i)))%>
85
			</pre></td>
86
		</tr>
87
	<% } %>
88
	</table>
89
	
90
	</body>
91
</html>
92

  
modules/dnet-functionality-services/trunk/src/main/webapp/index.jsp
1
<html>
2
	<head>
3
		<title>XFire</title>
4
	</head>
5
	<body>
6
		<h1>Ubuntu Rockz!!!</h1>
7
		<p/>
8
		
9
		<H2>
10
		<a href="services/">Search Service</a>
11
		[<a href="services/searchWebService?wsdl">WSDL</a>]
12
		</H2>
13
	
14
		<p>
15
		<hr>
16
		<p>
17
		
18
		<H2>Index Lookup</H2>
19
		<form action="search.jsp" method="post">
20
			<table border="0" cellpadding="0" cellspacing="0">
21
				<tr><td>
22
					<center>
23
					<input type="text" name="query" size="40"/>
24
					</center>
25
				</td></tr>
26
				<tr><td>
27
					<center>
28
					<input type="submit" name="submit"/>
29
					<input type="reset" name="reset"/>
30
					</center>
31
				</td></tr>
32
			</table>
33
		</form>
34

  
35
		<p>
36
		<hr>
37
		<p>
38
		
39
		<H2>Index Refine</H2>
40
		<form action="refine.jsp" method="post">
41
			<table border="0" cellpadding="0" cellspacing="0">
42
				<tr><td>query</td><td>
43
					<input type="text" name="query" size="40"/>
44
				</td></tr>
45
				<tr><td>fields</td><td>
46
					<input type="text" name="fields" size="30"/><br>
47
					<small>(comma or white space separated)</small>
48
				</td></tr>
49
				<tr><td>
50
					<center>
51
					<input type="submit" name="submit"/>
52
					<input type="reset" name="reset"/>
53
					</center>
54
				</td></tr>
55
			</table>
56
		</form>
57
		
58
		<p>
59
		<hr>
60
		<p>
61
		
62
		<H2>Index Browse</H2>
63
		<form action="browse.jsp" method="post">
64
			<table border="0" cellpadding="0" cellspacing="0">
65
				<tr><td>prefix</td><td>
66
					<input type="text" name="query" size="30"/><br>
67
					<small>(prefix query)</small>
68
				</td></tr>
69
				<tr><td>fields</td><td>
70
					<input type="text" name="fields" size="30"/><br>
71
					<small>(only first is used)</small>
72
				</td></tr>
73
				<tr><td>
74
					<center>
75
					<input type="submit" name="submit"/>
76
					<input type="reset" name="reset"/>
77
					</center>
78
				</td></tr>
79
			</table>
80
		</form>
81
		
82
	</body>
83
</html>
modules/dnet-functionality-services/trunk/src/main/webapp/refine.jsp
1
<%@page import="java.util.List"%>
2
<%@page import="eu.dnetlib.domain.EPR"%>
3
<%@page import="gr.uoa.di.driver.enabling.resultset.ResultSet"%>
4
<%@page import="eu.dnetlib.api.data.SearchService"%>
5

  
6
<jsp:useBean id="query" class="eu.dnetlib.data.search.web.Query" scope="request">
7
<jsp:setProperty name="query" property="*"/>
8
</jsp:useBean>
9

  
10
<% if (query == null) { %>
11
    <jsp:forward page="/"/>
12
<% } %>
13

  
14

  
15
<%@page import="org.apache.commons.lang.StringEscapeUtils"%>
16
<%@page import="eu.dnetlib.data.search.web.SearchServiceContextUtils"%>
17
<%@page import="gr.uoa.di.driver.enabling.resultset.ResultSetFactory"%>
18
<html>
19
	<head>
20
		<title>Index Refine</title>
21
	</head>
22
	<body>
23
		<h1>Index Refine</h1>
24
		Refine for <b>
25
		<% if (query.getQuery() == null || query.getQuery().length() == 0 ) { %>
26
			(empty query)
27
		<% } else { %>
28
			<%=query.getQuery()%>
29
		<% } %>
30
		</b>
31
		<% List<String> fields = query.parseFields(); %>
32
		using <%=(fields==null)?0:fields.size()%>fields: <b><%=fields%></b>
33
		in <a href="services/searchWebService">local search service</a>...<br>
34
		
35
<%
36
	long time = System.currentTimeMillis();
37
	SearchService search = SearchServiceContextUtils.getSearchService(request);
38
%>
39
	Created index endpoint in <%=System.currentTimeMillis()-time%> ms.<br>
40

  
41
<%
42
	time = System.currentTimeMillis();
43
	EPR epr = search.refine(query.getQuery(), fields);
44
%>
45
	Index lookup lasted <%=System.currentTimeMillis()-time%> ms.<br>
46
	Returned EPR: <pre><%=StringEscapeUtils.escapeHtml(epr.toString())%></pre><br>
47
	
48
<%
49
	time = System.currentTimeMillis();
50
	ResultSet<String> rs = SearchServiceContextUtils.getResultSetFactory(request).createResultSet(epr);
51
	int count = rs.size();
52
%>
53
	Total records in result set: <%=count%><br>
54
	Query Numof records lasted <%=System.currentTimeMillis()-time%> ms.<br>
55

  
56
<%
57
	time = System.currentTimeMillis();
58
	List<String> list = null;
59
	int MAX = 50;
60
	if (count > 0) {
61
		list = rs.getElements(1, Math.min(MAX, count));
62
	}
63
%>
64
	Retrieve top-<%=MAX%> records lasted <%=System.currentTimeMillis()-time%> ms.<br>
65

  
66
	Top-<%=MAX%> results:
67
	<table>
68
		<tr><th>Count</th><th>Record</th></tr>
69
	<% for (int i = 0 ; i < MAX && i < count; i++ ) { %>
70
		<tr>
71
			<td><%=i+1%></td>
72
			<td><pre><%=StringEscapeUtils.escapeHtml(list.get(i))%></pre></td>
73
		</tr>
74
	<% } %>
75
	</table>
76
	
77
	</body>
78
</html>
79

  
modules/dnet-functionality-services/trunk/src/main/webapp/error.jsp
1
<%@ page contentType="text/html; charset=utf-8" %>
2

  
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml">
5

  
6

  
7
	<head>
8
	<title>Error Page</title>
9

  
10
		<%
11
		  Throwable exception = (Throwable)
12
		  		request.getAttribute("javax.servlet.error.exception");
13
		  String message = (String)
14
		  		request.getAttribute("javax.servlet.error.message");
15
		  Integer statusCode = (Integer)
16
		  		request.getAttribute("javax.servlet.error.status_code");
17
		%>
18
  		<b>Status Code : </b> <%=statusCode%> <br/>
19
  		<b>Message : </b> <%=message%> <br/>
20
  		
21
  		<% while (exception != null) { %>
22
			<!-- Caught Exception -->
23
	  		<b>Exception : <%=exception.getMessage() %></b> <br/>
24
	  		<%
25
	  			StackTraceElement[] trace = exception.getStackTrace();
26
				for (int i = 0; i < trace.length; i++) {
27
			%>
28
					<i>&nbsp;&nbsp; <%=trace[i]%></i><br/>	
29
	  		<%
30
				}
31
				exception = exception.getCause();
32
			}
33
  			%>
34
  		  		
35
</body>
36
</html>
modules/dnet-functionality-services/trunk/src/main/webapp/WEB-INF/cxf.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<beans xmlns="http://www.springframework.org/schema/beans"
3
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cxf="http://cxf.apache.org/core"
4
	xmlns:http="http://cxf.apache.org/transports/http/configuration"
5
	xmlns:wsa="http://cxf.apache.org/ws/addressing" xmlns:p="http://www.springframework.org/schema/p"
6
	xmlns:pol="http://cxf.apache.org/policy" xmlns:condbean="http://dnetlib.eu/springbeans/condbean"
7
	xsi:schemaLocation="
8
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
9
http://cxf.apache.org/ws/addressing http://cxf.apache.org/schemas/ws-addr-conf.xsd
10
http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
11
http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd
12
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
13
http://dnetlib.eu/springbeans/condbean http://dnetlib.eu/springbeans/condbean.xsd">
14

  
15

  
16

  
17
	<cxf:bus>
18
		<cxf:inInterceptors>
19
<!--			<bean id="logInbound" class="org.apache.cxf.interceptor.LoggingInInterceptor" />-->
20
<!--			<bean id="logOutbound" class="org.apache.cxf.interceptor.LoggingOutInterceptor" />-->
21
		</cxf:inInterceptors>
22
		<cxf:features>
23
<!--			<wsa:addressing />-->
24
<!--			<cxf:logging />-->
25
<!--			<pol:policies ignoreUnknownAssertions="true" />-->
26
		</cxf:features>
27
	</cxf:bus>
28

  
29

  
30
	<http:conduit name="*.http-conduit">
31
		<http:client AllowChunking="true" Connection="Keep-Alive" />
32
	</http:conduit>
33
</beans>
modules/dnet-functionality-services/trunk/src/main/webapp/WEB-INF/applicationContext.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2

  
3
<beans xmlns="http://www.springframework.org/schema/beans"
4
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
	xmlns:context="http://www.springframework.org/schema/context"
6
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
7
	http://www.springframework.org/schema/context
8
           http://www.springframework.org/schema/context/spring-context-2.5.xsd">
9

  
10
	<import resource="classpath:META-INF/cxf/cxf.xml" />
11
	<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
12
	<import resource="classpath:META-INF/cxf/cxf-extension-jaxws.xml" />
13
	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
14

  
15
	<import resource="classpath*:/gr/uoa/di/driver/app/springContext-commons.xml" />
16
	<import resource="classpath*:/gr/uoa/di/driver/util/springContext-locators.xml" />
17
	<import resource="classpath*:/gr/uoa/di/driver/app/springContext-registrator.xml" />
18
 	<import resource="classpath*:/eu/dnetlib/clients/ws/springContext-locatorFactory.xml" />
19
	<import resource="classpath*:/eu/dnetlib/soap/cxf/applicationContext-eprbuilders.xml"/>
20
	<import resource="classpath*:/gr/uoa/di/driver/app/springContext-lookupFactory.xml" />
21
	<import resource="classpath*:/gr/uoa/di/driver/app/springContext-lookupClients.xml" />
22
	<import resource="classpath*:/eu/dnetlib/enabling/hcm/springContext-hcmService.xml" />
23

  
24
    <import resource="classpath*:/eu/dnetlib/data/search/solr/springContext-searchService-solr.xml" />
25
	<import resource="classpath*:/eu/dnetlib/data/search/springContext-transformation.xml" />
26
	<import resource="classpath*:/eu/dnetlib/data/search/springContext-searchService.xml" />
27

  
28

  
29
	<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
30
		<property name="order" value="2" />
31
		<property name="ignoreUnresolvablePlaceholders" value="true" />
32
		<property name="properties">
33
                        <bean class="eu.dnetlib.conf.WebappContextProperyFactory">
34
                                <property name="propertyFetcher">
35
                                        <bean class="eu.dnetlib.conf.PropertyFetcher" />
36
                                </property>
37
                        </bean>
38
                </property>
39
		<property name="locations">
40
			<list>
41
				<value>classpath*:/eu/**/applicationContext*.properties</value>
42
				<value>classpath*:/eu/dnetlib/applicationContext-defaultProperties.properties</value>
43
				<value>classpath*:/gr/**/springContext-commons.properties</value>
44
				<value>classpath*:/gr/**/springContext-registrator.properties</value> 
45
				<value>classpath*:/gr/**/springContext-locators.properties</value>
46
				<value>classpath*:/gr/uoa/di/driver/app/springContext-lookupFactory.properties</value>
47
				<value>classpath*:/eu/dnetlib/enabling/hcm/springContext-hcmService.properties</value>
48

  
49
                <value>classpath*:/eu/**/springContext-searchService-solr.properties</value>
50
				<value>classpath*:/eu/**/springContext-searchService.properties</value>
51
				<value>classpath*:/eu/**/springContext-transformation.properties</value>
52

  
53
				<value>classpath*:/uoa-override.properties</value>
54
				<value>classpath*:/dnet-override.properties</value>
55
			</list>
56
		</property>
57
	</bean>
58

  
59
	<context:annotation-config />
60
	<import resource="./cxf.xml" />
61
</beans>
modules/dnet-functionality-services/trunk/src/main/webapp/WEB-INF/dispatcher-servlet.xml
1
<beans xmlns="http://www.springframework.org/schema/beans"
2
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
3
	xmlns:context="http://www.springframework.org/schema/context"
4
	xsi:schemaLocation="http://www.springframework.org/schema/beans 
5
	http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
6
	http://www.springframework.org/schema/context
7
	http://www.springframework.org/schema/context/spring-context-2.5.xsd">
8
	
9
	<import resource="classpath*:/eu/dnetlib/data/search/web/api/dispatcher-servlet.xml"/>
10
	
11
</beans>
modules/dnet-functionality-services/trunk/src/main/webapp/WEB-INF/log4j.properties
1
log4j.rootLogger = ERROR, stdout
2

  
3
log4j.logger.eu.dnetlib = INFO, stdout
4
log4j.logger.gr.uoa = INFO, stdout
5
log4j.logger.org.apache.cxf.interceptor = FATAL, stdout
6

  
7
log4j.additivity.eu.dnetlib = false
8
log4j.additivity.gr.uoa = false
9
log4j.additivity.org.springframework = false
10

  
11
log4j.logger.gr.uoa.di.driver.enabling.issn = WARN, stdout
12
log4j.logger.eu.dnetlib.utils.parser.Parser = WARN, stdout
13

  
14
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
15
log4j.appender.stdout.Target=System.out
16
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
17
log4j.appender.stdout.layout.ConversionPattern=%d %p %t [%c] - %m%n
modules/dnet-functionality-services/trunk/src/main/webapp/WEB-INF/web.xml
1
<!DOCTYPE web-app PUBLIC
2
 "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
3
 "http://java.sun.com/dtd/web-app_2_3.dtd" >
4
<web-app>
5
	<display-name>uoa-search</display-name>
6
	<context-param>
7
		<param-name>webAppRootKey</param-name>
8
		<param-value>uoa-search</param-value>
9
	</context-param>
10
	<context-param>
11
		<param-name>contextConfigLocation</param-name>
12
		<param-value>/WEB-INF/applicationContext.xml</param-value>
13
	</context-param>
14
	<context-param>
15
		<param-name>log4jConfigLocation</param-name>
16
		<param-value>/WEB-INF/log4j.properties</param-value>
17
	</context-param>
18

  
19
	<listener>
20
		<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
21
	</listener>
22
	<listener>
23
		<listener-class> org.springframework.web.context.ContextLoaderListener</listener-class>
24
	</listener>
25
	<servlet>
26
		<servlet-name>CXFServlet</servlet-name>
27
		<display-name>CXF Servlet</display-name>
28
		<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
29
		<load-on-startup>1</load-on-startup>
30
	</servlet>
31

  
32
	<servlet>
33
		<servlet-name>dispatcher</servlet-name>
34
		<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
35
		<load-on-startup>1</load-on-startup>
36
	</servlet>
37

  
38
	<servlet-mapping>
39
		<servlet-name>CXFServlet</servlet-name>
40
		<url-pattern>/services/*</url-pattern>
41
	</servlet-mapping>
42
	
43
	<servlet-mapping>
44
		<servlet-name>dispatcher</servlet-name>
45
		<url-pattern>/*</url-pattern>
46
	</servlet-mapping>
47
	
48
</web-app>
modules/dnet-functionality-services/trunk/src/main/webapp/browse.jsp
1
<%@page import="java.util.List"%>
2
<%@page import="eu.dnetlib.domain.EPR"%>
3
<%@page import="gr.uoa.di.driver.enabling.resultset.ResultSet"%>
4
<%@page import="eu.dnetlib.api.data.SearchService"%>
5

  
6
<jsp:useBean id="query" class="eu.dnetlib.data.search.web.Query" scope="request">
7
<jsp:setProperty name="query" property="*"/>
8
</jsp:useBean>
9

  
10
<% if (query == null) { %>
11
    <jsp:forward page="/"/>
12
<% } %>
13

  
14
<%@page import="org.apache.commons.lang.StringEscapeUtils"%>
15
<%@page import="eu.dnetlib.data.search.web.SearchServiceContextUtils"%>
16
<%@page import="eu.dnetlib.domain.data.BrowseData"%>
17
<%@page import="eu.dnetlib.api.data.BrowseDataNotAvailableException"%>
18
<html>
19
	<head>
20
		<title>Index Browse</title>
21
	</head>
22
	<body>
23
		<h1>Index Browse</h1>
24
		Browse for <b>
25
		<% if (query.getQuery() == null || query.getQuery().length() == 0 ) { %>
26
			(empty query)
27
		<% } else { %>
28
			<%=query.getQuery()%>
29
		<% } %>
30
		</b>
31
		<% List<String> fields = query.parseFields(); %>
32
		<% String field = (fields==null)?null:fields.get(0); %>
33
		<% if (field == null) { %>
34
		<b>using no field</b>
35
		<% } else { %>
36
		<b>using field: <%=field %></b>
37
		<% } %>
38
		in <a href="services/searchWebService">local search service</a>...<br>
39
		
40

  
41
<%
42
	long time = System.currentTimeMillis();
43
	SearchService search = SearchServiceContextUtils.getSearchService(request);
44
%>
45
	Created index endpoint in <%=System.currentTimeMillis()-time%> ms.<br>
46

  
47
<%
48
	time = System.currentTimeMillis();
49
	BrowseData data = null;
50
	try {
51
		data = search.browse(query.getQuery(), field);
52
	} catch (BrowseDataNotAvailableException bdna) {
53
		data = null;
54
	}
55
%>
56
	Index lookup lasted <%=System.currentTimeMillis()-time%> ms.<br>
57
	
58
	<% if (data == null) { %>
59
	<i>Browse results are currently being updated...</i>
60
	<% } else { %>
61
	Browse results:
62
	<table>
63
		<tr><th>Field</th><th>Value</th><th>Count</th></tr>
64
		<%
65
		for (String f : data.getFields()) {
66
			List<Integer> counts = data.getFieldCounts(f);
67
			List<String> values = data.getFieldValues(f);
68
			for (int i=0; i<counts.size(); i++) {
69
		%>
70
		<tr>
71
			<td><%=f%></td>
72
			<td><%=values.get(i)%></td>
73
			<td><%=counts.get(i)%></td>
74
		</tr>
75
		<% }} %>
76
	</table>
77
	<% } %>
78
	</body>
79
</html>
modules/dnet-functionality-services/trunk/pom.xml
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/maven-v4_0_0.xsd">
4
	<parent>
5
		<groupId>eu.dnetlib</groupId>
6
		<artifactId>dnet-container-parent</artifactId>
7
		<version>0.0.1-SNAPSHOT</version>
8
	</parent>
9
	<modelVersion>4.0.0</modelVersion>
10
	<groupId>eu.dnetlib</groupId>
11
	<artifactId>dnet-functionality-services</artifactId>
12
	<packaging>war</packaging>
13
	<version>0.0.1-SNAPSHOT</version>
14
	<build>
15
		<plugins>
16
			<plugin>
17
				<groupId>eu.dnetlib</groupId>
18
				<artifactId>dnet-jetty-maven-plugin</artifactId>
19
				<version>6.1.11-SNAPSHOT</version>
20
				<configuration>
21
					<contextPath>/app</contextPath>
22
					<connectors>
23
						<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
24
							<port>8080</port>
25
							<maxIdleTime>60000</maxIdleTime>
26
						</connector>
27
					</connectors>
28
				</configuration>
29
			</plugin>
30
		</plugins>
31
	</build>
32
	<dependencies>
33
		<dependency>
34
			<groupId>eu.dnetlib</groupId>
35
			<artifactId>uoa-search</artifactId>
36
			<version>[0.0.0-SNAPSHOT,)</version>
37
		</dependency>
38
		<dependency>
39
			<groupId>eu.dnetlib</groupId>
40
			<artifactId>uoa-clients</artifactId>
41
			<version>[0.0.0-SNAPSHOT,)</version>
42
			<exclusions>
43
				<exclusion>
44
					<groupId>cglib</groupId>
45
					<artifactId>cglib</artifactId>
46
				</exclusion>
47
			</exclusions>
48
		</dependency>
49
		<dependency>
50
			<groupId>eu.dnetlib</groupId>
51
			<artifactId>uoa-hcm</artifactId>
52
			<version>[0.0.0-SNAPSHOT,)</version>
53
		</dependency>
54
		<dependency>
55
			<groupId>cglib</groupId>
56
			<artifactId>cglib-nodep</artifactId>
57
			<version>2.2</version>
58
		</dependency>
59
	</dependencies>
60
</project>
0 61

  

Also available in: Unified diff