pom.xml 2.7 KB
Newer Older
T
trademak 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<name>Activiti - Rest</name>
	<groupId>org.activiti</groupId>
	<artifactId>activiti-webapp-rest2</artifactId>
	<packaging>war</packaging>

  <parent>
    <groupId>org.activiti</groupId>
    <artifactId>activiti-root</artifactId>
    <relativePath>../..</relativePath>
14
    <version>5.9-SNAPSHOT</version>
T
trademak 已提交
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
  </parent>

	<build>
		<plugins>
			<!-- A simple Jetty test server at http://localhost:8080/activiti-webapp-rest can be launched with the Maven goal jetty:run 
        and stopped with jetty:stop -->
      <plugin>
        <groupId>org.mortbay.jetty</groupId>
        <artifactId>maven-jetty-plugin</artifactId>
        <version>6.1.24</version>
        <configuration>
          
          <stopPort>9966</stopPort>
          <stopKey>activiti-webapp-rest</stopKey>
          <!-- Redeploy every x seconds if changes are detected, 0 for no automatic redeployment -->
          <scanIntervalSeconds>0</scanIntervalSeconds>
          <!-- make sure Jetty also finds the widgetset -->
          <webAppConfig>
            <contextPath>/activiti-rest</contextPath>
            <baseResource implementation="org.mortbay.resource.ResourceCollection">
              <resourcesAsCSV>src/main/webapp</resourcesAsCSV>
            </baseResource>
          </webAppConfig>
        </configuration>
      </plugin>
		</plugins>
	</build>

	<dependencies>

		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
		</dependency>

		<dependency>
			<groupId>org.activiti</groupId>
			<artifactId>activiti-engine</artifactId>
		</dependency>
    
    <dependency>
      <groupId>com.h2database</groupId>
      <artifactId>h2</artifactId>
    </dependency>
    
    <dependency>  
T
trademak 已提交
61 62
      <groupId>org.restlet.jee</groupId>  
      <artifactId>org.restlet</artifactId>   
T
trademak 已提交
63 64
    </dependency>  
    <dependency>  
T
trademak 已提交
65 66
      <groupId>org.restlet.jee</groupId>  
      <artifactId>org.restlet.ext.servlet</artifactId>   
T
trademak 已提交
67 68
    </dependency>
    <dependency>  
T
trademak 已提交
69 70
      <groupId>org.restlet.jee</groupId>  
      <artifactId>org.restlet.ext.jackson</artifactId>  
T
trademak 已提交
71 72
    </dependency>
    <dependency>  
T
trademak 已提交
73 74
      <groupId>org.restlet.jee</groupId>  
      <artifactId>org.restlet.ext.fileupload</artifactId>   
T
trademak 已提交
75 76 77 78 79 80 81 82 83 84 85 86 87
    </dependency>
    
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-fileupload</groupId>
      <artifactId>commons-fileupload</artifactId>
    </dependency>

  </dependencies>
</project>