Update home authored by Bruno Rosell i Gui's avatar Bruno Rosell i Gui
# WeNet - Common # WeNet - Common
Common components used by the different UDT-IA, IIIA-CSIC components developed Common components used by the different UDT-IA, IIIA-CSIC components developed for the project WeNet.
for the project WeNet.
## Deployment to IIIA gitlab ## Deployment to IIIA gitlab
...@@ -9,11 +8,9 @@ To deploy on the gitlab follow the next steps: ...@@ -9,11 +8,9 @@ To deploy on the gitlab follow the next steps:
* Go to gitlab inside the [Wenet Group](https://gitlab.iiia.csic.es/groups/internetofus/) * Go to gitlab inside the [Wenet Group](https://gitlab.iiia.csic.es/groups/internetofus/)
* Go to [Settings->Repository setting](https://gitlab.iiia.csic.es/groups/internetofus/-/settings/repository/) * Go to [Settings->Repository setting](https://gitlab.iiia.csic.es/groups/internetofus/-/settings/repository/)
* Expand the deploy token and create a new one with **read_package_registry** * Expand the deploy token and create a new one with **read_package_registry** and **write_package_registry**.
and **write_package_registry**.
* In your host create the file if not exist **$HOME/.m2/settings.xml**. * In your host create the file if not exist **$HOME/.m2/settings.xml**.
* And add the next lines to it, replacing **DEPLOY_PASSWORD** by the provided * And add the next lines to it, replacing **DEPLOY_PASSWORD** by the provided by the created deploy token.
by the created deploy token.
```xml ```xml
<settings> <settings>
...@@ -35,17 +32,13 @@ To deploy on the gitlab follow the next steps: ...@@ -35,17 +32,13 @@ To deploy on the gitlab follow the next steps:
<id>gitlab-wenet-common</id> <id>gitlab-wenet-common</id>
<repositories> <repositories>
<repository> <repository>
<id>gitlab-maven</id> <id>gitlab-wenet-common</id>
<url>https://gitlab.iiia.csic.es/api/v4/groups/internetofus/-/packages/maven</url> <url>https://gitlab.iiia.csic.es/api/v4/groups/internetofus/-/packages/maven</url>
</repository> </repository>
</repositories> </repositories>
<properties> <properties>
<altSnapshotDeploymentRepository> <altSnapshotDeploymentRepository>gitlab-wenet-common::default::https://gitlab.iiia.csic.es/api/v4/projects/443/packages/maven</altSnapshotDeploymentRepository>
snapshots::default::https://gitlab.iiia.csic.es/api/v4/projects/443/packages/maven <altReleaseDeploymentRepository>gitlab-wenet-common::default::https://gitlab.iiia.csic.es/api/v4/projects/443/packages/maven</altReleaseDeploymentRepository>
</altSnapshotDeploymentRepository>
<altReleaseDeploymentRepository>
releases::default::https://gitlab.iiia.csic.es/api/v4/projects/443/packages/maven
</altReleaseDeploymentRepository>
</properties> </properties>
</profile> </profile>
</profiles> </profiles>
... ...
......