diff --git a/Sd1/Makefile b/Sd1/Makefile
index d0dfab6dfdb84617e8a107e2c495f22feb215acb..2f1d8e47cb7a50ccb86c53f2604f111a343af367 100644
--- a/Sd1/Makefile
+++ b/Sd1/Makefile
@@ -15,7 +15,7 @@ BUILDROOT=/tmp
 #
 # Directories containing pom.xml files
 #
-POMDIRS= $(shell find P -name pom.xml|sed -e s/pom.xml//g)
+POMDIRS= $(shell find P -name pom.xml|grep -v target/classes/META-INF|sed -e s/pom.xml//g)
 
 #
 # Dependent destinations