wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r804475 - in /incubator/wink/trunk: pom.xml wink-scripts/wink-dist/build.xml wink-scripts/wink-dist/pom.xml
Date Sat, 15 Aug 2009 14:16:32 GMT
Author: bluk
Date: Sat Aug 15 14:16:31 2009
New Revision: 804475

URL: http://svn.apache.org/viewvc?rev=804475&view=rev
Log:
Add X-Compile-Source-JDK, X-Compile-Target-JDK

Added to compiled JARs when built.

Modified:
    incubator/wink/trunk/pom.xml
    incubator/wink/trunk/wink-scripts/wink-dist/build.xml
    incubator/wink/trunk/wink-scripts/wink-dist/pom.xml

Modified: incubator/wink/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/pom.xml?rev=804475&r1=804474&r2=804475&view=diff
==============================================================================
--- incubator/wink/trunk/pom.xml (original)
+++ incubator/wink/trunk/pom.xml Sat Aug 15 14:16:31 2009
@@ -219,6 +219,23 @@
                 </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-jar-plugin</artifactId>
+                    <version>2.2</version>
+                    <configuration>
+                        <archive>
+                            <manifest>
+                                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+                                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                            </manifest>
+                            <manifest-entries>
+                                <X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK>
+                                <X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK>
+                            </manifest-entries>
+                        </archive>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-war-plugin</artifactId>
                     <configuration>
                         <!--

Modified: incubator/wink/trunk/wink-scripts/wink-dist/build.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-scripts/wink-dist/build.xml?rev=804475&r1=804474&r2=804475&view=diff
==============================================================================
--- incubator/wink/trunk/wink-scripts/wink-dist/build.xml (original)
+++ incubator/wink/trunk/wink-scripts/wink-dist/build.xml Sat Aug 15 14:16:31 2009
@@ -239,6 +239,8 @@
 				<attribute name="Specification-Title" value="${aggregator.title}" />
 				<attribute name="Specification-Version" value="${project.version}" />
 				<attribute name="Specification-Vendor" value="The Apache Software Foundation" />
+				<attribute name="X-Compile-Source-JDK" value="${maven.compile.source}" />
+				<attribute name="X-COmpile-Target-JDK" value="${maven.compile.target}" />
 			</manifest>
 		</jar>
 		<delete dir="${tmp.unzip}" />

Modified: incubator/wink/trunk/wink-scripts/wink-dist/pom.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-scripts/wink-dist/pom.xml?rev=804475&r1=804474&r2=804475&view=diff
==============================================================================
--- incubator/wink/trunk/wink-scripts/wink-dist/pom.xml (original)
+++ incubator/wink/trunk/wink-scripts/wink-dist/pom.xml Sat Aug 15 14:16:31 2009
@@ -87,6 +87,8 @@
                                 <property name="user.name" value="${user.name}" />
                                 <property name="java.version" value="${java.version}"
/>
                                 <property name="target.zip" value="${target.zip}" />
+                                <property name="maven.compile.source" value="${maven.compile.source}"
/>
+                                <property name="maven.compile.target" value="${maven.compile.target}"
/>
                                 <ant antfile="build.xml">
                                     <target name="dist" />
                                 </ant>



Mime
View raw message