You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marat Abrarov (Jira)" <ji...@apache.org> on 2020/12/26 13:50:00 UTC

[jira] [Commented] (MEAR-272) SNAPSHOT dependencies are copied with timestamp

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

Marat Abrarov commented on MEAR-272:
------------------------------------

This issue looks like "not a bug, but a feature". Refer to [that comment|https://issues.apache.org/jira/browse/MEAR-272?focusedCommentId=17214099&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17214099] for details.

[~elharo] and [~hboutemy], please take this into account when preparing 3.2.0 release.

Thank you.

> SNAPSHOT dependencies are copied with timestamp
> -----------------------------------------------
>
>                 Key: MEAR-272
>                 URL: https://issues.apache.org/jira/browse/MEAR-272
>             Project: Maven EAR Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>         Environment: JDK 8
> Maven 3.3 and 3.5
>            Reporter: Benjamin Cartereau
>            Priority: Major
>
> We have an EAR project that have a dependency towards a SNAPSHOT (version in dependency within the pom set as "1.0-SNASPHOT") version of a jar stored in our Nexus repository.
> When we build the project, the ear:ear plugin is executed and we can see that the timestamp version of the dependency is copied as is:
> [INFO] Copying artifact[jar:xxx:yyy:1.0-20181106.150409-27] to[yyy-*1.0-20181106.150409-27*.jar]
> We also tried with the 3.0.0 version of the ear plugin and we get the same result.
> Then we have tried the 2.10.1 version of the plugin (with the useBaseVersion set to true in ear plugin configuration) and it is now working:
> [INFO] Copying artifact[jar:xxx:yyy:1.0-20181106.150409-27] to[yyy-*1.0-SNAPSHOT*.jar]
> The "useBaseVersion" parameter has no effect with 3.0.1 version of the plugin except displaying the warn message "Using _useBaseVersion_ not _yet_ fixed".



--
This message was sent by Atlassian Jira
(v8.3.4#803005)