Add capability to read from entry's content
[smart-util.git] / smart-bean-spring-util / pom.xml
blobd9c3267ca1372facb2fe102c4f9095784b6b8d9e
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project>
3   <parent>
4     <artifactId>smart-util</artifactId>
5     <groupId>com.smartitengineering</groupId>
6     <version>0.2-SNAPSHOT</version>
7   </parent>
8   <modelVersion>4.0.0</modelVersion>
9   <groupId>com.smartitengineering.smart-util</groupId>
10   <artifactId>smart-bean-spring-util</artifactId>
11   <name>smart-bean-spring-util</name>
12   <dependencies>
13     <dependency>
14       <groupId>com.smartitengineering.smart-util</groupId>
15       <artifactId>smart-bean-util</artifactId>
16       <version>${project.version}</version>
17     </dependency>
18     <dependency>
19       <groupId>org.springframework</groupId>
20       <artifactId>spring-beans</artifactId>
21     </dependency>
22     <dependency>
23       <groupId>javax.servlet</groupId>
24       <artifactId>servlet-api</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>javax.servlet.jsp</groupId>
28       <artifactId>jsp-api</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.springframework</groupId>
32       <artifactId>spring-context</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>junit</groupId>
36       <artifactId>junit</artifactId>
37     </dependency>
38   </dependencies>
39   <build>
40     <plugins>
41       <plugin>
42         <groupId>org.apache.maven.plugins</groupId>
43         <artifactId>maven-antrun-plugin</artifactId>
44         <inherited>false</inherited>
45         <executions>
46           <execution>
47             <id>unify-classes</id>
48             <inherited>false</inherited>
49             <phase>package</phase>
50             <goals>
51               <goal>run</goal>
52             </goals>
53             <configuration>
54               <tasks>
55                 <copy todir="${project.build.directory}/all-classes" verbose="true">
56                   <fileset dir="${project.build.directory}/classes"/>
57                 </copy>
58                 <copy todir="${project.build.directory}/all-classes" verbose="true">
59                   <fileset dir="${project.build.directory}/test-classes"/>
60                 </copy>
61               </tasks>
62             </configuration>
63           </execution>
64         </executions>
65       </plugin>
66       <plugin>
67         <groupId>org.mortbay.jetty</groupId>
68         <artifactId>jetty-maven-plugin</artifactId>
69         <configuration>
70           <webAppConfig>
71             <descriptor>${basedir}/src/test/resources/web.xml</descriptor>
72           </webAppConfig>
73           <classesDirectory>${project.build.directory}/all-classes</classesDirectory>
74           <connectors>
75             <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
76               <port>${hub.server.port}</port>
77               <maxIdleTime>60000</maxIdleTime>
78             </connector>
79           </connectors>
80           <stopPort>${hub.server.stop.port}</stopPort>
81           <stopKey>${hub.server.stop.key}</stopKey>
82         </configuration>
83         <executions>
84           <execution>
85             <id>start-jetty</id>
86             <phase>pre-integration-test</phase>
87             <goals>
88               <goal>run</goal>
89             </goals>
90             <configuration>
91               <scanIntervalSeconds>0</scanIntervalSeconds>
92               <daemon>true</daemon>
93             </configuration>
94           </execution>
95           <execution>
96             <id>stop-jetty</id>
97             <phase>post-integration-test</phase>
98             <goals>
99               <goal>stop</goal>
100             </goals>
101           </execution>
102         </executions>
103       </plugin>
104     </plugins>
105   </build>
106   <properties>
107     <hub.server.port>9090</hub.server.port>
108     <hub.server.stop.port>9999</hub.server.stop.port>
109     <hub.server.stop.key>stop</hub.server.stop.key>
110   </properties>
111 </project>