# Maven Build Surefire Version

**URL:** <https://discuss.elastic.co/t/maven-build-surefire-version/8919>\
**Category:** Elasticsearch\
**Created:** [September 3, 2012, 4:53pm UTC](https://discuss.elastic.co/t/maven-build-surefire-version/8919 "2012-09-03T16:53:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![davrob](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@davrob](https://discuss.elastic.co/u/davrob)\
**Post date:** [September 3, 2012, 4:53pm UTC](https://discuss.elastic.co/t/maven-build-surefire-version/8919/1 "2012-09-03T16:53:13Z")

</div>

Hi Shay,

Single tests cannot be run with Surefire 2.12, this was fixed in 2.12.1 -  
see here [http://jira.codehaus.org/browse/SUREFIRE-827](http://jira.codehaus.org/browse/SUREFIRE-827) might be a good idea  
to change the plugin version of surefire, if not done already.

--

---

<div class="post-metadata">

**Author:** ![davrob](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@davrob](https://discuss.elastic.co/u/davrob)\
**Post date:** [September 3, 2012, 4:59pm UTC](https://discuss.elastic.co/t/maven-build-surefire-version/8919/2 "2012-09-03T16:59:15Z")

</div>

Actually, going to 2.12.1 has its own issues with "surefire-booter" - but  
going back to 2.11 allowed me to run single tests at a time with:

mvn -Dtest=org.elasticsearch.test.integration.search.fields.  
SearchFieldsTests test

On Monday, September 3, 2012 5:53:13 PM UTC+1, davrob2 wrote:

> Hi Shay,
> 
> Single tests cannot be run with Surefire 2.12, this was fixed in 2.12.1 -  
> see here [http://jira.codehaus.org/browse/SUREFIRE-827](http://jira.codehaus.org/browse/SUREFIRE-827) might be a good  
> idea to change the plugin version of surefire, if not done already.

--

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [September 3, 2012, 6:49pm UTC](https://discuss.elastic.co/t/maven-build-surefire-version/8919/3 "2012-09-03T18:49:54Z")

</div>

Updated to 2.12.3, should be fixed I think.

On Sep 3, 2012, at 6:59 PM, davrob2 [daviroberts@gmail.com](mailto:daviroberts@gmail.com) wrote:

> Actually, going to 2.12.1 has its own issues with "surefire-booter" - but going back to 2.11 allowed me to run single tests at a time with:
> 
> mvn -Dtest=org.elasticsearch.test.integration.search.fields.SearchFieldsTests test
> 
> On Monday, September 3, 2012 5:53:13 PM UTC+1, davrob2 wrote:  
> Hi Shay,
> 
> Single tests cannot be run with Surefire 2.12, this was fixed in 2.12.1 - see here [http://jira.codehaus.org/browse/SUREFIRE-827](http://jira.codehaus.org/browse/SUREFIRE-827) might be a good idea to change the plugin version of surefire, if not done already.
> 
> --

--

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:14am UTC](https://discuss.elastic.co/t/maven-build-surefire-version/8919/4 "2017-07-06T03:14:13Z")

</div>

Closed on July 6, 2017, 3:14am UTC


