aboutsummaryrefslogtreecommitdiffstats
path: root/maven-meeper/src
diff options
context:
space:
mode:
authorCarlos Sanchez Gonzalez <carlos@apache.org>2007-02-15 19:30:00 +0000
committerCarlos Sanchez Gonzalez <carlos@apache.org>2007-02-15 19:30:00 +0000
commitddd20a89f63079458edf2adc8648d28d57d07f5c (patch)
treefef106a1e2ec5b5fcc23dcb366ae5cde988db0d9 /maven-meeper/src
parent4fdbebb56be3b0a057e75c207383f7e72679053c (diff)
downloadarchiva-ddd20a89f63079458edf2adc8648d28d57d07f5c.tar.gz
archiva-ddd20a89f63079458edf2adc8648d28d57d07f5c.zip
Add a script to count jars
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@508096 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven-meeper/src')
-rwxr-xr-xmaven-meeper/src/bin/stats.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/maven-meeper/src/bin/stats.sh b/maven-meeper/src/bin/stats.sh
new file mode 100755
index 000000000..ff2bcc807
--- /dev/null
+++ b/maven-meeper/src/bin/stats.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+JARS=`find $M2_REPO -iname *.jar | wc -l`
+POMS=`find $M2_REPO -iname *.pom | wc -l`
+BINJARS=`find $M2_REPO -iname *.jar ! -iname *-sources.jar ! -iname *-javadoc.jar | wc -l`
+SOURCES=`find $M2_REPO -iname *-sources.jar | wc -l`
+JAVADOCS=`find $M2_REPO -iname *-javadoc.jar | wc -l`
+
+echo total jars: $JARS
+echo poms: $POMS
+echo binary jars: $BINJARS
+echo sources: $SOURCES
+echo javadocs: $JAVADOCS