awaitility
166 строк · 6.2 Кб
1<!--
2~ Copyright 2015 the original author or authors.
3~
4~ Licensed under the Apache License, Version 2.0 (the "License");
5~ you may not use this file except in compliance with the License.
6~ You may obtain a copy of the License at
7~
8~ http://www.apache.org/licenses/LICENSE-2.0
9~
10~ Unless required by applicable law or agreed to in writing, software
11~ distributed under the License is distributed on an "AS IS" BASIS,
12~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13~ See the License for the specific language governing permissions and
14~ limitations under the License.
15-->
16
17<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">18<modelVersion>4.0.0</modelVersion>19<parent>20<groupId>org.awaitility</groupId>21<artifactId>awaitility-parent</artifactId>22<version>4.2.2-SNAPSHOT</version>23</parent>24<artifactId>awaitility-groovy</artifactId>25<name>Awaitility support for Groovy</name>26<description>Simplifies Awaitility usage from Groovy</description>27
28<properties>29<groovy.version>4.0.19</groovy.version>30<spock.version>2.4-M2-groovy-4.0</spock.version>31<gmaven.version>1.7.1</gmaven.version>32</properties>33
34<dependencies>35<dependency>36<groupId>org.awaitility</groupId>37<artifactId>awaitility</artifactId>38<version>${project.version}</version>39</dependency>40<dependency>41<groupId>org.apache.groovy</groupId>42<artifactId>groovy</artifactId>43<version>${groovy.version}</version>44</dependency>45
46<!-- Test -->47<dependency>48<groupId>junit</groupId>49<artifactId>junit</artifactId>50<scope>test</scope>51</dependency>52<dependency>53<groupId>org.spockframework</groupId>54<artifactId>spock-core</artifactId>55<version>${spock.version}</version>56<scope>test</scope>57<!-- We're excluding all transitive groovy dependencies since they might be incompatible with the version we want to58use a specific Groovy version rather than the one specified by spock-core -->
59<exclusions>60<exclusion>61<groupId>org.apache.groovy</groupId>62<artifactId>groovy-json</artifactId>63</exclusion>64<exclusion>65<groupId>org.apache.groovy</groupId>66<artifactId>groovy-nio</artifactId>67</exclusion>68<exclusion>69<groupId>org.apache.groovy</groupId>70<artifactId>groovy-macro</artifactId>71</exclusion>72<exclusion>73<groupId>org.apache.groovy</groupId>74<artifactId>groovy-templates</artifactId>75</exclusion>76<exclusion>77<groupId>org.apache.groovy</groupId>78<artifactId>groovy-test</artifactId>79</exclusion>80<exclusion>81<groupId>org.apache.groovy</groupId>82<artifactId>groovy-sql</artifactId>83</exclusion>84<exclusion>85<groupId>org.apache.groovy</groupId>86<artifactId>groovy-xml</artifactId>87</exclusion>88</exclusions>89</dependency>90
91<!-- Re-add all spock transitive dependencies again -->92<dependency>93<groupId>org.apache.groovy</groupId>94<artifactId>groovy-json</artifactId>95<version>${groovy.version}</version>96<scope>test</scope>97</dependency>98<dependency>99<groupId>org.apache.groovy</groupId>100<artifactId>groovy-nio</artifactId>101<version>${groovy.version}</version>102<scope>test</scope>103</dependency>104<dependency>105<groupId>org.apache.groovy</groupId>106<artifactId>groovy-macro</artifactId>107<version>${groovy.version}</version>108<scope>test</scope>109</dependency>110<dependency>111<groupId>org.apache.groovy</groupId>112<artifactId>groovy-templates</artifactId>113<version>${groovy.version}</version>114<scope>test</scope>115</dependency>116<dependency>117<groupId>org.apache.groovy</groupId>118<artifactId>groovy-test</artifactId>119<version>${groovy.version}</version>120<scope>test</scope>121</dependency>122<dependency>123<groupId>org.apache.groovy</groupId>124<artifactId>groovy-sql</artifactId>125<version>${groovy.version}</version>126<scope>test</scope>127</dependency>128<dependency>129<groupId>org.apache.groovy</groupId>130<artifactId>groovy-xml</artifactId>131<version>${groovy.version}</version>132<scope>test</scope>133</dependency>134</dependencies>135<build>136<resources>137<resource>138<directory>src/main/resources</directory>139<filtering>true</filtering>140</resource>141</resources>142<plugins>143<plugin>144<groupId>org.apache.maven.plugins</groupId>145<artifactId>maven-surefire-plugin</artifactId>146<configuration>147<forkCount>1</forkCount>148<reuseForks>false</reuseForks>149</configuration>150</plugin>151<plugin>152<groupId>org.codehaus.gmavenplus</groupId>153<artifactId>gmavenplus-plugin</artifactId>154<version>${gmaven.version}</version>155<executions>156<execution>157<goals>158<goal>compile</goal>159<goal>compileTests</goal>160</goals>161</execution>162</executions>163</plugin>164</plugins>165</build>166</project>167