Project

General

Profile

Download (5.09 KB) Statistics
| Branch: | Tag: | Revision:
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
  <!-- 
5
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
6
   -->
7
	<parent>
8
		<groupId>eu.etaxonomy</groupId>
9
		<artifactId>cdmlib-parent</artifactId>
10
		<version>2.0</version>
11
	</parent>
12
	
13
  <modelVersion>4.0.0</modelVersion>
14
  <artifactId>cdmlib-remote</artifactId>
15
  <packaging>war</packaging>
16
  <name>CDM Community Server</name>
17
  <description>The EDIT CDM Community Server allows remote access to the common data model via webservices in the wider sense</description>
18
  <scm>
19
    <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/</connection>
20
  	<developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/</developerConnection>
21
  	<url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-remote/</url>
22
  </scm>
23

    
24
	<dependencies>
25
		<dependency>
26
			<groupId>eu.etaxonomy</groupId>
27
			<artifactId>cdmlib-ext</artifactId>
28
		</dependency>
29
		<dependency>
30
			<groupId>eu.etaxonomy</groupId>
31
			<artifactId>cdmlib-persistence</artifactId>
32
		</dependency>
33
		<dependency>
34
			<groupId>javax.servlet</groupId>
35
			<artifactId>servlet-api</artifactId>
36
			<scope>provided</scope>
37
		</dependency>
38
		<dependency>
39
			<groupId>org.springframework</groupId>
40
			<artifactId>spring-webmvc</artifactId>
41
		</dependency>
42
		<dependency>
43
			<groupId>org.springframework</groupId>
44
			<artifactId>spring-web</artifactId>
45
		</dependency>
46
		
47
		<!-- JsonView -->
48
    <dependency>
49
      <groupId>net.sf.json-lib</groupId>
50
      <artifactId>json-lib</artifactId>
51
      <version>2.2.2</version>
52
      <classifier>jdk15</classifier>   
53
    </dependency>
54

    
55

    
56
		<!-- XmlView -->
57
		<dependency>
58
			<groupId>xstream</groupId>
59
			<artifactId>xstream</artifactId>
60
		</dependency>
61
		<dependency>
62
			<groupId>xpp3</groupId>
63
			<artifactId>xpp3</artifactId>
64
		</dependency>
65

    
66
		<!-- JSP TAG LIBS -->
67
		<dependency>
68
			<groupId>taglibs</groupId>
69
			<artifactId>standard</artifactId>
70
			<version>1.1.2</version>
71
		</dependency>
72
		<dependency>
73
			<groupId>taglibs</groupId>
74
			<artifactId>x</artifactId>
75
			<version>1.1.2</version>
76
			<type>tld</type>
77
		</dependency>		
78
		
79
		<!--  SQL Profiling  -->
80
		<dependency>
81
    <groupId>p6spy</groupId>
82
    <artifactId>p6spy</artifactId>
83
    <version>1.3</version>
84
</dependency>
85
	</dependencies>
86

    
87
	<build>
88
<!--		<finalName>cdmserver</finalName>-->
89
<!--		<finalName>cdmserver-palmae</finalName>-->
90
<!--		<finalName>cdmserver-diptera</finalName>-->
91
		<finalName>cdmserver-cichorieae</finalName>
92
<!--		<finalName>cdmserver-elsalvador</finalName>-->
93
<!--		<finalName>cdmserver-erms</finalName>-->
94
		<plugins>
95
			<plugin><!--use mvn tomcat:deploy -->
96
				<groupId>org.codehaus.mojo</groupId>
97
				<artifactId>tomcat-maven-plugin</artifactId>
98
				<configuration>
99
					 					  
100
				<!--Uncomment tomcat to deploy to-->
101
					<!-- current production -->
102
					<update>true</update>
103
					<server>tomcat-edit</server>
104
					<url>http://search.biocase.org:8080/manager</url>
105
					
106
					<!-- remote testing-->
107
<!--					<update>true</update>
108
					<server>tomcat-cdm</server>
109
					<url>http://160.45.63.201:8080/manager</url>
110
	-->				
111
					
112
<!--				<server>tomcat-local</server>-->
113
				</configuration>
114
			</plugin>
115

    
116
			<plugin><!-- 
117
			  to run use:
118
			    mvn jetty:run
119
			   
120
			  for debugging: 
121
			    export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n"
122
          mvn jetty:run
123
         
124
        for faster startup offline mode & skip tests:
125
          mvn -o -Dmaven.test.skip=true jetty:run-war
126
        
127
        an eclipse plugin to start/restart/stop jetty6
128
          http://dbpowder.sourceforge.net/etc/jettylauncher6/updates/
129
          
130
        see also: 
131
          http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse
132
          http://mahertb.blogspot.com/2006/08/debugging-maven-web-application-with.html
133
			  -->
134
				<groupId>org.mortbay.jetty</groupId>
135
				<artifactId>maven-jetty-plugin</artifactId>
136
				<configuration>
137
					<!-- Configure the webapp -->
138
<!--					<contextPath>/cdmserver/</contextPath>-->
139
					<contextPath>/cdmserver-cichorieae/</contextPath>
140
<!--					<contextPath>/cdmserver-diptera/</contextPath>-->
141
<!--					<contextPath>/cdmserver-palmae/</contextPath>-->
142
<!--					<contextPath>/cdmserver-elsalvador/</contextPath>-->
143
<!--					<contextPath>/cdmserver-erms/</contextPath>-->
144
					<!-- configure the container                 -->
145
					<scanIntervalSeconds>0</scanIntervalSeconds>
146
					<connectors>
147
						<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
148
							<port>8080</port>
149
							<maxIdleTime>60000</maxIdleTime>
150
						</connector>
151
					</connectors>
152
					<requestLog implementation="org.mortbay.jetty.NCSARequestLog">
153
						<filename>target/request.log</filename>
154
						<retainDays>30</retainDays>
155
						<append>true</append>
156
						<extended>false</extended>
157
						<logTimeZone>GMT</logTimeZone>
158
					</requestLog>
159
				</configuration>
160
			</plugin>
161
		</plugins>
162
	</build>
163
	
164
</project>
165

    
(3-3/3)