pom.xml 4.2 KB
Newer Older
T
trademak 已提交
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
N
Nico Rehwaldt 已提交
2 3
         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>
T
trademak 已提交
4

N
Nico Rehwaldt 已提交
5 6 7
  <name>Activiti - Rest</name>
  <artifactId>activiti-webapp-rest2</artifactId>
  <packaging>war</packaging>
T
trademak 已提交
8 9 10 11 12

  <parent>
    <groupId>org.activiti</groupId>
    <artifactId>activiti-root</artifactId>
    <relativePath>../..</relativePath>
T
Tijs Rademakers 已提交
13
    <version>5.15</version>
T
trademak 已提交
14 15
  </parent>

N
Nico Rehwaldt 已提交
16 17
  <build>
    <plugins>
18 19 20 21 22 23 24 25 26 27 28 29 30
      <plugin>
        <groupId>org.zeroturnaround</groupId>
        <artifactId>jrebel-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>generate-rebel-xml</id>
            <phase>process-resources</phase>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
N
Nico Rehwaldt 已提交
31 32
      <!-- 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 -->
T
trademak 已提交
33 34 35 36 37
      <plugin>
        <groupId>org.mortbay.jetty</groupId>
        <artifactId>maven-jetty-plugin</artifactId>
        <version>6.1.24</version>
        <configuration>
38 39
          <connectors>
            <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
F
fheremans 已提交
40
              <port>8080</port>
41 42 43 44
              <maxIdleTime>60000</maxIdleTime>
            </connector>
          </connectors>
          <stopPort>9955</stopPort>
T
trademak 已提交
45 46 47 48 49 50 51 52 53 54 55 56
          <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>
N
Nico Rehwaldt 已提交
57
    </plugins>
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
    <pluginManagement>
      <plugins>
        <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
        <plugin>
          <groupId>org.eclipse.m2e</groupId>
          <artifactId>lifecycle-mapping</artifactId>
          <version>1.0.0</version>
          <configuration>
            <lifecycleMappingMetadata>
              <pluginExecutions>
                <pluginExecution>
                  <pluginExecutionFilter>
                    <groupId>
                      org.zeroturnaround
                    </groupId>
                    <artifactId>
                      jrebel-maven-plugin
                    </artifactId>
                    <versionRange>
                      [1.0.7,)
                    </versionRange>
                    <goals>
                      <goal>generate</goal>
                    </goals>
                  </pluginExecutionFilter>
                  <action>
                    <ignore></ignore>
                  </action>
                </pluginExecution>
              </pluginExecutions>
            </lifecycleMappingMetadata>
          </configuration>
        </plugin>
91 92 93 94 95 96 97 98 99 100 101
          <plugin>
            <groupId>org.apache.tomcat.maven</groupId>
            <artifactId>tomcat7-maven-plugin</artifactId>
            <version>2.1</version>
             <configuration>
                <url>http://localhost:8080/manager/text</url>
                <username>admin</username>
                <password>admin</password>
                <port>8080</port>
            </configuration>
        </plugin>
102 103
      </plugins>
    </pluginManagement>
N
Nico Rehwaldt 已提交
104
  </build>
T
trademak 已提交
105

N
Nico Rehwaldt 已提交
106 107 108 109 110
  <dependencies>
    <dependency>
      <groupId>org.activiti</groupId>
      <artifactId>activiti-engine</artifactId>
    </dependency>
111 112 113 114
    <dependency>
      <groupId>org.activiti</groupId>
      <artifactId>activiti-spring</artifactId>
    </dependency>
T
trademak 已提交
115
    <dependency>
116 117
      <groupId>org.activiti</groupId>
      <artifactId>activiti-rest</artifactId>
T
trademak 已提交
118
    </dependency>
119
    <dependency>
120 121
      <groupId>com.h2database</groupId>
      <artifactId>h2</artifactId>
122
    </dependency>
T
trademak 已提交
123 124
  </dependencies>
</project>