Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions modules/ROOT/pages/ref-acb-maven.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,21 @@ include::anypoint-code-builder::partial$acb-maven-settings.adoc[tag="maven-setti

include::anypoint-code-builder::partial$acb-maven-settings.adoc[tag="maven-acb-settings-file"]

[[authenticating-to-mulesoft-repositories]]
== Authenticating to MuleSoft Repositories

When you open a MuleSoft project that uses dependencies from the MuleSoft Enterprise Repository, Maven requires authentication to download the artifacts. If authentication is not configured, you receive a 401 Unauthorized error.

To configure authentication:

. If you don't already have Nexus enterprise credentials, contact https://help.mulesoft.com[MuleSoft Support^] to request them.
. Optionally, encrypt your credentials.
+
For instructions on encrypting your credentials to avoid storing passwords in plain text, see https://maven.apache.org/guides/mini/guide-encryption.html[Password Encryption^] in the Apache Maven documentation.
. Add your credentials in the `<servers>` section of your Maven `settings.xml` file.
+
For detailed instructions on configuring the `settings.xml` file, see xref:mule-runtime::maven-reference.adoc#configure-maven-to-access-mulesoft-enterprise-repository[Configure Maven to Access MuleSoft Enterprise Repository].


== See Also

Expand Down
7 changes: 7 additions & 0 deletions modules/ROOT/pages/troubleshooting.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ To find this icon, see xref:start-discover-ui.adoc[].
* If the extension pack is _not_ installed, follow the installation steps at xref:start-acb.adoc#set-up-desktop[Set up the Desktop IDE].
* If the extension pack is installed but the MuleSoft icon is not present in the Activity Bar, see xref:troubleshoot-missing-features.adoc#missing-mulesoft-icon[MuleSoft Icon Missing from Activity Bar] to display the icon.

[[maven-401-error]]
== Maven 401 Unauthorized Error

If Maven fails to download dependencies with a 401 Unauthorized error when opening or building a MuleSoft project, you need to configure authentication for the MuleSoft Enterprise Repository.

See xref:ref-acb-maven.adoc#authenticating-to-mulesoft-repositories[Authenticating to MuleSoft Repositories] for instructions on configuring your credentials.

[[folder-permission]]
== Folder Permission Error

Expand Down