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

Commit 2090fdc

Browse files
committed
Updating text based on feedback
Signed-off-by: Sarah Ishida <sishida@us.ibm.com>
1 parent c7f5cb5 commit 2090fdc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/_documentations/troubleshooting.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -318,19 +318,20 @@ Issue type: bug/info
318318
Issue link: https://github.com/eclipse/codewind-docs/issues/92
319319
18.10:
320320
-->
321-
## Appsody does not mount the Maven cache to the Appsody application container
322-
If you work with Windows Enterprise, such as Azure ID, and 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.
321+
## 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.
323323

324-
If you don't set the `MAVEN_OPTS` environment variable, you might receive an error message in the `appsody.log` file when you try to create an Appsody project:
324+
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

329329
**Workaround:** Configure the Maven `.m2` cache to be outside of your home directory.
330330
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.
331331
- Example: `MAVEN_OPTS=-Dmaven.repo.local=C:\somefolder\.m2\repository`
332-
2. Configure the IDE to use the custom `.m2` cache location.
333-
3. (Optional:) If you want Codewind and Eclipse to use the same repository, in Eclipse, go to **Preferences**>**Maven**>**User Settings** and update the **localRepository** field in the `settings.xml` file. In VS Code, locate the Maven `settings.xml` file and edit it manually.
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.
334335

335336
<!--
336337
Action/Topic: Appsody with Codewind

0 commit comments

Comments
 (0)