Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2c815f3

Browse files
author
emiguez
committed
doc: info on ES version mvn variable
1 parent 2aedfea commit 2c815f3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

‎README.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,14 @@ $ curl -v --user my_username:password no_local_host:9200/foo # returns 401
146146
Maven is configured to run the unit and integration tests. This plugin makes
147147
use of [ES Integration Tests](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/integration-tests.html)
148148

149-
`mvn test -Dtests.security.manager=false` test runs all tests
150-
`mvn integration-test -Dtests.security.manager=false` test runs integration tests only
149+
We can configure at the cli the version of ES we want to test against:
150+
151+
`mvn -Delasticsearch.version=1.5.2 -Dtests.security.manager=false test` runs all tests
152+
`mvn -Delasticsearch.version=1.5.2 -Dtests.security.manager=false integration` runs integration tests only
153+
154+
155+
### Packaging
156+
`mvn -Delasticsearch.version=1.5.2 -Dtests.security.manager=false package` packages the plugin in a `jar` file
151157

152158
## Issues
153159

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /