svn commit: r733387 - /jakarta/taglibs/proper/taglibs-parent/trunk/pom.xml

[email protected]
Newsgroups gmane.comp.jakarta.taglibs.devel
Message-ID <[email protected]>
Author: rahul
Date: Sat Jan 10 14:34:27 2009
New Revision: 733387

URL: http://svn.apache.org/viewvc?rev=733387&view=rev
Log:
Improve jar manifest (and war manifest in anticipation).
Add default compiler settings (1.4).
Add some preliminary properties to help with staging RCs (more on that, such as an 'rc' profile, later).

Modified:
    jakarta/taglibs/proper/taglibs-parent/trunk/pom.xml

Modified: jakarta/taglibs/proper/taglibs-parent/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/taglibs/proper/taglibs-parent/trunk/pom.xml?rev=733387&r1=733386&r2=733387&view=diff
==============================================================================
--- jakarta/taglibs/proper/taglibs-parent/trunk/pom.xml (original)
+++ jakarta/taglibs/proper/taglibs-parent/trunk/pom.xml Sat Jan 10 14:34:27 2009
@@ -100,6 +100,43 @@
 
     <plugins>
       <plugin>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              <Specification-Title>${project.name}</Specification-Title>
+              <Specification-Version>${project.version}</Specification-Version>
+              <Specification-Vendor>${project.organization.name}</Specification-Vendor>
+              <Implementation-Title>${project.name}</Implementation-Title>
+              <Implementation-Version>${project.version}</Implementation-Version>
+              <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
+              <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+              <X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK>
+              <X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-war-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              <Specification-Title>${project.name}</Specification-Title>
+              <Specification-Version>${project.version}</Specification-Version>
+              <Specification-Vendor>${project.organization.name}</Specification-Vendor>
+              <Implementation-Title>${project.name}</Implementation-Title>
+              <Implementation-Version>${project.version}</Implementation-Version>
+              <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
+              <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+              <X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK>
+              <X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+      <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
         <configuration>
           <descriptors>
@@ -138,4 +175,13 @@
     </plugins>
   </reporting>
 
+  <properties>
+    <!-- Default configuration for compiler source and target JVM -->
+    <maven.compile.source>1.4</maven.compile.source>
+    <maven.compile.target>1.4</maven.compile.target>
+    <!-- Staging -->
+    <taglibs.componentid>${project.artifactId}</taglibs.componentid>
+    <taglibs.rc.version>RC1</taglibs.rc.version>
+  </properties>
+
 </project>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.