@@ -34,13 +34,13 @@ encrypted-token-will-appear-here
3434
3535``` xml
3636<servers >
37- ...
37+ <!-- ... other servers -->
3838 <server >
3939 <id >github</id >
4040 <username >github-userid-goes-here</username >
4141 <password >encrypted-token-goes-here-including-curly-brackets</password >
4242 </server >
43- ...
43+ <!-- ... other servers -->
4444</servers >
4545```
4646</li >
@@ -66,12 +66,12 @@ encrypted-token-will-appear-here
6666
6767``` xml
6868 <repositories >
69- ...
69+ <!-- ... other repositories -->
7070 <repository >
7171 <id >github</id >
7272 <url >https://maven.pkg.github.com/guacsec/trustify-da-java-client</url >
7373 </repository >
74- ...
74+ <!-- ... other repositories -->
7575 </repositories >
7676```
7777</li >
@@ -81,15 +81,15 @@ encrypted-token-will-appear-here
8181
8282``` groovy
8383repositories {
84- ...
84+ // ... other repositories
8585 maven {
8686 url 'https://maven.pkg.github.com/guacsec/trustify-da-java-client'
8787 credentials {
8888 username System.getenv("GITHUB_USERNAME")
8989 password System.getenv("GITHUB_TOKEN")
9090 }
9191 }
92- ...
92+ // ... other repositories
9393}
9494```
9595</li >
@@ -232,7 +232,7 @@ Although both `trustify-da-ignore` and `exhortignore` patterns work identically
232232<li >
233233<em >Golang</em > users can add in go.mod a comment with //trustify-da-ignore next to the package to be ignored, or to "piggyback" on existing comment ( e.g - //indirect) , for example:
234234
235- ``` go
235+ ``` mod
236236module github.com/RHEcosystemAppEng/SaaSi/deployer
237237
238238go 1.19
@@ -330,7 +330,7 @@ You can specify the method to ignore dependencies in manifest (globally), by set
330330There are 2 approaches for customizing <em >Trustify DA Java Client</em >. Using <em >Environment Variables</em > or
331331<em >Java Properties</em >:
332332
333- ``` java
333+ ``` text
334334System.setProperty("TRUSTIFY_DA_MVN_PATH", "/path/to/custom/mvn");
335335System.setProperty("TRUSTIFY_DA_NPM_PATH", "/path/to/custom/npm");
336336System.setProperty("TRUSTIFY_DA_PNPM_PATH", "/path/to/custom/pnpm");
@@ -489,7 +489,7 @@ export TRUSTIFY_DA_MVN_LOCAL_REPO=/home/user/custom-maven-repo
489489```
490490
491491Using Java properties:
492- ``` java
492+ ``` text
493493System.setProperty("TRUSTIFY_DA_MVN_USER_SETTINGS", "/home/user/.m2/custom-settings.xml");
494494System.setProperty("TRUSTIFY_DA_MVN_LOCAL_REPO", "/home/user/custom-maven-repo");
495495```
0 commit comments