# "Could not transfer artifact..." error when building example project

**URL:** <https://forum.inductiveautomation.com/t/could-not-transfer-artifact-error-when-building-example-project/62842>\
**Category:** Module Development\
**Created:** [August 9, 2022, 6:37pm UTC](https://forum.inductiveautomation.com/t/could-not-transfer-artifact-error-when-building-example-project/62842 "2022-08-09T18:37:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![derrickdvdsn](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@derrickdvdsn](https://forum.inductiveautomation.com/u/derrickdvdsn)\
**Post date:** [August 9, 2022, 6:37pm UTC](https://forum.inductiveautomation.com/t/could-not-transfer-artifact-error-when-building-example-project/62842/1 "2022-08-09T18:37:20Z")

</div>

I am trying to download the dependencies of the sample SDK file using maven but I am getting the following error

“Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3.1 from/to releases ([https://nexus.inductiveautomation.com/repository/inductiveautomation-releases](https://nexus.inductiveautomation.com/repository/inductiveautomation-releases)): Transfer failed for [https://nexus.inductiveautomation.com/repository/inductiveautomation-releases/org/apache/maven/plugins/maven-compiler-plugin/3.1/maven-compiler-plugin-3.1.pom](https://nexus.inductiveautomation.com/repository/inductiveautomation-releases/org/apache/maven/plugins/maven-compiler-plugin/3.1/maven-compiler-plugin-3.1.pom)”

I am using IntelliJ IDE

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 9, 2022, 6:41pm UTC](https://forum.inductiveautomation.com/t/could-not-transfer-artifact-error-when-building-example-project/62842/2 "2022-08-09T18:41:59Z")

</div>

Which example are you trying to build and what command are you using?

---

<div class="post-metadata">

**Author:** ![derrickdvdsn](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@derrickdvdsn](https://forum.inductiveautomation.com/u/derrickdvdsn)\
**Post date:** [August 10, 2022, 10:37am UTC](https://forum.inductiveautomation.com/t/could-not-transfer-artifact-error-when-building-example-project/62842/3 "2022-08-10T10:37:20Z")

</div>

gateway-webpage

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 10, 2022, 12:51pm UTC](https://forum.inductiveautomation.com/t/could-not-transfer-artifact-error-when-building-example-project/62842/4 "2022-08-10T12:51:56Z")

</div>

And what command?

Are you on a corporate network that might be blocking access to our Nexus repository? Can you reach [Repository - Nexus Repository Manager](https://nexus.inductiveautomation.com/repository/inductiveautomation-releases/) in a browser?

---

<div class="post-metadata">

**Author:** ![derrickdvdsn](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@derrickdvdsn](https://forum.inductiveautomation.com/u/derrickdvdsn)\
**Post date:** [August 10, 2022, 1:05pm UTC](https://forum.inductiveautomation.com/t/could-not-transfer-artifact-error-when-building-example-project/62842/5 "2022-08-10T13:05:22Z")

</div>

Kevin,

Thank you for your prompt response

I am not connected to the corporate network.  
I can open the link in the browser but when I open the link from IntelliJ I have to add “/” at the end of this url “[https://nexus.inductiveautomation.com/repository/inductiveautomation-releases](https://nexus.inductiveautomation.com/repository/inductiveautomation-releases)” in order to open it.

“And what command?” - Sorry, I am just starting to learn about the SDK and I do not understand your question.  
If you meant by how I am generating this error, it is by clicking on the “Reload All Maven Projects” icon from the Maven pane

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 10, 2022, 1:06pm UTC](https://forum.inductiveautomation.com/t/could-not-transfer-artifact-error-when-building-example-project/62842/6 "2022-08-10T13:06:49Z")

</div>

Okay, forget about the IDE for a sec, open a terminal and change into the `gateway-webpage` directory and run `mvn clean package`.

---

<div class="post-metadata">

**Author:** ![derrickdvdsn](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@derrickdvdsn](https://forum.inductiveautomation.com/u/derrickdvdsn)\
**Post date:** [August 10, 2022, 1:11pm UTC](https://forum.inductiveautomation.com/t/could-not-transfer-artifact-error-when-building-example-project/62842/7 "2022-08-10T13:11:35Z")

</div>

![Maven Error](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/6/76273c9752265bbc7a9b7dd279e87915f589a99c.png)  
I am getting this error

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 10, 2022, 1:13pm UTC](https://forum.inductiveautomation.com/t/could-not-transfer-artifact-error-when-building-example-project/62842/8 "2022-08-10T13:13:54Z")

</div>

Sorry, but I think you need to talk to your IT department.

You seem to have some kind of proxy setup, that’s the only reason `repository.yourcompanyname.com` could be showing up in those logs.

Maybe @nicholas.robinson could help you out.

---

<div class="post-metadata">

**Author:** ![derrickdvdsn](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@derrickdvdsn](https://forum.inductiveautomation.com/u/derrickdvdsn)\
**Post date:** [August 10, 2022, 1:14pm UTC](https://forum.inductiveautomation.com/t/could-not-transfer-artifact-error-when-building-example-project/62842/9 "2022-08-10T13:14:55Z")

</div>

Thanks Kevin

---

<div class="post-metadata">

**Author:** ![nicholas.robinson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nicholas.robinson/32/22188_2.png) [@nicholas.robinson](https://forum.inductiveautomation.com/u/nicholas.robinson)\
**Post date:** [August 10, 2022, 1:30pm UTC](https://forum.inductiveautomation.com/t/could-not-transfer-artifact-error-when-building-example-project/62842/10 "2022-08-10T13:30:41Z")

</div>

@Kevin.Herron yeah, thanks to all I have learned from this forum here I believe we will be able to get through it.
