Hi Ernesto,
We reconfigured the Maven Settings on the Hudson configuration (Hudson Administration > Maven 3 Configuration), then enabled these settings for a few jobs (Mainly the ones that clear their maven repository before each build). Once these options are defined,
you can select them in each job’s configuration:
![](pngs0r08YELPs.png)
If you don’t have access to your HIPP Admin page to define these settings, then having a settings.xml file in the git repository is the only solution
(Or you can ask a webmaster to add these settings for you)
HTH,
Camille
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
|