You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ahmed El-Madhoun (JIRA)" <ji...@codehaus.org> on 2012/08/09 13:17:21 UTC

[jira] (MASSEMBLY-622) Unable to create "TAR" artifacts

Ahmed El-Madhoun created MASSEMBLY-622:
------------------------------------------

             Summary: Unable to create "TAR" artifacts
                 Key: MASSEMBLY-622
                 URL: https://jira.codehaus.org/browse/MASSEMBLY-622
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.3
         Environment: [aelmadho@aelmadho-laptop Kernel]$ mvn -version
Apache Maven 3.0.4 (rNON-CANONICAL_2012-07-25_12-05_mockbuild; 2012-07-25 08:05:49-0400)
Maven home: /usr/share/maven
Java version: 1.7.0_05-icedtea, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.5.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.5.0-2.fc17.x86_64", arch: "amd64", family: "unix"
            Reporter: Ahmed El-Madhoun
            Priority: Critical
         Attachments: assembly.xml, maven-assembly-error.txt, pom.xml

To reproduce the case, you may need to just re-point the POM to the assembly descriptor attached.  I am simply able to do the same if I specify a type of "jar" or "zip", but not when using any sort of "tar" based type.

We are using this as a primary basis of our build, which is primarily in C, and I would greatly appreciate any help or feedback on this item.

Alot of thanks on the great work already!

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

        

[jira] (MASSEMBLY-622) Unable to create "TAR" artifacts

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MASSEMBLY-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312465#comment-312465 ] 

Dennis Lundberg commented on MASSEMBLY-622:
-------------------------------------------

Ahmed,

What is it that you are trying to do with the Assembly plugin? Please describe in more detail what you want to do, the results you expect, the actual results and how they differ from what you expect.

The files that you have attached cannot be put together into a buildable Maven project, and without a buildable Maven project it is near impossible to find out what is wrong. If you can, please attach an archive of a complete buildable project that can be used to reproduce this issue.

What Linux OS are you on?
Are you using a home-built version of Maven 3.0.4?
                
> Unable to create "TAR" artifacts
> --------------------------------
>
>                 Key: MASSEMBLY-622
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-622
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>         Environment: [aelmadho@aelmadho-laptop Kernel]$ mvn -version
> Apache Maven 3.0.4 (rNON-CANONICAL_2012-07-25_12-05_mockbuild; 2012-07-25 08:05:49-0400)
> Maven home: /usr/share/maven
> Java version: 1.7.0_05-icedtea, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.5.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.5.0-2.fc17.x86_64", arch: "amd64", family: "unix"
>            Reporter: Ahmed El-Madhoun
>            Priority: Critical
>         Attachments: assembly.xml, maven-assembly-error.txt, pom.xml
>
>
> To reproduce the case, you may need to just re-point the POM to the assembly descriptor attached.  I am simply able to do the same if I specify a type of "jar" or "zip", but not when using any sort of "tar" based type.
> We are using this as a primary basis of our build, which is primarily in C, and I would greatly appreciate any help or feedback on this item.
> Alot of thanks on the great work already!

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

        

[jira] (MASSEMBLY-622) Unable to create "TAR" artifacts

Posted by "Ahmed El-Madhoun (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MASSEMBLY-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=305895#comment-305895 ] 

Ahmed El-Madhoun commented on MASSEMBLY-622:
--------------------------------------------

I was able to get passed this issue by changing the amount of artifacts that I am including in the "include" subfolder, so I changed my assembly descriptor to have this include instead:

			<includes>
				<include>stblinux-2.6.37/.config</include>
				<include>stblinux-2.6.37/Module.symvers</include>
				<include>stblinux-2.6.37/include/**/*.h</include>
				<include>stblinux-2.6.37/arch/mips/**</include>
				<include>stblinux-2.6.37/scripts/**</include>
				<include>stblinux-2.6.37/Makefile</include>
				<include>uclinux-rootfs/images/**</include>
				<include>uclinux-rootfs/images/vmlinuz-*</include>
			</includes>

Note <include>stblinux-2.6.37/include/**/*.h</include> is only including header files.  I can provide you with full list of files if that would help, but at least, we only need the headers to get passed this, but it would be nice to know if there is an issue and perhaps have it fixed.

Thanks in advance for your help!
                
> Unable to create "TAR" artifacts
> --------------------------------
>
>                 Key: MASSEMBLY-622
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-622
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>         Environment: [aelmadho@aelmadho-laptop Kernel]$ mvn -version
> Apache Maven 3.0.4 (rNON-CANONICAL_2012-07-25_12-05_mockbuild; 2012-07-25 08:05:49-0400)
> Maven home: /usr/share/maven
> Java version: 1.7.0_05-icedtea, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.5.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.5.0-2.fc17.x86_64", arch: "amd64", family: "unix"
>            Reporter: Ahmed El-Madhoun
>            Priority: Critical
>         Attachments: assembly.xml, maven-assembly-error.txt, pom.xml
>
>
> To reproduce the case, you may need to just re-point the POM to the assembly descriptor attached.  I am simply able to do the same if I specify a type of "jar" or "zip", but not when using any sort of "tar" based type.
> We are using this as a primary basis of our build, which is primarily in C, and I would greatly appreciate any help or feedback on this item.
> Alot of thanks on the great work already!

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