Author: max.andersen(a)jboss.com
Date: 2010-04-01 15:53:49 -0400 (Thu, 01 Apr 2010)
New Revision: 21222
Modified:
branches/modular_build/genpom.scala
Log:
JBDS-486. for now skip docs/pom.xml in aggregator since they are dependent on maven2
Modified: branches/modular_build/genpom.scala
===================================================================
--- branches/modular_build/genpom.scala 2010-04-01 19:15:54 UTC (rev 21221)
+++ branches/modular_build/genpom.scala 2010-04-01 19:53:49 UTC (rev 21222)
@@ -158,7 +158,7 @@
}
def isModule(n : File) : Boolean = {
- def v = new File(n, "pom.xml").exists() ||
+ def v = (new File(n, "pom.xml").exists() &&
!n.getName().equals("docs")) ||
(!n.getName().contains(".sdk.") && (new File(new File(n,
"META-INF"), "MANIFEST.MF").exists()) || (new File(n,
"feature.xml").exists())) || (hasDirectory(n, "features") ||
hasDirectory(n, "tests") || hasDirectory(n, "plugins"))
return v
}
Show replies by date