You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2019/08/18 13:01:00 UTC

[jira] [Closed] (ARCHETYPE-581) The build fails in the integration tests because 'build.log' is being copied and failed

     [ https://issues.apache.org/jira/browse/ARCHETYPE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Digana closed ARCHETYPE-581.
----------------------------------
    Resolution: Fixed

https://gitbox.apache.org/repos/asf?p=maven-archetype.git;a=commit;h=d5d527a7372214b916a3bac3d7b953f2a4e2441b

> The build fails in the integration tests because 'build.log' is being copied and failed
> ---------------------------------------------------------------------------------------
>
>                 Key: ARCHETYPE-581
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-581
>             Project: Maven Archetype
>          Issue Type: Test
>            Reporter: Tibor Digana
>            Assignee: Tibor Digana
>            Priority: Major
>             Fix For: 3.1.2
>
>
> Archetype ITs should exclude copying unnecessary file {{build.log}} (open file with ongoing writes), otherwise the copy of the file content fails.
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.1.2-SNAPSHOT:create-from-project (default-cli) on project include-file-with-no-extension: 
> {noformat}
> {noformat}
> Failed to copy full contents from F:\short\jenkins-maven-box-maven-archetype-master-50@3\j13m3.6.xb\maven-archetype-plugin\target\it\projects\include-file-with-no-extension\build.log to F:\short\jenkins-maven-box-maven-archetype-master-50@3\j13m3.6.xb\maven-archetype-plugin\target\it\projects\include-file-with-no-extension\target\generated-sources\archetype\src\main\resources\archetype-resources\build.log -> [Help 1]
> {noformat}
> {noformat}
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.1.2-SNAPSHOT:create-from-project (default-cli) on project include-file-with-no-extension: 
> {noformat}
> {noformat}
> Failed to copy full contents from F:\short\jenkins-maven-box-maven-archetype-master-50@3\j13m3.6.xb\maven-archetype-plugin\target\it\projects\include-file-with-no-extension\build.log to F:\short\jenkins-maven-box-maven-archetype-master-50@3\j13m3.6.xb\maven-archetype-plugin\target\it\projects\include-file-with-no-extension\target\generated-sources\archetype\src\main\resources\archetype-resources\build.log
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)