You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by mb...@apache.org on 2008/04/09 14:43:48 UTC

svn commit: r646309 - in /incubator/uima/sandbox/trunk/DictionaryAnnotator: DISCLAIMER pom.xml

Author: mbaessler
Date: Wed Apr  9 05:43:48 2008
New Revision: 646309

URL: http://svn.apache.org/viewvc?rev=646309&view=rev
Log:
UIMA-973

update jar MANIFEST with corrrect build information

https://issues.apache.org/jira/browse/UIMA-973

Added:
    incubator/uima/sandbox/trunk/DictionaryAnnotator/DISCLAIMER
Modified:
    incubator/uima/sandbox/trunk/DictionaryAnnotator/pom.xml

Added: incubator/uima/sandbox/trunk/DictionaryAnnotator/DISCLAIMER
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/DictionaryAnnotator/DISCLAIMER?rev=646309&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/DictionaryAnnotator/DISCLAIMER (added)
+++ incubator/uima/sandbox/trunk/DictionaryAnnotator/DISCLAIMER Wed Apr  9 05:43:48 2008
@@ -0,0 +1,7 @@
+Apache UIMA is an effort undergoing incubation at The Apache Software
+Foundation (ASF). Incubation is required of all newly accepted projects
+until a further review indicates that the infrastructure, communications,
+and decision making process have stabilized in a manner consistent with
+other successful ASF projects. While incubation status is not necessarily
+a reflection of the completeness or stability of the code, it does
+indicate that the project has yet to be fully endorsed by the ASF.

Modified: incubator/uima/sandbox/trunk/DictionaryAnnotator/pom.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/DictionaryAnnotator/pom.xml?rev=646309&r1=646308&r2=646309&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/DictionaryAnnotator/pom.xml (original)
+++ incubator/uima/sandbox/trunk/DictionaryAnnotator/pom.xml Wed Apr  9 05:43:48 2008
@@ -105,6 +105,99 @@
 	        </configuration>
 	      </plugin>
 		
+		   <plugin>
+		        <groupId>org.codehaus.mojo</groupId>
+		        <artifactId>buildnumber-maven-plugin</artifactId>
+		        <executions>
+		          <execution>
+		            <phase>process-classes</phase>
+		            <goals>
+		              <goal>create</goal>
+		            </goals>
+		          </execution>
+		        </executions>
+		        <configuration>
+		          <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
+		          <items>
+		            <item>timestamp</item>
+		          </items>
+		        </configuration>
+	      	</plugin>
+      
+      		<plugin>
+				<artifactId>maven-antrun-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>CopyLicenseNoticeDisclaimer</id>
+						<phase>process-resources</phase>
+						<configuration>
+							<tasks>                    
+                				<copy todir="src/main/resources/META-INF">
+                  					<fileset dir="." includes="LICENSE NOTICE DISCLAIMER"/>
+                				</copy>
+                				<copy todir="target/classes/META-INF">
+                  					<fileset dir="." includes="LICENSE.txt NOTICE.txt DISCLAIMER"/>
+                				</copy>
+							</tasks>
+						</configuration>
+						<goals>
+							<goal>run</goal>
+						</goals>
+					</execution>
+					<!-- after compilation has been done and the files have been copied to the
+						 target directory, delete them from the source directory. -->
+					<execution>
+						<id>DeleteLicenseNoticeDisclaimer</id>
+						<phase>package</phase>
+						<configuration>
+							<tasks>
+								<delete dir="src/main/resources/META-INF" deleteOnExit="true" quiet="true" failOnError="false">
+									<fileset dir="src/main/resources/META-INF"
+										includes="LICENSE NOTICE DISCLAIMER"/>
+								</delete>
+							</tasks>
+						</configuration>
+						<goals>
+							<goal>run</goal>
+						</goals>
+					</execution>	
+					<!-- also delete on clean. -->
+					<execution>
+						<id>CleanLicenseNoticeDisclaimer</id>
+						<phase>clean</phase>
+						<configuration>
+							<tasks>
+								<delete dir="src/main/resources/META-INF" deleteOnExit="true" quiet="true" failOnError="false">
+									<fileset dir="src/main/resources/META-INF"
+										includes="LICENSE NOTICE DISCLAIMER"/>
+								</delete>
+							</tasks>
+						</configuration>
+						<goals>
+							<goal>run</goal>
+						</goals>
+					</execution>		          				
+				</executions>
+			</plugin>
+              
+	        <plugin>
+		        <groupId>org.apache.maven.plugins</groupId>
+		        <artifactId>maven-jar-plugin</artifactId>
+		        <configuration>
+		          <archive>
+		            <manifestEntries>
+		              <Project-Title>Apache UIMA</Project-Title>
+		              <Implementation-Title>${pom.name}</Implementation-Title>
+		              <Implementation-Version>${pom.version}</Implementation-Version>
+		              <Implementation-Vendor>Apache Software Foundation</Implementation-Vendor>
+		              <Implementation-Url>${pom.url}</Implementation-Url>
+					        <Implementation-License>http://www.apache.org/licenses/LICENSE-2.0.txt</Implementation-License>
+		              <Build-Date>${buildNumber}</Build-Date>
+		            </manifestEntries>
+		          </archive>
+		        </configuration>
+      		</plugin> 
+		
    		  <plugin>
 				<artifactId>maven-antrun-plugin</artifactId>
 				<executions>