[ 
https://issues.apache.org/jira/browse/MASSEMBLY-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16500737#comment-16500737
 ] 

Sriram Kotni commented on MASSEMBLY-889:
----------------------------------------

Hi Karl,

I am using EMBEDDED maven in eclipse version 3.3.3/1.6.320160209-1444
And on Jenkins I am using Maven-3.3.1
JDB I used both 1.7 and 1.8

Environment is in Jenkins and also ecliplse:
        Eclipse Java EE IDE for Web Developers.
        Version: Mars.2 Release (4.5.2)
        Build id: 20160218-0600

My pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  
<groupId>it.cits.ciscoworkforcecontentservices.kbconnectsdaas.jasperconnectkb</groupId>
  <artifactId>tomcat7</artifactId>
  <packaging>pom</packaging>
  <version>1.0.0-SNAPSHOT</version>
  <name>tomcat7 Maven Webapp</name>

  <modules>
    <module>ConnectKBM</module>
    <module>ConnectKBR</module>
  </modules>
  <build>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-assembly-plugin</artifactId>
                                <version>2.4</version>
                                <executions>
                                        <execution>
                                                <id>package-tar-gz</id>
                                                <phase>package</phase>
                                                <goals>
                                                        <goal>single</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                <configuration>
                                        
<appendAssemblyId>false</appendAssemblyId>
                                        <descriptors>
                                                
<descriptor>assembly.xml</descriptor>
                                        </descriptors>
                                </configuration>
                        </plugin>
                </plugins>
        </build>
</project>

And my assembly.xml

<?xml version="1.0" encoding="UTF-8"?>
<assembly>
  <id>${project.version}</id>
  <formats>
    <format>tar.gz</format>
  </formats>
       <files>
            <file>
                 <source>pom.xml</source>
                 <outputDirectory>/package</outputDirectory>
            </file>
       </files>
  <includeBaseDirectory>false</includeBaseDirectory>
  <fileSets>
    <fileSet>
        <directory>${project.build.directory}/../package</directory>
                <outputDirectory>/</outputDirectory>
    </fileSet>
  </fileSets>
</assembly>

Some debug information:

May be this message will give some clue: “DEBUG] Cannot find ArtifactResolver 
with hint: project-cache-aware”

---------------------
[INFO] Reading assembly descriptor: assembly.xml
[DEBUG] Before assembly is interpolated:

<?xml version="1.0" encoding="UTF-8"?>
<assembly 
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
 http://maven.apache.org/xsd/assembly-1.1.2.xsd";
    xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <id>${project.version}</id>
  <formats>
    <format>tar.gz</format>
  </formats>
  <includeBaseDirectory>false</includeBaseDirectory>
  <fileSets>
    <fileSet>
      <outputDirectory>/</outputDirectory>
      <directory>${project.build.directory}/../package</directory>
    </fileSet>
  </fileSets>
</assembly>



[DEBUG] After assembly is interpolated:

<?xml version="1.0" encoding="UTF-8"?>
<assembly 
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
 http://maven.apache.org/xsd/assembly-1.1.2.xsd";
    xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <id>1.0.0-SNAPSHOT</id>
  <formats>
    <format>tar.gz</format>
  </formats>
  <includeBaseDirectory>false</includeBaseDirectory>
  <fileSets>
    <fileSet>
      <outputDirectory>/</outputDirectory>
      <directory>target/../package</directory>
    </fileSet>
  </fileSets>
</assembly>



[DEBUG] All known ContainerDescriptorHandler components: [plexus, 
file-aggregator, metaInf-services, metaInf-spring]
[DEBUG] Cannot find ArtifactResolver with hint: project-cache-aware
org.codehaus.plexus.component.repository.exception.ComponentLookupException: 
java.util.NoSuchElementException
      role: org.apache.maven.artifact.resolver.ArtifactResolver
  roleHint: project-cache-aware
      at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:267)
      at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243)

Sriram Kotni
[email protected]
Cisco Systems, Inc.
3003 Bunker Hill Lane
SANTA CLARA 95054
United States


Think before you print.
This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.
Please click here for Company Registration Information.




> Maven assembly not able to handle large capacity .tar.gz packaging
> ------------------------------------------------------------------
>
>                 Key: MASSEMBLY-889
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-889
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>         Environment: Linux
>            Reporter: Sriram Kotni
>            Priority: Major
>              Labels: maven
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> We are using Maven assembly to tar.gz file size of 2.5 gb is not able to 
> handle. Because of this we are not able support multi language Knowledge Base 
> support. There is a big impact for our business. 
> Any suggestions and alternate solutions are appreciated.
>  
> Thanks,
> Sriram



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to