# Gatling never ends

**URL:** <https://community.gatling.io/t/gatling-never-ends/954>\
**Category:** Gatling (Open-Source)\
**Created:** [April 12, 2014, 8:37am UTC](https://community.gatling.io/t/gatling-never-ends/954 "2014-04-12T08:37:33Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [April 13, 2014, 9:31am UTC](https://community.gatling.io/t/gatling-never-ends/954/21 "2014-04-13T09:31:01Z")

</div>

You’re right, metadatas are not up-to-date, no idea where it comes from for now, investigating.  
Until we find out, could you just remove the gatling directory from your Jenkins local repo?

---

<div class="post-metadata">

**Author:** ![Jeff\_MAURY1](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Jeff\_MAURY1](https://community.gatling.io/u/Jeff_MAURY1)\
**Post date:** [April 13, 2014, 9:32am UTC](https://community.gatling.io/t/gatling-never-ends/954/22 "2014-04-13T09:32:28Z")

</div>

I’m using the Cloudbess jenkins so I don’t know how to do it. The sole solution I see is to use a per job Maven repository

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [April 13, 2014, 9:42am UTC](https://community.gatling.io/t/gatling-never-ends/954/23 "2014-04-13T09:42:50Z")

</div>

My2cents: snapshot metadatas are not computed on publish, but are batched computed once a day. Current metadata pretends that last update is 20140412131623, ie yesterday.

---

<div class="post-metadata">

**Author:** ![Jeff\_MAURY1](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Jeff\_MAURY1](https://community.gatling.io/u/Jeff_MAURY1)\
**Post date:** [April 13, 2014, 9:44am UTC](https://community.gatling.io/t/gatling-never-ends/954/24 "2014-04-13T09:44:26Z")

</div>

Yes, I sought it was computed as part of the deploy phase. I’m running the job with the prive repository option so it should download every artifacts. Waiting for the job to complete.

Jeff

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [April 13, 2014, 9:49am UTC](https://community.gatling.io/t/gatling-never-ends/954/25 "2014-04-13T09:49:22Z")

</div>

I thought so to.  
We’ll open an issue on Sonatype to find out.

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [April 13, 2014, 10:11am UTC](https://community.gatling.io/t/gatling-never-ends/954/26 "2014-04-13T10:11:14Z")

</div>

[https://docs.sonatype.com/display/SPRTNXOSS/Nexus+FAQ#NexusFAQ-Q.The](https://docs.sonatype.com/display/SPRTNXOSS/Nexus+FAQ#NexusFAQ-Q.The)"latest"and"release"tagsinmaven-metadata.xmlarenotbeingupdatedafterdeployingartifacts

Actually, this is not a bug but expected behavior.  
If -U doesn’t force update, that’s probably a Jenkins/Cloudbees issue.

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [April 13, 2014, 10:15am UTC](https://community.gatling.io/t/gatling-never-ends/954/27 "2014-04-13T10:15:40Z")

</div>

Could you try setting updatePolicy to always in your pom, please?

always

---

<div class="post-metadata">

**Author:** ![Jeff\_MAURY1](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Jeff\_MAURY1](https://community.gatling.io/u/Jeff_MAURY1)\
**Post date:** [April 13, 2014, 10:18am UTC](https://community.gatling.io/t/gatling-never-ends/954/28 "2014-04-13T10:18:49Z")

</div>

I need to focus on my tests now as I more than late for friday !!!  
Anyway, I don’t think this will fix the issue as the metadata.xml is not uptodate.

Jeff

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [April 13, 2014, 10:34am UTC](https://community.gatling.io/t/gatling-never-ends/954/29 "2014-04-13T10:34:26Z")

</div>

Read the FAQ: maven isn’t supposed to use them the way you think.

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [April 13, 2014, 10:35am UTC](https://community.gatling.io/t/gatling-never-ends/954/30 "2014-04-13T10:35:10Z")

</div>

Maven should use repository metadatas to determine if snapshot is supposed to be updated.

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [April 13, 2014, 10:35am UTC](https://community.gatling.io/t/gatling-never-ends/954/31 "2014-04-13T10:35:19Z")

</div>

shouldn’t

---

<div class="post-metadata">

**Author:** ![Jeff\_MAURY1](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Jeff\_MAURY1](https://community.gatling.io/u/Jeff_MAURY1)\
**Post date:** [April 13, 2014, 10:36am UTC](https://community.gatling.io/t/gatling-never-ends/954/32 "2014-04-13T10:36:21Z")

</div>

Maybe a problem with the Maven version available at Cloudbees ?

Jeff

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [April 13, 2014, 11:54am UTC](https://community.gatling.io/t/gatling-never-ends/954/33 "2014-04-13T11:54:43Z")

</div>

Maybe.  
Or maybe that Cloudbees proxifies maven central into it’s own maven repository, and there’s a cache expiration delay that’s too high for snapshots.

If you’re still stuck by next week, maybe I could temporarily host a timestamped version on a private repository.

---

<div class="post-metadata">

**Author:** ![Jeff\_MAURY1](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Jeff\_MAURY1](https://community.gatling.io/u/Jeff_MAURY1)\
**Post date:** [April 13, 2014, 12:09pm UTC](https://community.gatling.io/t/gatling-never-ends/954/34 "2014-04-13T12:09:18Z")

</div>

No, I’m ok now with the private Maven repo per job.

Jeff

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [April 13, 2014, 12:14pm UTC](https://community.gatling.io/t/gatling-never-ends/954/35 "2014-04-13T12:14:56Z")

</div>

Glad to hear!

[Previous page](https://community.gatling.io/t/gatling-never-ends/954.md?page=1)
