You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2007/01/15 16:19:06 UTC

svn commit: r496368 - in /incubator/cayenne/main/trunk: core/cayenne-jdk1.4/pom.xml core/cayenne-jdk1.4/src/main/resources/org/apache/cayenne/cayenne-strings.properties doc/pom.xml doc/src/main/resources/doc/index.html

Author: aadamchik
Date: Mon Jan 15 07:19:05 2007
New Revision: 496368

URL: http://svn.apache.org/viewvc?view=rev&rev=496368
Log:
adding date replacement

Modified:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4/pom.xml
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/resources/org/apache/cayenne/cayenne-strings.properties
    incubator/cayenne/main/trunk/doc/pom.xml
    incubator/cayenne/main/trunk/doc/src/main/resources/doc/index.html

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/pom.xml?view=diff&rev=496368&r1=496367&r2=496368
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/pom.xml (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/pom.xml Mon Jan 15 07:19:05 2007
@@ -7,9 +7,9 @@
 	to you under the Apache License, Version 2.0 (the
 	"License"); you may not use this file except in compliance
 	with the License.  You may obtain a copy of the License at
-
-		http://www.apache.org/licenses/LICENSE-2.0
-
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
 	Unless required by applicable law or agreed to in writing,
 	software distributed under the License is distributed on an
 	"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -235,6 +235,19 @@
 						<phase>package</phase>
 						<goals>
 							<goal>jar</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+
+			<plugin>
+				<groupId>org.apache.cayenne.maven.plugin</groupId>
+				<artifactId>maven-cayenne-build-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>date</id>
+						<goals>
+							<goal>date</goal>
 						</goals>
 					</execution>
 				</executions>

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/resources/org/apache/cayenne/cayenne-strings.properties
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/resources/org/apache/cayenne/cayenne-strings.properties?view=diff&rev=496368&r1=496367&r2=496368
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/resources/org/apache/cayenne/cayenne-strings.properties (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/resources/org/apache/cayenne/cayenne-strings.properties Mon Jan 15 07:19:05 2007
@@ -17,6 +17,5 @@
 
 cayenne.version = ${project.version}
 
-# there is no timestamp property in the Maven environment as of 2.0.4
-#cayenne.build.date = @CAYENNE_BUILD_DATE@
-cayenne.build.date = 
\ No newline at end of file
+# these properties are coming from maven-cayenne-build plugin.
+cayenne.build.date = ${project.build.date} ${project.build.time}
\ No newline at end of file

Modified: incubator/cayenne/main/trunk/doc/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/doc/pom.xml?view=diff&rev=496368&r1=496367&r2=496368
==============================================================================
--- incubator/cayenne/main/trunk/doc/pom.xml (original)
+++ incubator/cayenne/main/trunk/doc/pom.xml Mon Jan 15 07:19:05 2007
@@ -219,6 +219,18 @@
 					</execution>
 				</executions>
 			</plugin>
+			<plugin>
+				<groupId>org.apache.cayenne.maven.plugin</groupId>
+				<artifactId>maven-cayenne-build-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>date</id>
+						<goals>
+							<goal>date</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
 		</plugins>
 	</build>
 

Modified: incubator/cayenne/main/trunk/doc/src/main/resources/doc/index.html
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/doc/src/main/resources/doc/index.html?view=diff&rev=496368&r1=496367&r2=496368
==============================================================================
--- incubator/cayenne/main/trunk/doc/src/main/resources/doc/index.html (original)
+++ incubator/cayenne/main/trunk/doc/src/main/resources/doc/index.html Mon Jan 15 07:19:05 2007
@@ -24,7 +24,7 @@
 
 <body>
 <h1><img src="images/logo.gif" align="absmiddle" border="0"> Cayenne ${project.version}</h1>
-<i>Built on @CAYENNE_BUILD_DATE@ by ${user.name}</i>
+<i>Built on ${project.build.date} ${project.build.time} by ${user.name}</i>
 
 <h2>Included HTML Documentation:</h2>
 <ul>