# Maven build fails with DependencyResolutionException

**URL:** <https://discuss.circleci.com/t/maven-build-fails-with-dependencyresolutionexception/13190>\
**Category:** Build Environment\
**Created:** [June 7, 2017, 5:31pm UTC](https://discuss.circleci.com/t/maven-build-fails-with-dependencyresolutionexception/13190 "2017-06-07T17:31:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![parkerjo](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/parkerjo/32/16270_2.png) [@parkerjo](https://discuss.circleci.com/u/parkerjo)\
**Post date:** [June 7, 2017, 5:31pm UTC](https://discuss.circleci.com/t/maven-build-fails-with-dependencyresolutionexception/13190/1 "2017-06-07T17:31:36Z")

</div>

I’m new to Circle CI (and Maven too for that matter). I have a Maven Java project that I’m trying to get to build with Circle CI.

The build (mvn clean install) works fine locally and with other CI services. However, I’m getting a DependencyResolutionException trying to resolve an artifact that’s in the project.

I have a admin-console.war that successfully builds. However, when the next artifact attempts to build I get an error stating “Could not resolve dependencies for project X”.

I’m using a custom cirlce.yaml file that is based on the sample provided at [https://circleci.com/docs/1.0/language-java/](https://circleci.com/docs/1.0/language-java/)

Any help on this is greatly appreciated.

---

<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/maven-build-fails-with-dependencyresolutionexception/13190/2 "2018-06-18T11:39:34Z")

</div>


