infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-16800) Access to repository .cache/maven-download-plugin fails since Jenkins migration
Date Sun, 22 Jul 2018 12:53:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-16800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16552002#comment-16552002
] 

Karl Heinz Marbaise commented on INFRA-16800:
---------------------------------------------

You need to go to configure page and click on "Build" tab..this show the are for the Maven
configuration...and there is a Button "Advanced" than you should see the check which is checked
"Use private Maven repository" ...?And yes I recommend to update the other projects accordingly....

The complain about different version with JDK 6 I've read the information in pom but that
can't be true anymore cause your build needs at minimum JDK 7...created an issue https://issues.apache.org/jira/browse/PDFBOX-4271
and attached a patch for that...

But I think this ticket can be closed cause the problem is solved. If you have further questions
related to that maven build don't hesitate to ask on maven users list ...

[~gmcdonald] Can you close this ticket...

> Access to repository .cache/maven-download-plugin fails since Jenkins migration
> -------------------------------------------------------------------------------
>
>                 Key: INFRA-16800
>                 URL: https://issues.apache.org/jira/browse/INFRA-16800
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: maven
>            Reporter: Tilman Hausherr
>            Assignee: Gavin
>            Priority: Major
>
> Builds are failing for the Jenkins projects PDFBOX-Trunk and PDFBox-2.0.x
> {noformat}
> [ERROR] Failed to execute goal com.googlecode.maven-download-plugin:maven-download-plugin:1.1.0:wget
(get-isartor) on project preflight: IO Error: /home/jenkins/jenkins-slave/maven-repositories/1/.cache/maven-download-plugin/isartor-pdfa-2008-08-13.zip
(No such file or directory) -> [Help 1]
> {noformat}
> This happens since the Jenkins migration yesterday. 
> The maven pom has this:
> {code}
>             <plugin>
>                 <groupId>com.googlecode.maven-download-plugin</groupId>
>                 <!-- can't use download-maven-plugin for JDK6, see PDFBOX-3532 -->
>                 <artifactId>maven-download-plugin</artifactId>
>                 <version>1.1.0</version>
>                 <configuration>
>                     <skip>${skipTests}</skip>
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <id>get-isartor</id>
>                         <phase>generate-test-resources</phase>
>                         <goals>
>                             <goal>wget</goal>
>                         </goals>
>                         <configuration>
>                             <url>https://www.pdfa.org/wp-content/until2016_uploads/2011/08/isartor-pdfa-2008-08-13.zip</url>
>                             <unpack>true</unpack>
>                             <outputDirectory>${project.build.directory}/pdfs</outputDirectory>
>                             <md5>9f129c834bc6f9f8dabad4491c4c10ec</md5>
>                         </configuration>
>                     </execution>
>                     <execution>
>                         <id>get-bavaria</id>
>                         <phase>generate-test-resources</phase>
>                         <goals>
>                             <goal>wget</goal>
>                         </goals>
>                         <configuration>
>                             <skip>${skip-bavaria}</skip>
>                             <url>http://www.pdflib.com/fileadmin/pdflib/Bavaria/2009-04-03-Bavaria-pdfa.zip</url>
>                             <unpack>true</unpack>
>                             <outputDirectory>${project.build.directory}/pdfs</outputDirectory>
>                             <md5>d8fccb2fea540ab49bef237f3579546b</md5>
>                         </configuration>
>                     </execution>
>                 </executions>
>             </plugin>
> {code}
> Could you please delete the directory /home/jenkins/jenkins-slave/maven-repositories/1/.cache/maven-download-plugin
? My theory is that maven assumes the file is there, but it isn't.
> Surprisingly, access to the other .cache directory we use (download-maven-plugin) works
without any trouble.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message