https://svn.apache.org/repos/asf/cxf/trunk/distribution/pom.xml


It's not in a profile here, since we condition the entire distribution
module on a release profile. It should work just the same if the
plugin spec is inside a profile.

I note that ours has only config in the execution, none at top-level.

mvn -X might also be informative.


On Fri, Oct 23, 2009 at 5:12 PM, Grant Ingersoll <[email protected]>wrote:

> Hey Benson,
>
> Do you know how to turn this on the release profile?
>
> I put in:
> <plugin>
>            <artifactId>maven-assembly-plugin</artifactId>
>            <configuration>
>              <descriptorRefs>
>                <descriptorRef>project</descriptorRef>
>              </descriptorRefs>
>              <tarLongFileMode>gnu</tarLongFileMode>
>            </configuration>
>            <executions>
>              <execution>
>                <id>make-assembly</id>
>                <!-- this is used for inheritance merges -->
>                <phase>package</phase>
>                <!-- append to the packaging phase. -->
>                <goals>
>                  <goal>single</goal>
>                  <!-- goals == mojos -->
>                </goals>
>                <configuration>
>                  <tarLongFileMode>gnu</tarLongFileMode>
>                </configuration>
>              </execution>
>            </executions>
>          </plugin>
>
> but I am still getting:
>  Failed to create assembly: Error creating assembly archive project:
> Problem creating TAR: request to write '0' bytes exceeds size in header of
> '-1535663957' bytes
>
>
> -Grant
>
> On Jul 16, 2009, at 10:48 AM, Benson Margulies wrote:
>
>  Do you have long mode turned on?
>>
>> On Thu, Jul 16, 2009 at 10:01 AM, Grant Ingersoll<[email protected]>
>> wrote:
>>
>>> Anyone else seeing: Failed to create assembly: Error creating assembly
>>> archive project: Problem creating TAR: request to write '0' bytes exceeds
>>> size in header of '-1535663957' bytes
>>>
>>> when doing mvn install.  I know the problem has to do with TAR.  I'm just
>>> wondering if we should switch to JAR/Zip packaging only, instead of
>>> tarballs.
>>>
>>>
>
>

Reply via email to