changeset 1089:6458910333b7

Remove symlink and add build instructions to include plugin.xsd in launcher.jar Reviewed-by: neugens, jerboaa Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-May/006643.html
author Giovanni Astarita <gastarit@redhat.com>
date Thu, 16 May 2013 12:39:05 +0200
parents 3a0db0e80562
children 9372e2088954
files launcher/pom.xml launcher/src/main/resources/plugin.xsd
diffstat 2 files changed, 17 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/launcher/pom.xml	Mon May 13 14:22:03 2013 +0200
+++ b/launcher/pom.xml	Thu May 16 12:39:05 2013 +0200
@@ -53,6 +53,23 @@
   
 
   <build>
+    <resources>
+      <!-- Instructions that include thermostat plugin schema into the launcher jar -->
+      <resource>
+        <directory>${basedir}/../distribution/docs/</directory>
+        <includes>
+          <include>plugin.xsd</include>
+        </includes>
+      </resource>
+      <!-- Instructions are not cumulative to default behaviour, 
+           so it's necessary to add default behaviour instructions after explicit previous ones -->
+      <resource>
+        <directory>src/main/resources/</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
--- a/launcher/src/main/resources/plugin.xsd	Mon May 13 14:22:03 2013 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-../../../../distribution/docs/plugin.xsd
\ No newline at end of file