Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit 22df2c3

Browse files
committed
docs/_documentations/troubleshooting.md
Signed-off-by: Sarah Ishida <sishida@us.ibm.com>
1 parent 2090fdc commit 22df2c3

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

docs/_documentations/troubleshooting.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -319,19 +319,15 @@ Issue link: https://github.com/eclipse/codewind-docs/issues/92
319319
18.10:
320320
-->
321321
## Appsody mount errors on Windows Enterprise
322-
If you use Windows Enterprise and authenticate through Azure Active Directory (AAD), you might see mount errors when you use any of the Java Appsody stacks, such as `java-microprofile` or `java-spring-boot2`. Appsody does not mount the Maven cache to the Appsody application container.
322+
If you use Windows Enterprise and authenticate through Azure Active Directory (AAD), you might see mount errors when you use any of the Java Appsody stacks, such as `java-microprofile` or `java-spring-boot2`.
323323

324324
You might receive an error message in the `appsody.log` file when you try to create an Appsody project:
325325
```
326326
[Container] docker: Error response from daemon: error while creating mount source path '/C/Users/<user name>/.m2/repository': mkdir /C/Users/<user name>/.m2: permission denied.
327327
```
328328

329-
**Workaround:** Configure the Maven `.m2` cache to be outside of your home directory.
330-
1. If you log in to your Windows machine as an Azure user, and you want to create Appsody applications, set the global `MAVEN_OPTS` environment variable before you start Eclipse or VS Code.
331-
- Example: `MAVEN_OPTS=-Dmaven.repo.local=C:\somefolder\.m2\repository`
332-
2. Codewind and Eclipse can use the same repository.
333-
- In Eclipse, go to **Preferences**>**Maven**>**User Settings** and update the **localRepository** field in the `settings.xml` file.
334-
- If you use VS Code, locate the Maven `settings.xml` file on your computer and update the **localRepository** field manually.
329+
**Workaround:** Configure the Maven `.m2` cache to be outside of your home directory. If you log in to your Windows machine as an Azure user, and you want to create Appsody applications, set the global `MAVEN_OPTS` environment variable before you start Eclipse or VS Code.
330+
- Example: `MAVEN_OPTS=-Dmaven.repo.local=C:\somefolder\.m2\repository`
335331

336332
<!--
337333
Action/Topic: Appsody with Codewind

0 commit comments

Comments
 (0)