You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Delany (Jira)" <ji...@apache.org> on 2022/06/18 13:40:00 UTC

[jira] [Updated] (MRRESOURCES-117) Inherit resourceBundle version

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

Delany updated MRRESOURCES-117:
-------------------------------
    Affects Version/s: 1.7.0
          Description: 
[~lachiewicz@plusnet.pl] please reopen, this is still an issue.

The resourceBundle requires a version number
{code:java}
<dependency>com.sloan:pestle</dependency>

...

<resourceBundle>com.sloan:pestle:${pestle.version}</resourceBundle> {code}
The version number for this dependency is in the model (it was set in the dependencyManagement section of the parent). So why can't I use it for the resourceBundle? Im forced to use a property, or hardcode it.

For reference the artifactSet of the maven-shade-plugin has no problem deriving the dependency version from the model.

> Inherit resourceBundle version
> ------------------------------
>
>                 Key: MRRESOURCES-117
>                 URL: https://issues.apache.org/jira/browse/MRRESOURCES-117
>             Project: Maven Remote Resources Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.7.0
>            Reporter: Delany
>            Priority: Minor
>
> [~lachiewicz@plusnet.pl] please reopen, this is still an issue.
> The resourceBundle requires a version number
> {code:java}
> <dependency>com.sloan:pestle</dependency>
> ...
> <resourceBundle>com.sloan:pestle:${pestle.version}</resourceBundle> {code}
> The version number for this dependency is in the model (it was set in the dependencyManagement section of the parent). So why can't I use it for the resourceBundle? Im forced to use a property, or hardcode it.
> For reference the artifactSet of the maven-shade-plugin has no problem deriving the dependency version from the model.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)