You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rd...@apache.org on 2009/06/03 11:45:57 UTC

svn commit: r781319 - in /james/jspf/trunk: pom.xml resolver/pom.xml tester/pom.xml

Author: rdonkin
Date: Wed Jun  3 09:45:57 2009
New Revision: 781319

URL: http://svn.apache.org/viewvc?rev=781319&view=rev
Log:
JSPF-74 Improve manifests https://issues.apache.org/jira/browse/JSPF-74

Modified:
    james/jspf/trunk/pom.xml
    james/jspf/trunk/resolver/pom.xml
    james/jspf/trunk/tester/pom.xml

Modified: james/jspf/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/jspf/trunk/pom.xml?rev=781319&r1=781318&r2=781319&view=diff
==============================================================================
--- james/jspf/trunk/pom.xml (original)
+++ james/jspf/trunk/pom.xml Wed Jun  3 09:45:57 2009
@@ -111,8 +111,8 @@
 	        <artifactId>maven-compiler-plugin</artifactId>
 	        <version>2.0.2</version>
 	        <configuration>
-	          <source>1.4</source>
-	          <target>1.4</target>
+	          <source>${target.jdk}</source>
+	          <target>${target.jdk}</target>
 	          <encoding>iso8859-1</encoding>
 	        </configuration>
 	      </plugin>      
@@ -201,6 +201,7 @@
 
   <properties>
     <project.build.sourceEncoding>iso-8859-15</project.build.sourceEncoding>
+    <target.jdk>1.4</target.jdk>
   </properties>
 
 </project>

Modified: james/jspf/trunk/resolver/pom.xml
URL: http://svn.apache.org/viewvc/james/jspf/trunk/resolver/pom.xml?rev=781319&r1=781318&r2=781319&view=diff
==============================================================================
--- james/jspf/trunk/resolver/pom.xml (original)
+++ james/jspf/trunk/resolver/pom.xml Wed Jun  3 09:45:57 2009
@@ -121,7 +121,15 @@
               <addClasspath>true</addClasspath>
             </manifest>
             <manifestEntries>
-              <mode>development</mode>
+              <Specification-Title>${pom.name}</Specification-Title>
+              <Specification-Version>${pom.version}</Specification-Version>
+              <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
+              <Implementation-Title>${pom.name}</Implementation-Title>
+              <Implementation-Version>${pom.version}</Implementation-Version>
+              <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
+              <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+              <X-Compile-Source-JDK>${target.jdk}</X-Compile-Source-JDK>
+              <X-Compile-Target-JDK>${target.jdk}</X-Compile-Target-JDK>
               <url>${pom.url}</url>
             </manifestEntries>
           </archive>

Modified: james/jspf/trunk/tester/pom.xml
URL: http://svn.apache.org/viewvc/james/jspf/trunk/tester/pom.xml?rev=781319&r1=781318&r2=781319&view=diff
==============================================================================
--- james/jspf/trunk/tester/pom.xml (original)
+++ james/jspf/trunk/tester/pom.xml Wed Jun  3 09:45:57 2009
@@ -82,6 +82,7 @@
       </plugin>
     </plugins>
   </reporting>
+  
   <build>
     <plugins>
       <plugin>
@@ -100,13 +101,16 @@
         <artifactId>maven-jar-plugin</artifactId>
         <configuration>
           <archive>
-            <manifest>
-              <mainClass>org.apache.james.jspf.impl.SPFQuery</mainClass>
-              <packageName>org.apache.james.jspf</packageName>
-              <addClasspath>true</addClasspath>
-            </manifest>
             <manifestEntries>
-              <mode>development</mode>
+              <Specification-Title>${pom.name}</Specification-Title>
+              <Specification-Version>${pom.version}</Specification-Version>
+              <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
+              <Implementation-Title>${pom.name}</Implementation-Title>
+              <Implementation-Version>${pom.version}</Implementation-Version>
+              <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
+              <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+              <X-Compile-Source-JDK>${target.jdk}</X-Compile-Source-JDK>
+              <X-Compile-Target-JDK>${target.jdk}</X-Compile-Target-JDK>
               <url>${pom.url}</url>
             </manifestEntries>
           </archive>
@@ -144,6 +148,7 @@
       <!-- Add NOTICE and LICENSE to generated JAR -->
       <plugin>
         <artifactId>maven-remote-resources-plugin</artifactId>
+        <version>1.0</version>
         <executions>
           <execution>
             <goals>



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