Author: bdelacretaz
Date: Tue Jun  3 02:32:46 2008
New Revision: 662720

URL: http://svn.apache.org/viewvc?rev=662720&view=rev
Log:
SLING-493 - ignore dependencies having scope=test

Modified:
    incubator/sling/trunk/etc/notice/mknotice

Modified: incubator/sling/trunk/etc/notice/mknotice
URL: 
http://svn.apache.org/viewvc/incubator/sling/trunk/etc/notice/mknotice?rev=662720&r1=662719&r2=662720&view=diff
==============================================================================
--- incubator/sling/trunk/etc/notice/mknotice (original)
+++ incubator/sling/trunk/etc/notice/mknotice Tue Jun  3 02:32:46 2008
@@ -55,6 +55,7 @@
   
   ( mvn $MVN_OPT $GOAL || fatal "mvn $MVN_OPT $GOAL failed" ) \
   | grep '\[INFO\].*:.*:.*:.*' \
+  | grep -v "(scope[ ]*=[ ]*test" \
   | grep -v 'Finished at:' \
   | egrep -v "$NO_NOTICE_FILTER" | awk -F' ' '{ print $2 }' \
   | cut -d':' -f1-2
@@ -85,7 +86,6 @@
 generate_notice() {
        set_project_name
        [[ -n "$PROJECT_NAME" ]] || fatal "Project name not found"
-       echo 
"------------------------------------------------------------------------------"
        echo $PROJECT_NAME  
        cat $GLOBAL_PREFIX || fatal "prefix output failed"
        collect_deps | map_deps | sort -u | while read notice


Reply via email to