Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
NuwanJ committed Jul 29, 2023
1 parent ecf3129 commit 6f52bf8
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
<servers>
<server>
<id>github</id>
<username>${env.USER_NAME}</username>
<password>${env.ACCESS_TOKEN}</password>
<username>NuwanJ</username>
<password>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</password>
</server>
</servers>

Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ hs_err_pid*
.idea
.target

/target
/target
settings.xml
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ channel="v1"

## Install the Library

<!-- - You need to setup a GitHub Token with the scope of `read:packages` and save it along with your GitHub UserName as environment variables as follows:
- You need to setup a GitHub Token with the scope of `read:packages` and save it along with your GitHub UserName as environment variables as follows:

```bash
export USER_NAME="NuwanJ"
export ACCESS_TOKEN="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"
``` -->
```xml
<server>
<username>{GITHUB_USERNAME}</username>
<password>{GITHUB_TOKEN}</password>
</server>
```

- Run the following command to run the `mvn install`

Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
<artifactId>java-robot-node</artifactId>
<version>1.0-SNAPSHOT</version>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>

<distributionManagement>
<repository>
<id>github</id>
Expand All @@ -21,6 +16,11 @@
</repository>
</distributionManagement>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>pera.swarm</groupId>
Expand Down
2 changes: 2 additions & 0 deletions settings.xml → settings.sample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
<servers>
<server>
<id>github</id>
<username>{GITHUB_USERNAME}</username>
<password>{GITHUB_TOKEN}</password>
</server>
</servers>

Expand Down

0 comments on commit 6f52bf8

Please sign in to comment.