pom.xml 5.14 KB
Newer Older
1 2 3
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright 2007-2015 Hippo B.V. (http://www.onehippo.com)
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
 
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
 
       http://www.apache.org/licenses/LICENSE-2.0
 
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
--><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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.onehippo.cms7</groupId>
    <artifactId>hippo-repository</artifactId>
22
    <version>4.2.13-SNAPSHOT</version>
23 24 25 26 27 28 29 30 31 32 33 34 35 36
  </parent>

  <name>Repository workflow implementations</name>
  <description>Hippo Repository workflow implementations</description>
  <artifactId>hippo-repository-workflow</artifactId>
  <packaging>jar</packaging>

  <dependencies>
    <dependency>
      <groupId>org.onehippo.cms7</groupId>
      <artifactId>hippo-repository-api</artifactId>
      <version>${project.version}</version>
      <scope>provided</scope>
    </dependency>
37 38 39 40 41 42
    <dependency>
      <groupId>org.onehippo.cms7</groupId>
      <artifactId>hippo-services</artifactId>
      <version>${hippo.services.version}</version>
      <scope>provided</scope>
    </dependency>
43 44 45 46 47 48
    <dependency>
      <groupId>org.onehippo.cms7</groupId>
      <artifactId>hippo-repository-builtin</artifactId>
      <version>${project.version}</version>
      <scope>provided</scope>
    </dependency>
49 50 51 52 53
    <dependency>
      <groupId>org.onehippo.cms7</groupId>
      <artifactId>hippo-repository-utilities</artifactId>
      <version>${project.version}</version>
    </dependency>
54
    <dependency>
55 56 57
      <groupId>org.onehippo.cms7</groupId>
      <artifactId>hippo-repository-engine</artifactId>
      <version>${project.version}</version>
58 59 60 61 62 63 64 65
    </dependency>

    <dependency>
      <groupId>org.onehippo.cms7</groupId>
      <artifactId>hippo-cms7-commons</artifactId>
      <version>${hippo.commons.version}</version>
      <scope>test</scope>
    </dependency>
66 67

    <!-- SCXML -->
68
    <dependency>
69 70 71 72 73 74 75 76 77 78 79 80
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-scxml2</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>${commons-io.version}</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>jcl-over-slf4j</artifactId>
      <scope>provided</scope>
81 82 83
    </dependency>

    <!-- test -->
84 85 86 87 88 89
    <dependency>
      <groupId>org.onehippo.cms7</groupId>
      <artifactId>hippo-repository-testutils</artifactId>
      <version>${project.version}</version>
      <scope>test</scope>
    </dependency>
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
    <dependency>
      <groupId>org.onehippo.cms7</groupId>
      <artifactId>hippo-repository-modules</artifactId>
      <version>${project.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.onehippo.cms7</groupId>
      <artifactId>hippo-repository-config</artifactId>
      <version>${project.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
105 106 107 108 109
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.easymock</groupId>
      <artifactId>easymock</artifactId>
110 111 112
      <scope>test</scope>
    </dependency>

113 114 115
  </dependencies>

  <build>
116 117 118 119 120 121
    <defaultGoal>install</defaultGoal>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
122 123
          <!-- Tests don't play well with repository that isn't cleaned up by a full JVM restart -->
          <reuseForks>false</reuseForks>
124 125 126 127
          <workingDirectory>${project.build.directory}</workingDirectory>
        </configuration>
      </plugin>
    </plugins>
128 129
  </build>

130 131 132 133 134 135 136 137 138 139 140 141
  <profiles>
    <profile>
      <id>integration</id>
      <activation>
        <property>
          <name>integration</name>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
142
            <artifactId>maven-failsafe-plugin</artifactId>
143 144 145 146 147
            <executions>
              <execution>
                <id>integration-test</id>
                <phase>integration-test</phase>
                <goals>
148 149
                  <goal>integration-test</goal>
                  <goal>verify</goal>
150 151 152 153 154 155 156 157 158 159 160 161 162 163
                </goals>
                <configuration>
                  <includes>
                    <include>**/TranslationWorkflowTest.java</include>
                  </includes>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

164
</project>