Index: applications/editors/josm/plugins/geotools/build.xml
===================================================================
--- applications/editors/josm/plugins/geotools/build.xml	(revision 29024)
+++ applications/editors/josm/plugins/geotools/build.xml	(revision 29025)
@@ -11,5 +11,5 @@
     <property name="plugin.icon" value="images/compass.png"/>
     <!--<property name="plugin.link" value="..."/>-->
-    <property name="plugin.early" value="true"/>
+    <!--<property name="plugin.early" value="..."/>-->
     <property name="plugin.requires" value="jts"/>
     <property name="plugin.stage" value="20"/>
@@ -25,5 +25,5 @@
     <target name="post-dist">
     	<move file="${plugin.jar}" todir="${plugin.build.dir}" />
-    	<jar destfile="${plugin.jar}">
+    	<jar destfile="${plugin.jar}" filesetmanifest="merge">
             <fileset dir="jar"/>
     		<zipfileset src="${plugin.build.dir}/${ant.project.name}.jar">
@@ -33,5 +33,8 @@
                 <exclude name="javax/*.txt"/>
     		</zipfileset>
-            <zipfileset src="${plugin.build.dir}/${ant.project.name}.jar" includes="META-INF/*.jai" />
+    	    <zipfileset src="${plugin.build.dir}/${ant.project.name}.jar">
+    	        <include name="META-INF/MANIFEST.MF"/>
+    	        <include name="META-INF/*.jai"/>
+    	    </zipfileset>
     	</jar>
     	<delete file="${plugin.build.dir}/${ant.project.name}.jar" />
