Hi Ernesto,
I discussed this morning with Camille and we added the setting.xml to the Hudson for Papyrus-RT. The name of the settings is “Use Eclipse Mirror”, as in Papyrus.
I updated 2 gerrit jobs,
https://hudson.eclipse.org/papyrus-rt/job/Papyrus-RT-CodegenRTS-BuildFrom-gerrit-Master/ &
https://hudson.eclipse.org/papyrus-rt/job/Papyrus-RT-Gerrit-master/ to use these new settings, in the advanced area of the tasks
invoque Maven3 to use these new settings.
Other jobs may be updated if required.
While I was in Hudson configuration and with Camille, I updated a bit the Papyrus-RT-gerrit-Master job:
-
We switched to a private maven repository for the job, rather than using the shared one. Camille experienced some loss of performances on Papyrus while
the repo was getting larger and larger. Moreover, there is no way to control the maven repo when shared, while it is possible from web UI when it is private & in the workspace.
-
I added a step to clean this local repo for each build. It seems preferable for jobs like the ones for gerrit contributions.

Please tell me if you experience any issues, or if you need further information.
Regards,
Rémi
-------------------------------------------------------
Rémi SCHNEKENBURGER
+33 (0)1 69 08 48 48
CEA Saclay Nano-INNOV
Institut CARNOT CEA LIST
www.eclipse.org/papyrus
De : papyrus-rt-dev-bounces@xxxxxxxxxxx [mailto:papyrus-rt-dev-bounces@xxxxxxxxxxx]
De la part de Ernesto Posse
Envoyé : jeudi 2 juin 2016 22:44
À : papyrus-rt developer discussions <papyrus-rt-dev@xxxxxxxxxxx>
Objet : Re: [papyrus-rt-dev] Codegen nightly build failures and maven dependencies
Thanks Remi.
@Camille: I went through that bug, and it seems that there is no resolution yet, but there is a suggestion to add a maven settings.xml. Is that what you did in Papyrus? Is that what we should be doing with PapyrusRT?
More info: it may not be a problem with that particular artifact but something else. Looking at the console output for other failed jobs, there looks to be something in common:
the fail at different points when trying to access the maven repo, and they show errors like this:
Perhaps the maven repo goes down when we are executing this nightly job? I'm going to change the scheduled time for hour job, in case that is the problem.
The codegen nightly builds have been failing for a while, but the error seems to be with problems getting dependencies of maven plugins:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.0.0:clean (default-clean) on project umlrt.code-generator: Execution default-clean of goal org.apache.maven.plugins:maven-clean-plugin:3.0.0:clean failed: Plugin org.apache.maven.plugins:maven-clean-plugin:3.0.0 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-clean-plugin:jar:3.0.0 -> org.apache.maven:maven-plugin-api:jar:3.0 -> org.apache.maven:maven-model:jar:3.0 -> org.codehaus.plexus:plexus-utils:jar:2.0.4: Failed to read artifact descriptor for org.codehaus.plexus:plexus-utils:jar:2.0.4: Could not transfer artifact org.codehaus.plexus:plexus-utils:pom:2.0.4 from/to central (https://repo.maven.apache.org/maven2): Connection reset -> [Help 1]
Does anyone have an idea why this is happening?
_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev