Yann Mombrun (82a5275c) at 25 May 19:30
Yann Mombrun (dbd14b34) at 25 May 19:30
Merge branch 'ymombrun-master-patch-60269' into 'master'
... and 1 more commit
Yann Mombrun (82a5275c) at 25 May 19:28
Change maven version to 3.6.3
Currently the GitLab job deploy
that lead to Maven deploy
phase execution are both successful (cf https://gitlab.ow2.org/weblab/core/-/jobs/49848) but actually don't deploy the artifact on https://repository.ow2.org/nexus/content/repositories/snapshots/org/ow2/weblab/
This might be related to https://issues.apache.org/jira/browse/MDEPLOY-201
After reading https://www.robinhowlett.com/blog/2019/05/15/solved-when-the-maven-deploy-plugin-silently-fails-to-deploy/ I tried to make sure that both root pom and parent pom have exact same configuration regarding plugins and did the following modification:
pluginManagement
.With those changes I can see at the end of the build the following log messages (after that build failed because I don't have credentials locally to upload to OW2 Nexus):
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ core ---
[INFO] Downloading: https://repository.ow2.org/nexus/content/repositories/snapshots/org/ow2/weblab/core/parent/1.2.9-SNAPSHOT/maven-metadata.xml
[INFO] Uploading: https://repository.ow2.org/nexus/content/repositories/snapshots/org/ow2/weblab/core/parent/1.2.9-SNAPSHOT/parent-1.2.9-20210524.135201-1.pom
whereas when building the current master branch I don't see the Downloading
and Uploading
log message and build is successful (but deploy don't even try to upload artifacts).
So I guess my changes solve the issue but can explain for sure why.
Yann Mombrun (b6e8c9c9) at 25 May 17:23
Merge branch 'fix-deploy-to-ow2-nexus' into 'master'
... and 1 more commit
Currently the GitLab job deploy
that lead to Maven deploy
phase execution are both successful (cf https://gitlab.ow2.org/weblab/core/-/jobs/49848) but actually don't deploy the artifact on https://repository.ow2.org/nexus/content/repositories/snapshots/org/ow2/weblab/
This might be related to https://issues.apache.org/jira/browse/MDEPLOY-201
After reading https://www.robinhowlett.com/blog/2019/05/15/solved-when-the-maven-deploy-plugin-silently-fails-to-deploy/ I tried to make sure that both root pom and parent pom have exact same configuration regarding plugins and did the following modification:
pluginManagement
.With those changes I can see at the end of the build the following log messages (after that build failed because I don't have credentials locally to upload to OW2 Nexus):
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ core ---
[INFO] Downloading: https://repository.ow2.org/nexus/content/repositories/snapshots/org/ow2/weblab/core/parent/1.2.9-SNAPSHOT/maven-metadata.xml
[INFO] Uploading: https://repository.ow2.org/nexus/content/repositories/snapshots/org/ow2/weblab/core/parent/1.2.9-SNAPSHOT/parent-1.2.9-20210524.135201-1.pom
whereas when building the current master branch I don't see the Downloading
and Uploading
log message and build is successful (but deploy don't even try to upload artifacts).
So I guess my changes solve the issue but can explain for sure why.
Yann Mombrun (86c57c2b) at 11 May 19:26
Yann Mombrun (c0121407) at 11 May 19:19
Removed <maven.deploy.skip>true</maven.deploy.skip>
to allow deployment.
Also add missing property definition required by distributionManagement
in parent/pom.xml
.
Yann Mombrun (9e3cfc7b) at 11 May 19:19
Merge branch 'fix-deploy' into 'master'
... and 1 more commit
Removed <maven.deploy.skip>true</maven.deploy.skip>
to allow deployment.
Also add missing property definition required by distributionManagement
in parent/pom.xml
.
Well, I do not see the artifact pushed in https://repository.ow2.org/nexus/content/repositories/snapshots/org/ow2/weblab/. The pipeline says skipping artifact deployment. But I do not see (yet) why.
!3 (merged) :-)
I think I solved this yesterday evening :-)
Yann Mombrun (8d27a51f) at 11 May 05:57
Closes #11
WebLab respoitory (http://maven.weblab-project.org) is declared in core parent pom but it seems that the domain name weblab-project.org is not registered anymore. Trying to access to http://weblab-project.org/ give the following message : "weblab-project.org is coming soon" (page seems to be a default page from domain registar NameBright.com.
I guess that registration of the domain just need to be renewed.