|
3 | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <parent> |
| 8 | + <groupId>org.elasticsearch</groupId> |
| 9 | + <artifactId>elasticsearch-parent</artifactId> |
| 10 | + <version>2.0.0-SNAPSHOT</version> |
| 11 | + </parent> |
| 12 | + |
6 | 13 | <groupId>org.elasticsearch</groupId> |
7 | 14 | <artifactId>elasticsearch-lang-javascript</artifactId> |
8 | 15 | <version>3.0.0-SNAPSHOT</version> |
|
20 | 27 | </licenses> |
21 | 28 | <scm> |
22 | 29 | <connection>scm:git:git@github.com:elasticsearch/elasticsearch-lang-javascript.git</connection> |
23 | | - <developerConnection>scm:git:git@github.com:elasticsearch/elasticsearch-lang-javascript.git |
24 | | - </developerConnection> |
| 30 | + <developerConnection>scm:git:git@github.com:elasticsearch/elasticsearch-lang-javascript.git</developerConnection> |
25 | 31 | <url>http://github.com/elasticsearch/elasticsearch-lang-javascript</url> |
26 | 32 | </scm> |
27 | 33 |
|
28 | | - <parent> |
29 | | - <groupId>org.sonatype.oss</groupId> |
30 | | - <artifactId>oss-parent</artifactId> |
31 | | - <version>7</version> |
32 | | - </parent> |
33 | | - |
34 | 34 | <properties> |
35 | | - <elasticsearch.version>2.0.0-SNAPSHOT</elasticsearch.version> |
36 | | - <lucene.version>5.0.0</lucene.version> |
37 | | - <lucene.maven.version>5.0.0-snapshot-1642891</lucene.maven.version> |
38 | | - <tests.jvms>1</tests.jvms> |
39 | | - <tests.shuffle>true</tests.shuffle> |
40 | | - <tests.output>onerror</tests.output> |
41 | | - <tests.client.ratio></tests.client.ratio> |
42 | | - <es.logger.level>INFO</es.logger.level> |
| 35 | + <!-- You can add any specific project property here --> |
43 | 36 | </properties> |
44 | 37 |
|
45 | | - <repositories> |
46 | | - <repository> |
47 | | - <id>Lucene snapshots</id> |
48 | | - <url>https://download.elasticsearch.org/lucenesnapshots/1642891/</url> |
49 | | - </repository> |
50 | | - <repository> |
51 | | - <id>sonatype</id> |
52 | | - <url>http://oss.sonatype.org/content/repositories/releases/</url> |
53 | | - </repository> |
54 | | - </repositories> |
55 | | - |
56 | 38 | <dependencies> |
| 39 | + <dependency> |
| 40 | + <groupId>org.hamcrest</groupId> |
| 41 | + <artifactId>hamcrest-all</artifactId> |
| 42 | + </dependency> |
| 43 | + <dependency> |
| 44 | + <groupId>com.carrotsearch.randomizedtesting</groupId> |
| 45 | + <artifactId>randomizedtesting-runner</artifactId> |
| 46 | + </dependency> |
57 | 47 | <dependency> |
58 | 48 | <groupId>org.apache.lucene</groupId> |
59 | 49 | <artifactId>lucene-test-framework</artifactId> |
60 | | - <version>${lucene.maven.version}</version> |
61 | | - <scope>test</scope> |
62 | 50 | </dependency> |
63 | | - |
64 | 51 | <dependency> |
65 | 52 | <groupId>org.elasticsearch</groupId> |
66 | 53 | <artifactId>elasticsearch</artifactId> |
67 | | - <version>${elasticsearch.version}</version> |
68 | 54 | </dependency> |
69 | 55 |
|
70 | 56 | <dependency> |
|
78 | 64 | <dependency> |
79 | 65 | <groupId>log4j</groupId> |
80 | 66 | <artifactId>log4j</artifactId> |
81 | | - <version>1.2.16</version> |
82 | | - <scope>runtime</scope> |
83 | 67 | <optional>true</optional> |
84 | 68 | </dependency> |
85 | 69 |
|
86 | 70 | <dependency> |
87 | 71 | <groupId>org.elasticsearch</groupId> |
88 | 72 | <artifactId>elasticsearch</artifactId> |
89 | | - <version>${elasticsearch.version}</version> |
90 | 73 | <type>test-jar</type> |
91 | | - <scope>test</scope> |
92 | | - </dependency> |
93 | | - |
94 | | - <dependency> |
95 | | - <groupId>org.hamcrest</groupId> |
96 | | - <artifactId>hamcrest-core</artifactId> |
97 | | - <version>1.3.RC2</version> |
98 | | - <scope>test</scope> |
99 | | - </dependency> |
100 | | - |
101 | | - <dependency> |
102 | | - <groupId>org.hamcrest</groupId> |
103 | | - <artifactId>hamcrest-library</artifactId> |
104 | | - <version>1.3.RC2</version> |
105 | | - <scope>test</scope> |
106 | | - </dependency> |
107 | | - <dependency> |
108 | | - <groupId>com.carrotsearch.randomizedtesting</groupId> |
109 | | - <artifactId>randomizedtesting-runner</artifactId> |
110 | | - <version>2.1.10</version> |
111 | | - <scope>test</scope> |
112 | 74 | </dependency> |
113 | 75 | </dependencies> |
114 | 76 |
|
|
126 | 88 | <plugin> |
127 | 89 | <groupId>org.apache.maven.plugins</groupId> |
128 | 90 | <artifactId>maven-compiler-plugin</artifactId> |
129 | | - <version>2.3.2</version> |
130 | | - <configuration> |
131 | | - <source>1.7</source> |
132 | | - <target>1.7</target> |
133 | | - </configuration> |
134 | 91 | </plugin> |
135 | 92 | <plugin> |
136 | 93 | <groupId>com.carrotsearch.randomizedtesting</groupId> |
137 | 94 | <artifactId>junit4-maven-plugin</artifactId> |
138 | | - <version>2.0.12</version> |
139 | | - <executions> |
140 | | - <execution> |
141 | | - <id>tests</id> |
142 | | - <phase>test</phase> |
143 | | - <goals> |
144 | | - <goal>junit4</goal> |
145 | | - </goals> |
146 | | - <configuration> |
147 | | - <heartbeat>20</heartbeat> |
148 | | - <jvmOutputAction>pipe,warn</jvmOutputAction> |
149 | | - <leaveTemporary>true</leaveTemporary> |
150 | | - <listeners> |
151 | | - <report-ant-xml mavenExtensions="true" |
152 | | - dir="${project.build.directory}/surefire-reports"/> |
153 | | - <report-text |
154 | | - showThrowable="true" |
155 | | - showStackTraces="true" |
156 | | - showOutput="${tests.output}" |
157 | | - showStatusOk="false" |
158 | | - showStatusError="true" |
159 | | - showStatusFailure="true" |
160 | | - showStatusIgnored="true" |
161 | | - showSuiteSummary="true" |
162 | | - timestamps="false"/> |
163 | | - <report-execution-times file="${basedir}/.local-execution-hints.log"/> |
164 | | - </listeners> |
165 | | - <assertions> |
166 | | - <enable/> |
167 | | - </assertions> |
168 | | - <parallelism>${tests.jvms}</parallelism> |
169 | | - <balancers> |
170 | | - <execution-times> |
171 | | - <fileset dir="${basedir}" includes=".local-execution-hints.log"/> |
172 | | - </execution-times> |
173 | | - </balancers> |
174 | | - <includes> |
175 | | - <include>**/*Tests.class</include> |
176 | | - <include>**/*Test.class</include> |
177 | | - </includes> |
178 | | - <excludes> |
179 | | - <exclude>**/Abstract*.class</exclude> |
180 | | - <exclude>**/*StressTest.class</exclude> |
181 | | - </excludes> |
182 | | - <jvmArgs> |
183 | | - <param>-Xmx512m</param> |
184 | | - <param>-XX:MaxDirectMemorySize=512m</param> |
185 | | - <param>-Des.logger.prefix=</param> |
186 | | - </jvmArgs> |
187 | | - <shuffleOnSlave>${tests.shuffle}</shuffleOnSlave> |
188 | | - <sysouts>${tests.verbose}</sysouts> |
189 | | - <seed>${tests.seed}</seed> |
190 | | - <haltOnFailure>${tests.failfast}</haltOnFailure> |
191 | | - <systemProperties> |
192 | | - <!-- RandomizedTesting library system properties --> |
193 | | - <tests.iters>${tests.iters}</tests.iters> |
194 | | - <tests.maxfailures>${tests.maxfailures}</tests.maxfailures> |
195 | | - <tests.failfast>${tests.failfast}</tests.failfast> |
196 | | - <tests.class>${tests.class}</tests.class> |
197 | | - <tests.method>${tests.method}</tests.method> |
198 | | - <tests.nightly>${tests.nightly}</tests.nightly> |
199 | | - <tests.badapples>${tests.badapples}</tests.badapples> |
200 | | - <tests.weekly>${tests.weekly}</tests.weekly> |
201 | | - <tests.slow>${tests.slow}</tests.slow> |
202 | | - <tests.awaitsfix>${tests.awaitsfix}</tests.awaitsfix> |
203 | | - <tests.slow>${tests.slow}</tests.slow> |
204 | | - <tests.timeoutSuite>${tests.timeoutSuite}</tests.timeoutSuite> |
205 | | - <tests.showSuccess>${tests.showSuccess}</tests.showSuccess> |
206 | | - <tests.integration>${tests.integration}</tests.integration> |
207 | | - <tests.cluster_seed>${tests.cluster_seed}</tests.cluster_seed> |
208 | | - <tests.client.ratio>${tests.client.ratio}</tests.client.ratio> |
209 | | - <es.node.local>${env.ES_TEST_LOCAL}</es.node.local> |
210 | | - <es.node.mode>${es.node.mode}</es.node.mode> |
211 | | - <es.logger.level>${es.logger.level}</es.logger.level> |
212 | | - <java.awt.headless>true</java.awt.headless> |
213 | | - </systemProperties> |
214 | | - </configuration> |
215 | | - </execution> |
216 | | - </executions> |
217 | 95 | </plugin> |
218 | 96 | <plugin> |
219 | 97 | <!-- we skip surefire to work with randomized testing above --> |
220 | 98 | <groupId>org.apache.maven.plugins</groupId> |
221 | 99 | <artifactId>maven-surefire-plugin</artifactId> |
222 | | - <version>2.15</version> |
223 | | - <configuration> |
224 | | - <skipTests>true</skipTests> |
225 | | - </configuration> |
226 | 100 | </plugin> |
227 | 101 | <plugin> |
228 | 102 | <groupId>org.apache.maven.plugins</groupId> |
229 | 103 | <artifactId>maven-source-plugin</artifactId> |
230 | | - <version>2.1.2</version> |
231 | | - <executions> |
232 | | - <execution> |
233 | | - <id>attach-sources</id> |
234 | | - <goals> |
235 | | - <goal>jar</goal> |
236 | | - </goals> |
237 | | - </execution> |
238 | | - </executions> |
239 | 104 | </plugin> |
240 | 105 | <plugin> |
| 106 | + <groupId>org.apache.maven.plugins</groupId> |
241 | 107 | <artifactId>maven-assembly-plugin</artifactId> |
242 | | - <version>2.3</version> |
243 | 108 | <configuration> |
244 | 109 | <appendAssemblyId>false</appendAssemblyId> |
245 | 110 | <outputDirectory>${project.build.directory}/releases/</outputDirectory> |
|
0 commit comments