diff --git a/NOTICE.md b/NOTICE.md
index 8e04341a..e00e968d 100644
--- a/NOTICE.md
+++ b/NOTICE.md
@@ -55,4 +55,4 @@ may have restrictions on the import, possession, and use, and/or re-export to
another country, of encryption software. BEFORE using any encryption software,
please check the country's laws, regulations and policies concerning the import,
possession, or use, and re-export of encryption software, to see if this is
-permitted.ed.
\ No newline at end of file
+permitted.
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index d3b1c06b..8d4ff8b1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -83,8 +83,9 @@
${project.version}
1.1.0
false
- ${maven.multiModuleProjectDirectory}
- ${project.root.location}/etc/config
+ ${project.build.directory}/common-resources
+ ${project.build.commonResourcesDirectory}/legal
+ ${project.build.commonResourcesDirectory}/config
${config.dir}/copyright-exclude
${config.dir}/copyright.txt
false
@@ -127,21 +128,49 @@
- org.commonjava.maven.plugins
- directory-maven-plugin
-
-
- find-project-root
- validate
-
- highest-basedir
-
-
- project.root.location
-
-
-
-
+ org.apache.maven.plugins
+ maven-assembly-plugin
+
+
+ common-resources
+ generate-resources
+
+ single
+
+ false
+
+
+ src/main/assembly/resources.xml
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+
+
+ unpack-resource
+ generate-resources
+
+ unpack
+
+
+
+
+ ${project.groupId}
+ project
+ ${project.version}
+ resources
+ zip
+ ${project.build.commonResourcesDirectory}
+
+
+
+
+
+
org.codehaus.mojo
buildnumber-maven-plugin
@@ -222,10 +251,6 @@
${legal.doc.source}
-
- NOTICE.md
- LICENSE.md
-
META-INF
@@ -488,7 +513,6 @@
${spotbugs.skip}
${spotbugs.threshold}
- true
${spotbugs.exclude}
diff --git a/src/main/assembly/resources.xml b/src/main/assembly/resources.xml
new file mode 100644
index 00000000..636f469d
--- /dev/null
+++ b/src/main/assembly/resources.xml
@@ -0,0 +1,45 @@
+
+
+
+
+ resources
+
+ zip
+
+ false
+
+
+ ${project.basedir}
+ legal
+
+ LICENSE.md
+ NOTICE.md
+
+
+
+ ${project.basedir}/etc/config
+ config
+
+ *
+
+
+
+
\ No newline at end of file