maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Ferstl (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MASSEMBLY-871) Descriptor Ref "bin" causes Errors in the build log on Windows
Date Sat, 28 Oct 2017 16:51:00 GMT

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

Stefan Ferstl updated MASSEMBLY-871:
------------------------------------
    Description: 
When using the builtin assembly descriptor {{bin}}, the build output contains ERRORs when
run on Windows:

{code}
[INFO] --- maven-assembly-plugin:3.1.0:single (create-bin-distro) @ descriptor-ref-demo ---
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
[INFO] Building tar: C:\path\to\my\project\target\descriptor-ref-demo-1.0.0-SNAPSHOT.tar.gz
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
[INFO] Building tar: C:\path\to\my\project\target\descriptor-ref-demo-1.0.0-SNAPSHOT.tar.bz2
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
{code}

However, the build succeeds and produces valid archives (tar.bz2, tar.gz and zip).

The problem should rather be logged as WARN than as ERROR.

To reproduce this issue, I created a demo project on GitHub: https://github.com/ferstl/MASSEMBLY-871
.

  was:
When using the builtin assembly descriptor {{bin}}, the build output contains ERRORs:

{code}
[INFO] --- maven-assembly-plugin:3.1.0:single (create-bin-distro) @ descriptor-ref-demo ---
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
[INFO] Building tar: C:\path\to\my\project\target\descriptor-ref-demo-1.0.0-SNAPSHOT.tar.gz
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
[INFO] Building tar: C:\path\to\my\project\target\descriptor-ref-demo-1.0.0-SNAPSHOT.tar.bz2
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
{code}

However, the build succeeds and produces valid archives (tar.bz2, tar.gz and zip).

The problem should rather be logged as WARN than as ERROR.

To reproduce this issue, I created a demo project on GitHub: https://github.com/ferstl/MASSEMBLY-871
.


> Descriptor Ref "bin" causes Errors in the build log on Windows
> --------------------------------------------------------------
>
>                 Key: MASSEMBLY-871
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-871
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>          Components: predefined descriptors
>    Affects Versions: 3.1.0
>            Reporter: Stefan Ferstl
>            Priority: Minor
>
> When using the builtin assembly descriptor {{bin}}, the build output contains ERRORs
when run on Windows:
> {code}
> [INFO] --- maven-assembly-plugin:3.1.0:single (create-bin-distro) @ descriptor-ref-demo
---
> [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
> [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
> [INFO] Building tar: C:\path\to\my\project\target\descriptor-ref-demo-1.0.0-SNAPSHOT.tar.gz
> [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
> [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
> [INFO] Building tar: C:\path\to\my\project\target\descriptor-ref-demo-1.0.0-SNAPSHOT.tar.bz2
> [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
> [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference
(starting with slash) /
> {code}
> However, the build succeeds and produces valid archives (tar.bz2, tar.gz and zip).
> The problem should rather be logged as WARN than as ERROR.
> To reproduce this issue, I created a demo project on GitHub: https://github.com/ferstl/MASSEMBLY-871
.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message