Update home authored by Bruno Rosell i Gui's avatar Bruno Rosell i Gui
# WeNet - Common
Common components used by the different UDT-IA, IIIA-CSIC components developed
for the project WeNet.
Common components used by the different UDT-IA, IIIA-CSIC components developed for the project WeNet.
## Deployment to IIIA gitlab
......@@ -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 [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**
and **write_package_registry**.
* Expand the deploy token and create a new one with **read_package_registry** and **write_package_registry**.
* 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
by the created deploy token.
* And add the next lines to it, replacing **DEPLOY_PASSWORD** by the provided by the created deploy token.
```xml
<settings>
......@@ -35,17 +32,13 @@ To deploy on the gitlab follow the next steps:
<id>gitlab-wenet-common</id>
<repositories>
<repository>
<id>gitlab-maven</id>
<id>gitlab-wenet-common</id>
<url>https://gitlab.iiia.csic.es/api/v4/groups/internetofus/-/packages/maven</url>
</repository>
</repositories>
<properties>
<altSnapshotDeploymentRepository>
snapshots::default::https://gitlab.iiia.csic.es/api/v4/projects/443/packages/maven
</altSnapshotDeploymentRepository>
<altReleaseDeploymentRepository>
releases::default::https://gitlab.iiia.csic.es/api/v4/projects/443/packages/maven
</altReleaseDeploymentRepository>
<altSnapshotDeploymentRepository>gitlab-wenet-common::default::https://gitlab.iiia.csic.es/api/v4/projects/443/packages/maven</altSnapshotDeploymentRepository>
<altReleaseDeploymentRepository>gitlab-wenet-common::default::https://gitlab.iiia.csic.es/api/v4/projects/443/packages/maven</altReleaseDeploymentRepository>
</properties>
</profile>
</profiles>
......
......