You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2012/11/02 11:59:13 UTC

[jira] (MASSEMBLY-383) Different behaviour between linux and windows regarding SNASPHOT dependencies packaging

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

Dennis Lundberg updated MASSEMBLY-383:
--------------------------------------

    Description: 
I've used the following descriptor to pack all the transitive dependencies of a project in a single tar.gz:

{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<assembly>
    <id>bin</id>
    <formats>
        <format>tar.gz</format>
    </formats>
    <dependencySets>
        <dependencySet>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>*:*</include>
            </includes>
            <unpack>false</unpack>
            <scope>runtime</scope>
        </dependencySet>
    </dependencySets>
</assembly>
{code}

I've got different results if running mvn assembly:assembly in linux or in windows, regarding the SNASPSHOT dependencies.

In linux the SNAPSHOT  dependencies jars are of the form:
depName-1.4-beta-6-SNAPSHOT.jar

In windows the same SNAPSHOT  dependencies jars are of the form:
depName-1.4-beta-6-20090114.094414-1.jar

Best regards,

Enrico

  was:
I've used the following descriptor to pack all the transitive dependencies of a project in a single tar.gz:

<?xml version="1.0" encoding="UTF-8"?>
<assembly>
    <id>bin</id>
    <formats>
        <format>tar.gz</format>
    </formats>
    <dependencySets>
        <dependencySet>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>*:*</include>
            </includes>
            <unpack>false</unpack>
            <scope>runtime</scope>
        </dependencySet>
    </dependencySets>
</assembly>

I've got different results if running mvn assembly:assembly in linux or in windows, regarding the SNASPSHOT dependencies.

In linux the SNAPSHOT  dependencies jars are of the form:
depName-1.4-beta-6-SNAPSHOT.jar

In windows the same SNAPSHOT  dependencies jars are of the form:
depName-1.4-beta-6-20090114.094414-1.jar

Best regards,

Enrico

    
> Different behaviour between linux and windows regarding SNASPHOT dependencies packaging
> ---------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-383
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-383
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-3
>         Environment: windows, linux
>            Reporter: Enrico Boldrini
>
> I've used the following descriptor to pack all the transitive dependencies of a project in a single tar.gz:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <assembly>
>     <id>bin</id>
>     <formats>
>         <format>tar.gz</format>
>     </formats>
>     <dependencySets>
>         <dependencySet>
>             <outputDirectory>lib</outputDirectory>
>             <includes>
>                 <include>*:*</include>
>             </includes>
>             <unpack>false</unpack>
>             <scope>runtime</scope>
>         </dependencySet>
>     </dependencySets>
> </assembly>
> {code}
> I've got different results if running mvn assembly:assembly in linux or in windows, regarding the SNASPSHOT dependencies.
> In linux the SNAPSHOT  dependencies jars are of the form:
> depName-1.4-beta-6-SNAPSHOT.jar
> In windows the same SNAPSHOT  dependencies jars are of the form:
> depName-1.4-beta-6-20090114.094414-1.jar
> Best regards,
> Enrico

--
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