# Build not working in CircleCi environment

**URL:** <https://discuss.circleci.com/t/build-not-working-in-circleci-environment/11016>\
**Category:** Build Environment\
**Created:** [March 13, 2017, 2:42am UTC](https://discuss.circleci.com/t/build-not-working-in-circleci-environment/11016 "2017-03-13T02:42:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![arindam7development](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@arindam7development](https://discuss.circleci.com/u/arindam7development)\
**Post date:** [March 13, 2017, 2:42am UTC](https://discuss.circleci.com/t/build-not-working-in-circleci-environment/11016/1 "2017-03-13T02:42:53Z")

</div>

I am building [github.com/devopsfolks/podam](http://github.com/devopsfolks/podam). Its building successfully in my local machine. Its failing in CircleCi.  
Below is the error stack trace 🙂  
Downloading: [https://repo.maven.apache.org/maven2/org/eclipse/mylyn/github/org.eclipse.egit.github.core/3.1.0.201310021548-r/org.eclipse.egit.github.core-3.1.0.201310021548-r.jar](https://repo.maven.apache.org/maven2/org/eclipse/mylyn/github/org.eclipse.egit.github.core/3.1.0.201310021548-r/org.eclipse.egit.github.core-3.1.0.201310021548-r.jar)  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD FAILURE  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: 12.071 s  
[INFO] Finished at: 2017-03-13T02:26:55+00:00  
[INFO] Final Memory: 25M/726M  
[INFO] ------------------------------------------------------------------------  
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:resolve-plugins (resolve-plugins) on project podam: Nested: Could not find artifact org.eclipse.mylyn.github:org.eclipse.egit.github.core:jar:3.1.0.201310021548-r in central ([https://repo.maven.apache.org/maven2](https://repo.maven.apache.org/maven2))

---

<div class="post-metadata">

**Author:** ![levlaz](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/levlaz/32/36978_2.png) [@levlaz](https://discuss.circleci.com/u/levlaz)\
**Post date:** [March 14, 2017, 12:21am UTC](https://discuss.circleci.com/t/build-not-working-in-circleci-environment/11016/2 "2017-03-14T00:21:26Z")

</div>

Can you double check the artifact URL?

[https://repo.maven.apache.org/maven2/org/eclipse/mylyn/github/org.eclipse.egit.github.core/3.1.0.201310021548-r/org.eclipse.egit.github.core-3.1.0.201310021548-r.jar](https://repo.maven.apache.org/maven2/org/eclipse/mylyn/github/org.eclipse.egit.github.core/3.1.0.201310021548-r/org.eclipse.egit.github.core-3.1.0.201310021548-r.jar)

That 404’s for me if I click on it directly.

---

<div class="post-metadata">

**Author:** ![arindam7development](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@arindam7development](https://discuss.circleci.com/u/arindam7development)\
**Post date:** [March 14, 2017, 9:15am UTC](https://discuss.circleci.com/t/build-not-working-in-circleci-environment/11016/3 "2017-03-14T09:15:41Z")

</div>

How to fix this ? I have got the other url for the same dependency, but its still checking in maven central repository.

[http://repo.jfrog.org/artifactory/libs-releases/org/eclipse/mylyn/github/org.eclipse.egit.github.core/3.1.0.201310021548-r/](http://repo.jfrog.org/artifactory/libs-releases/org/eclipse/mylyn/github/org.eclipse.egit.github.core/3.1.0.201310021548-r/)

---

<div class="post-metadata">

**Author:** ![arindam7development](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@arindam7development](https://discuss.circleci.com/u/arindam7development)\
**Post date:** [March 14, 2017, 9:16am UTC](https://discuss.circleci.com/t/build-not-working-in-circleci-environment/11016/4 "2017-03-14T09:16:22Z")

</div>

org.eclipse.mylyn.github org.eclipse.egit.github.core 3.1.0.201310021548-r system src/org.eclipse.egit.github.core-3.1.0.201310021548-r.jar

---

<div class="post-metadata">

**Author:** ![arindam7development](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@arindam7development](https://discuss.circleci.com/u/arindam7development)\
**Post date:** [March 14, 2017, 9:16am UTC](https://discuss.circleci.com/t/build-not-working-in-circleci-environment/11016/5 "2017-03-14T09:16:58Z")

</div>

The above values I have put in my pom.xml file . In dependency tags

---

<div class="post-metadata">

**Author:** ![arindam7development](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@arindam7development](https://discuss.circleci.com/u/arindam7development)\
**Post date:** [March 14, 2017, 10:33am UTC](https://discuss.circleci.com/t/build-not-working-in-circleci-environment/11016/6 "2017-03-14T10:33:18Z")

</div>

\*\*

## Maven External dependency not working in CircleCI.

\*\*

---

<div class="post-metadata">

**Author:** ![arindam7development](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@arindam7development](https://discuss.circleci.com/u/arindam7development)\
**Post date:** [March 14, 2017, 1:44pm UTC](https://discuss.circleci.com/t/build-not-working-in-circleci-environment/11016/7 "2017-03-14T13:44:26Z")

</div>

I fixed it.

---

<div class="post-metadata">

**Author:** ![kizmat](https://avatars.discourse-cdn.com/v4/letter/k/a4c791/32.png) [@kizmat](https://discuss.circleci.com/u/kizmat)\
**Post date:** [April 4, 2017, 9:26am UTC](https://discuss.circleci.com/t/build-not-working-in-circleci-environment/11016/8 "2017-04-04T09:26:16Z")

</div>

Would you mind sharing your pom.xml file as well as your circle.yml file?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:39am UTC](https://discuss.circleci.com/t/build-not-working-in-circleci-environment/11016/9 "2018-06-18T11:39:16Z")

</div>


