The cause seems to be that the war file contains the entire current
directory, including temporary files, inside of its META-INF directory.
The following is the current pom.xml content, but it was never meant to
include the entire basedir/../ in META-INF:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.2</version>
<configuration>
<webResources>
<resource>
<directory>${basedir}/src/main/resources/</directory>
<targetPath>/resources</targetPath>
<filtering>true</filtering>
</resource>
<resource>
<directory>${basedir}/../</directory>
<targetPath>/META-INF</targetPath>
</resource>
</webResources>
</configuration>
The change was made in the following commit to remove the selective
include, which resulted in everything being included:
https://github.com/ansell/any23/commit/ff5ad20c3e4a1b31d6b539f455da7fa0ec49321f
Peter
On 26 June 2013 13:32, Peter Ansell <[email protected]> wrote:
> That doesn't look right to me. What is making the service files that large?
>
> On my machine the file sizes are:
>
> -rw-rw-r-- 1 peter peter 30M Jun 26 13:30
> apache-any23-service-0.8.0-server-embedded.tar.gz
> -rw-rw-r-- 1 peter peter 30M Jun 26 13:30
> apache-any23-service-0.8.0-server-embedded.zip
> -rw-rw-r-- 1 peter peter 26M Jun 26 13:30 apache-any23-service-0.8.0.war
> -rw-rw-r-- 1 peter peter 26M Jun 26 13:30
> apache-any23-service-0.8.0-with-deps.tar.gz
> -rw-rw-r-- 1 peter peter 26M Jun 26 13:30
> apache-any23-service-0.8.0-with-deps.zip
> -rw-rw-r-- 1 peter peter 123K Jun 26 13:30
> apache-any23-service-0.8.0-without-deps.tar.gz
> -rw-rw-r-- 1 peter peter 117K Jun 26 13:30
> apache-any23-service-0.8.0-without-deps.war
> -rw-rw-r-- 1 peter peter 123K Jun 26 13:30
> apache-any23-service-0.8.0-without-deps.zip
>
>
> I don't really understand why, but the current 0.9.0-SNAPSHOT files are
> around 200MB, and there have only been a few changes since 0.8.0 came out.
>
> -rw-rw-r-- 1 peter peter 208M Jun 26 13:26
> apache-any23-service-0.9.0-SNAPSHOT-server-embedded.tar.gz
> -rw-rw-r-- 1 peter peter 208M Jun 26 13:27
> apache-any23-service-0.9.0-SNAPSHOT-server-embedded.zip
> -rw-rw-r-- 1 peter peter 205M Jun 26 13:25
> apache-any23-service-0.9.0-SNAPSHOT.war
> -rw-rw-r-- 1 peter peter 204M Jun 26 13:26
> apache-any23-service-0.9.0-SNAPSHOT-with-deps.tar.gz
> -rw-rw-r-- 1 peter peter 204M Jun 26 13:26
> apache-any23-service-0.9.0-SNAPSHOT-with-deps.zip
> -rw-rw-r-- 1 peter peter 178M Jun 26 13:26
> apache-any23-service-0.9.0-SNAPSHOT-without-deps.tar.gz
> -rw-rw-r-- 1 peter peter 179M Jun 26 13:25
> apache-any23-service-0.9.0-SNAPSHOT-without-deps.war
> -rw-rw-r-- 1 peter peter 178M Jun 26 13:26
> apache-any23-service-0.9.0-SNAPSHOT-without-deps.zip
>
> Peter
>
>
> On 26 June 2013 12:21, Lewis John Mcgibbney <[email protected]>wrote:
>
>> Hi INFRA,
>> I did not realize that some of the Any23 release artifacts were in the GB.
>> The following artifacts (around 7 of them) from the staging URL [0] are in
>> the GB range and I cannot commit them to SVN [1]. I also remember seeing
>> some traffic (a while back) regarding notice which we were supposed to
>> give
>> you if we wished to publish artifacts of this size... I therefore
>> apologize
>> for not getting this through to you earlier.
>> Can you please suggest how we can release these artifacts?
>> Thank you very much.
>> Lewis
>>
>> [0] http://people.apache.org/~lewismc/any23/0.8.0/
>> [1] https://dist.apache.org/repos/dist/release/any23/0.8.0/
>>
>> [image: [ ]] apache-any23-service-0.8.0-javadoc.jar
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-javadoc.jar
>> >
>> 20-Jun-2013 23:06 77K [image: [ ]]
>> apache-any23-service-0.8.0-javadoc.jar.asc
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-javadoc.jar.asc
>> >
>> 20-Jun-2013 23:06 836 [image: [ ]]
>> apache-any23-service-0.8.0-server-embedded.tar.gz
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-server-embedded.tar.gz
>> >
>> 20-Jun-2013 23:07 2.0G [image: [ ]]
>> apache-any23-service-0.8.0-server-embedded.tar.gz.asc
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-server-embedded.tar.gz.asc
>> >
>> 20-Jun-2013 23:07 836 [image: [ ]]
>> apache-any23-service-0.8.0-server-embedded.zip
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-server-embedded.zip
>> >
>> 20-Jun-2013 23:07 2.0G [image: [ ]]
>> apache-any23-service-0.8.0-server-embedded.zip.asc
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-server-embedded.zip.asc
>> >
>> 20-Jun-2013 23:07 836 [image: [ ]]
>> apache-any23-service-0.8.0-sources.jar
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-sources.jar
>> >
>> 20-Jun-2013 23:07 23K [image: [ ]]
>> apache-any23-service-0.8.0-sources.jar.asc
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-sources.jar.asc
>> >
>> 20-Jun-2013 23:07 836 [image: [ ]]
>> apache-any23-service-0.8.0-with-deps.tar.gz
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-with-deps.tar.gz
>> >
>> 20-Jun-2013 23:09 2.0G [image: [ ]]
>> apache-any23-service-0.8.0-with-deps.tar.gz.asc
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-with-deps.tar.gz.asc
>> >
>> 20-Jun-2013 23:09 836 [image: [ ]]
>> apache-any23-service-0.8.0-with-deps.zip
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-with-deps.zip
>> >
>> 20-Jun-2013 23:09 2.0G [image: [ ]]
>> apache-any23-service-0.8.0-with-deps.zip.asc
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-with-deps.zip.asc
>> >
>> 20-Jun-2013 23:09 836 [image: [ ]]
>> apache-any23-service-0.8.0-without-deps.tar.gz
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-without-deps.tar.gz
>> >
>> 20-Jun-2013 23:10 1.9G [image: [ ]]
>> apache-any23-service-0.8.0-without-deps.tar.gz.asc
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-without-deps.tar.gz.asc
>> >
>> 20-Jun-2013 23:10 836 [image: [ ]]
>> apache-any23-service-0.8.0-without-deps.war
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-without-deps.war
>> >
>> 20-Jun-2013 23:11 1.9G [image: [ ]]
>> apache-any23-service-0.8.0-without-deps.war.asc
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-without-deps.war.asc
>> >
>> 20-Jun-2013 23:11 836 [image: [ ]]
>> apache-any23-service-0.8.0-without-deps.zip
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-without-deps.zip
>> >
>> 20-Jun-2013 23:11 1.9G [image: [ ]]
>> apache-any23-service-0.8.0-without-deps.zip.asc
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0-without-deps.zip.asc
>> >
>> 20-Jun-2013 23:11 836 [image: [ ]]
>> apache-any23-service-0.8.0.pom
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0.pom
>> >
>> 20-Jun-2013 23:06 6.9K [image: [ ]]
>> apache-any23-service-0.8.0.pom.asc
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0.pom.asc
>> >
>> 20-Jun-2013 23:06 836 [image: [ ]]
>> apache-any23-service-0.8.0.war
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0.war
>> >
>> 20-Jun-2013 23:08 2.0G [image: [ ]]
>> apache-any23-service-0.8.0.war.asc
>> <
>> http://people.apache.org/%7Elewismc/any23/0.8.0/apache-any23-service-0.8.0.war.asc
>> >
>> 20-Jun-2013 23:08 836
>>
>>
>>
>> --
>> *Lewis*
>>
>
>