empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franci...@apache.org
Subject svn commit: r807383 - /incubator/empire-db/trunk/pom.xml
Date Mon, 24 Aug 2009 21:15:22 GMT
Author: francisdb
Date: Mon Aug 24 21:15:22 2009
New Revision: 807383

URL: http://svn.apache.org/viewvc?rev=807383&view=rev
Log:
adding manifest entries:
X-Compile-Source-JDK: 1.5
X-Compile-Target-JDK: 1.5

Modified:
    incubator/empire-db/trunk/pom.xml

Modified: incubator/empire-db/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/pom.xml?rev=807383&r1=807382&r2=807383&view=diff
==============================================================================
--- incubator/empire-db/trunk/pom.xml (original)
+++ incubator/empire-db/trunk/pom.xml Mon Aug 24 21:15:22 2009
@@ -34,6 +34,9 @@
 	
 	<properties>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+		<maven.compile.source>1.5</maven.compile.source>
+		<maven.compile.target>1.5</maven.compile.target>
 	</properties>
 	
 	<profiles>
@@ -175,11 +178,13 @@
 				<groupId>org.apache.empire-db</groupId>
 				<artifactId>empire-db</artifactId>
 				<version>${project.version}</version>
+				<type>jar</type>
 			</dependency>
 			<dependency>
 				<groupId>org.apache.empire-db</groupId>
 				<artifactId>empire-db-struts2</artifactId>
 				<version>${project.version}</version>
+				<type>jar</type>
 			</dependency>
 			<dependency>
 				<groupId>commons-logging</groupId>
@@ -286,13 +291,26 @@
 					<groupId>org.apache.maven.plugins</groupId>
 					<artifactId>maven-compiler-plugin</artifactId>
 					<configuration>
-						<source>1.5</source>
-						<target>1.5</target>
+						<source>${maven.compile.source}</source>
+						<target>${maven.compile.target}</target>
 						<optimise>true</optimise>
 						<debug>true</debug>
 					</configuration>
 				</plugin>
 				<plugin>
+					<inherited>true</inherited>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-jar-plugin</artifactId>
+					<configuration>
+						<archive>
+							<manifestEntries>
+								<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>com.google.code.maven-license-plugin</groupId>
 		            <artifactId>maven-license-plugin</artifactId>
 		            <version>1.4.0</version>



Mime
View raw message