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

Dennis Lundberg updated MASSEMBLY-453:
--------------------------------------

    Summary: Maven assembly plugin throws build error when a pom dependency has 
a version that contains the brackets for tight tolerance  (was: Maven assembly 
plugin doesn't throws error when dependency version contains the brackets for 
tight tolerance)
    
> Maven assembly plugin throws build error when a pom dependency has a version 
> that contains the brackets for tight tolerance
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-453
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-453
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>         Environment: Any
>            Reporter: BJ Allmon
>            Priority: Minor
>
> Current behavior:
> A module that executes an assembly will fail with a build error indicating 
> that the dependency artifact version is null for any dependency that includes 
> brackets.
> The brackets are used indirectly through a property. For example: 
> <version>${myApplication.currentVersion}</version> = 
> <version>[1.0-SNAPSHOT]</version>
> The work around(s): 
> 1. Manage static dependency versions in the POM files that include the 
> assembly
> 2. Maintain two different properties. One for build dependencies with 
> brackets and one for assemblies without brackets.
> FIX:
> The assembly plugin should simply ignore possible dependency ranges and other 
> things that are used. Larger projects use properties for version when there 
> are several modules to manage.
> Plugin details: http://maven.apache.org/plugins/maven-assembly-plugin/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to