[
https://issues.apache.org/jira/browse/SQOOP-2476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarek Jarcec Cecho updated SQOOP-2476:
--------------------------------------
Attachment: SQOOP-2476.patch
Attaching patch that upgrades {{maven-war-plugin}} from version 2.2 (default)
by 2.6 which seems to fix the problem at least on my local laptop. Let's see if
it fixes the problem on jenkins as well.
> Sqoop2: Fix failing precommit hook
> ----------------------------------
>
> Key: SQOOP-2476
> URL: https://issues.apache.org/jira/browse/SQOOP-2476
> Project: Sqoop
> Issue Type: Bug
> Affects Versions: 1.99.6
> Reporter: Jarek Jarcec Cecho
> Assignee: Jarek Jarcec Cecho
> Fix For: 1.99.7
>
> Attachments: SQOOP-2476.patch
>
>
> Our pre-commit hook is currently failing on every build, it seems that it got
> broken by SQOOP-2472 (as investigated by [~colin_mjj]). Looking deeply into
> error exception:
> {code}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project
> sqoop-server: failed to get report for
> org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal
> org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project
> sqoop-server: Failed to copy file for artifact
> [org.apache.sqoop:sqoop-core:jar:2.0.0-SNAPSHOT:compile]:
> /home/jenkins/jenkins-slave/workspace/PreCommit-SQOOP-Build/core/target/classes
> (Is a directory) -> [Help 1]
> {code}
> It seems that updated cobertura plugin doesn't work well with the war plugin.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)