You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by as...@apache.org on 2006/06/01 13:54:49 UTC

svn commit: r410846 - in /incubator/synapse/branches/M2: maven.xml modules/extensions/maven.xml

Author: asankha
Date: Thu Jun  1 04:54:47 2006
New Revision: 410846

URL: http://svn.apache.org/viewvc?rev=410846&view=rev
Log:
create manifests for JARs

Modified:
    incubator/synapse/branches/M2/maven.xml
    incubator/synapse/branches/M2/modules/extensions/maven.xml

Modified: incubator/synapse/branches/M2/maven.xml
URL: http://svn.apache.org/viewvc/incubator/synapse/branches/M2/maven.xml?rev=410846&r1=410845&r2=410846&view=diff
==============================================================================
--- incubator/synapse/branches/M2/maven.xml (original)
+++ incubator/synapse/branches/M2/maven.xml Thu Jun  1 04:54:47 2006
@@ -318,7 +318,18 @@
     </goal> -->
 
     <goal name="create-jar" prereqs="init">
-        <jar destfile="target/lib/${pom.artifactId}-${pom.currentVersion}.jar">
+			    <manifest file="MANIFEST.MF">
+			    <attribute name="Extension-Name" value="org.apache.synapse"/>
+			    <attribute name="Specification-Title" value="${pom.artifactId}"/>
+			    <attribute name="Specification-Vendor" value="Apache Software Foundation"/>
+					<attribute name="Specification-Version" value="${pom.currentVersion}"/>			      
+			    <attribute name="Implementation-Title" value="Apache Synapse"/>			
+			    <attribute name="Implementation-Vendor-Id" value="org.apache"/>			
+		      <attribute name="Implementation-Vendor" value="Apache Software Foundation"/>
+		      <attribute name="Implementation-Version" value="${pom.currentVersion}"/> 
+			  </manifest>
+
+        <jar destfile="target/lib/${pom.artifactId}-${pom.currentVersion}.jar" manifest="MANIFEST.MF">
             <fileset dir="modules/core/target/classes"/>
         </jar>
     </goal>
@@ -360,8 +371,25 @@
                 <ant:include name="**"/>
             </ant:fileset>
         </ant:copy>
-        <ant:zip file="target/${dist.name}.jar"
-                 basedir="target/temp1"/>
+        
+        <manifest file="MANIFEST.MF">
+			    <attribute name="Extension-Name" value="org.apache.synapse"/>
+			    <attribute name="Specification-Title" value="${pom.artifactId}"/>
+			    <attribute name="Specification-Vendor" value="Apache Software Foundation"/>
+					<attribute name="Specification-Version" value="${pom.currentVersion}"/>			      
+			    <attribute name="Implementation-Title" value="Apache Synapse"/>			
+			    <attribute name="Implementation-Vendor-Id" value="org.apache"/>			
+		      <attribute name="Implementation-Vendor" value="Apache Software Foundation"/>
+		      <attribute name="Implementation-Version" value="${pom.currentVersion}"/> 
+			  </manifest>
+
+        <jar destfile="target/lib/${pom.artifactId}-${pom.currentVersion}.jar" manifest="MANIFEST.MF">
+            <fileset dir="modules/core/target/classes"/>
+        </jar>
+        
+        <jar destfile="target/${dist.name}.jar" manifest="MANIFEST.MF">
+        	<fileset dir="target/temp1"/>
+        </jar>
 
         <ant:copy file="target/${dist.name}.jar"
                   tofile="target/lib/${dist.name}.jar"/>

Modified: incubator/synapse/branches/M2/modules/extensions/maven.xml
URL: http://svn.apache.org/viewvc/incubator/synapse/branches/M2/modules/extensions/maven.xml?rev=410846&r1=410845&r2=410846&view=diff
==============================================================================
--- incubator/synapse/branches/M2/modules/extensions/maven.xml (original)
+++ incubator/synapse/branches/M2/modules/extensions/maven.xml Thu Jun  1 04:54:47 2006
@@ -48,8 +48,19 @@
 
         </ant:copy>
 
+				<manifest file="MANIFEST.MF">
+			    <attribute name="Extension-Name" value="org.apache.synapse"/>
+			    <attribute name="Specification-Title" value="${pom.artifactId}"/>
+			    <attribute name="Specification-Vendor" value="Apache Software Foundation"/>
+					<attribute name="Specification-Version" value="${pom.currentVersion}"/>			      
+			    <attribute name="Implementation-Title" value="Apache Synapse"/>			
+			    <attribute name="Implementation-Vendor-Id" value="org.apache"/>			
+		      <attribute name="Implementation-Vendor" value="Apache Software Foundation"/>
+		      <attribute name="Implementation-Version" value="${pom.currentVersion}"/> 
+			  </manifest>
+			  
         <jar jarfile="target/dist/extension_mediators.jar"
-             basedir="${extensions.dir}">
+             basedir="${extensions.dir}" manifest="MANIFEST.MF">
             <include name="**/**"/>
         </jar>
         <ant:delete dir="${extensions.dir}"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org