diff --git a/openjpa-project/assembly.xml b/openjpa-project/assembly.xml
index d6bd765b7..413f5e529 100644
--- a/openjpa-project/assembly.xml
+++ b/openjpa-project/assembly.xml
@@ -69,8 +69,14 @@
docs/javadoc
- ../openjpa-examples/src/main/java
+ ../openjpa-examples
examples
+
+ **/target/**
+ **/*.log
+ **/.*
+ **/.*/**
+
diff --git a/openjpa-project/pom.xml b/openjpa-project/pom.xml
index fa9112bfe..a26756d6c 100644
--- a/openjpa-project/pom.xml
+++ b/openjpa-project/pom.xml
@@ -123,7 +123,9 @@
attached
- assembly.xml
+
+ assembly.xml
+
${openjpa.assembly.outputDirectory}
target/work
diff --git a/openjpa-project/source-assembly.xml b/openjpa-project/source-assembly.xml
index d17aff015..8c062fa71 100644
--- a/openjpa-project/source-assembly.xml
+++ b/openjpa-project/source-assembly.xml
@@ -36,6 +36,8 @@
**/target/**
**/*.log
+ **/.*
+ **/.*/**