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 12:56:00 UTC

[jira] [Updated] (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 updated ARCHETYPE-581:
-----------------------------------
    Description: 
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}

  was:
Archetype ITs should exclude copying unnecessary file {{build.log}} (open file with ongoing writes), otherwise the copy of the file content fails with IOException.

{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}


> 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)