You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "BJ Allmon (JIRA)" <ji...@codehaus.org> on 2009/12/02 20:32:55 UTC

[jira] Created: (MASSEMBLY-453) Maven assembly plugin doesn't throws error when dependency version contains the brackets for tight tolerance

Maven assembly plugin doesn't throws error when dependency version contains the brackets for tight tolerance
------------------------------------------------------------------------------------------------------------

                 Key: MASSEMBLY-453
                 URL: http://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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MASSEMBLY-453) Maven assembly plugin doesn't throws error when dependency version contains the brackets for tight tolerance

Posted by "BJ Allmon (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=200348#action_200348 ] 

BJ Allmon commented on MASSEMBLY-453:
-------------------------------------

Title is goofed up.. Meant to say..
"Maven assembly plugin throws build error when a pom dependency has a version that contains the brackets for tight tolerance"

> Maven assembly plugin doesn't throws error when dependency version contains the brackets for tight tolerance
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-453
>                 URL: http://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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MASSEMBLY-453) Maven assembly plugin throws build error when a pom dependency has a version that contains the brackets for tight tolerance

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ 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