Author: schor
Date: Wed May 12 14:36:31 2010
New Revision: 943517

URL: http://svn.apache.org/viewvc?rev=943517&view=rev
Log:
[UIMA-1756] Add aggregator pom at the top for convenience in rebuilding all the 
parent poms.  Add parent pom for multi-module distributions.  Change docbook 
parent to use uima-helper-plugin to get month and year (inserted into docbook 
results as the "publication date".  Use standard dependency unpack goals 
instead of antrun, since that goal does the right thing with respect to not 
overwriting newer files.  Add marker files to avoid running parent poms when 
building just them.  Add a parent pom for binary packaging of single projects.  
Move default running of assembly plugin for distr projects out of top.

Added:
    uima/build/trunk/parent-poms/parent-pom-distr/
    
uima/build/trunk/parent-poms/parent-pom-distr/marker-file-identifying-parent-pom-distr
    uima/build/trunk/parent-poms/parent-pom-distr/pom.xml
    
uima/build/trunk/parent-poms/parent-pom-eclipse-plugins/marker-file-identifying-parent-pom-eclipse-plugins
    uima/build/trunk/parent-poms/parent-pom-single-project/
    
uima/build/trunk/parent-poms/parent-pom-single-project/marker-file-identifying-parent-pom-single-project
    uima/build/trunk/parent-poms/parent-pom-single-project/pom.xml
    uima/build/trunk/parent-poms/pom.xml
Modified:
    uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml
    uima/build/trunk/parent-poms/parent-pom-eclipse-plugins-ibm-notice/pom.xml
    uima/build/trunk/parent-poms/parent-pom-eclipse-plugins/pom.xml
    uima/build/trunk/parent-poms/parent-pom-ibm-notice/pom.xml
    uima/build/trunk/parent-poms/parent-pom-top/pom.xml

Added: 
uima/build/trunk/parent-poms/parent-pom-distr/marker-file-identifying-parent-pom-distr
URL: 
http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/parent-pom-distr/marker-file-identifying-parent-pom-distr?rev=943517&view=auto
==============================================================================
--- 
uima/build/trunk/parent-poms/parent-pom-distr/marker-file-identifying-parent-pom-distr
 (added)
+++ 
uima/build/trunk/parent-poms/parent-pom-distr/marker-file-identifying-parent-pom-distr
 Wed May 12 14:36:31 2010
@@ -0,0 +1,19 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   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
+
+   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
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+required for pom
\ No newline at end of file

Added: uima/build/trunk/parent-poms/parent-pom-distr/pom.xml
URL: 
http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/parent-pom-distr/pom.xml?rev=943517&view=auto
==============================================================================
--- uima/build/trunk/parent-poms/parent-pom-distr/pom.xml (added)
+++ uima/build/trunk/parent-poms/parent-pom-distr/pom.xml Wed May 12 14:36:31 
2010
@@ -0,0 +1,127 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   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
+
+   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
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+
+<!-- this parent has common configuration for building official
+     release distributions -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  
+  <parent>
+    <groupId>org.apache.uima</groupId>
+    <artifactId>parent-pom-top</artifactId>
+    <version>1-SNAPSHOT</version>
+    <relativePath/>
+  </parent>
+
+  <artifactId>parent-pom-distr</artifactId>
+  <packaging>pom</packaging>
+  <version>1-SNAPSHOT</version> 
+
+  <name>UIMA ${project.artifactId}</name>
+  <description>UIMA Parent Pom for Release distributions</description>
+  <url>${uimaWebsiteUrl}</url>
+ 
+   <!-- Special inheritance note
+       even though the <scm> element that follows is exactly the 
+       same as those in super poms, it cannot be inherited because 
+       there is some special code that computes the connection elements
+       from the chain of parent poms, if this is omitted. 
+       
+       Keeping this a bit factored allows cutting/pasting the <scm>
+       element, and just changing the following two properties -->  
+  <scm>
+    <connection>
+      
scm:svn:http://svn.apache.org/repos/asf/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+    </connection>
+    <developerConnection>
+      
scm:svn:https://svn.apache.org/repos/asf/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+    </developerConnection>
+    <url>
+      http://svn.apache.org/viewvc/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+    </url>
+  </scm>
+  
+  <properties>
+    <uimaScmRoot>build</uimaScmRoot>
+    <uimaScmProject>parent-poms/${project.artifactId}</uimaScmProject>
+  </properties>
+
+  <!-- build -->               
+  
+  <!--reporting-->  
+
+  <profiles>
+    <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>dependency</artifactId>
+            <executions>
+              <execution>
+                <phase>clean</phase>
+                <goals><goal>purge-local-repository</goal></goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    
+    <profile>
+      <id>build distribution</id>
+      <activation>
+        
<file><missing>marker-file-identifying-parent-pom-distr</missing></file>
+      </activation>
+      <build>
+        <plugins>
+          
+        <!-- assembly plugin 
+             configuration to create bin and src distributions
+             from conventional places -->
+        <plugin> 
+          <artifactId>maven-assembly-plugin</artifactId>
+          <executions>
+            <execution>
+              <id>uima-distr</id>
+              <goals><goal>single</goal></goals>
+              <phase>package</phase>
+              <configuration>
+                <descriptors>
+                  <descriptor>src/main/assembly/bin.xml</descriptor>
+                  <descriptor>src/main/assembly/src.xml</descriptor>
+                </descriptors>
+                <finalName>${assemblyFinalName}</finalName>
+                <tarLongFileMode>gnu</tarLongFileMode>
+                <attach>false</attach> <!-- assembly results not put into 
Maven repos -->
+              </configuration>              
+            </execution>
+          </executions>
+        </plugin>
+        </plugins>                    
+      </build>
+    </profile>
+    
+  </profiles>
+       
+</project>
\ No newline at end of file

Modified: uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml
URL: 
http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml?rev=943517&r1=943516&r2=943517&view=diff
==============================================================================
--- uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml (original)
+++ uima/build/trunk/parent-poms/parent-pom-docbook/pom.xml Wed May 12 14:36:31 
2010
@@ -37,7 +37,7 @@
   <packaging>pom</packaging>
   <version>1-SNAPSHOT</version> 
 
-  <name>Apache UIMA Docbook Parent</name>
+  <name>UIMA ${project.artifactId}</name>
   <description>UIMA Parent Pom for Docbook documentation.</description>
   <url>${uimaWebsiteUrl}</url>
  
@@ -102,7 +102,8 @@
       <build>
         <plugins>
                 <!-- something to set some properties for dates used in 
copyright notices -->
-          <plugin>
+          <!-- Works, but is slow due to loading groovy -->      
+          <!--plugin>
              <groupId>org.codehaus.groovy.maven</groupId>
              <artifactId>gmaven-plugin</artifactId>
              <version>1.0</version>
@@ -124,6 +125,60 @@
                    </configuration>
                 </execution>
              </executions>
+          </plugin-->
+          
+          <!--plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-enforcer-plugin</artifactId>
+            <version>1.0-beta-1</version>
+            <executions>
+              <execution>
+                <id>set buildYear and buildMonth</id>
+                <goals>
+                  <goal>enforce</goal>
+                </goals>
+                <configuration>
+                  <rules>
+                    <evaluateBeanshell>
+                      <condition>
+                        import java.text.MessageFormat;
+                        import org.apache.maven.project.MavenProject;
+                        Date[] date = new Date[] {new Date()};
+                        
+               // doesn't work - project needs to be set by dependency 
injection, not being set
+                        project.getProperties().setProperty("buildYear", 
MessageFormat.format("{0,date,yyyy}", date));
+                        project.getProperties().setProperty("buildMonth", 
MessageFormat.format("{0,date,MMMM}", date));
+                        1==1;
+                      </condition>
+                    </evaluateBeanshell>
+                  </rules>
+                  <fail>true</fail>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin-->
+          <plugin>
+            <groupId>org.apache.uima</groupId>
+            <artifactId>uima-build-helper</artifactId>
+            <version>1.0.0-SNAPSHOT</version>
+            <executions>
+              <execution>
+                <id>set buildYear and buildMonth</id>
+                <goals><goal>parse-date-time</goal></goals>
+                <configuration>
+                  <parseSpecs>
+                    <parseSpec>
+                      <name>buildYear</name>
+                      <format>yyyy</format>
+                    </parseSpec>
+                    <parseSpec>
+                      <name>buildMonth</name>
+                      <format>MMMM</format>
+                    </parseSpec>                   
+                  </parseSpecs>
+                </configuration>               
+              </execution>
+            </executions>
           </plugin>
           
           <!-- use the dependency:unpack goal to get the shared resource
@@ -185,43 +240,35 @@
                   </artifactItems>
                 </configuration>
               </execution>
-              
+
               <!-- use the dependency:unpack goal to get the
-                   olink databases 
-                   
-                   But wait - we want the unpack to not overwrite
-                   olink database files that might be there which 
-                   are "newer" - but unpack doesn't have this fine
-                   a grain of checking newness - it only does it on
-                   the entire archive
-                   
-                   So we work around that by using dependency:resolve to
-                   get the archive into the local repo (if needed), 
-                   and then antrun unzip to do the 
-                   unzipping -->
-                   
-              <!-- this next just downloads if needed the olink-dbs
-                   zip file from a remote repo into the local one -->
+                   olink databases  -->
               <execution>
-                <id>getOlinkDbsIntoLocalRepo</id>
+                <id>getOlink</id>
                 <phase>prepare-package</phase>
-                <goals><goal>resolve</goal></goals>
+                <goals><goal>unpack</goal></goals>
                 <configuration>
-                  <includeGroupIds>org.apache.uima</includeGroupIds>
-                  <includeArtifactIds>${dolArtifactId}</includeArtifactIds>
-                  <includeTypes>zip</includeTypes>
-                  <classifier>${dolClassifier}</classifier>
-                  <type>zip</type>
+                  <overWriteIfNewer>true</overWriteIfNewer>
+                  
<markersDirectory>${dolRepo}/dependency-maven-plugin-markers</markersDirectory>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.apache.uima</groupId>
+                      <artifactId>${dolArtifactId}</artifactId>
+                      <version>1-SNAPSHOT</version>
+                      <type>zip</type>
+                      <classifier>${dolClassifier}</classifier>
+                      <outputDirectory>${dolRepo}</outputDirectory>
+                    </artifactItem>
+                  </artifactItems>
                 </configuration>
-              </execution>           
+              </execution>                         
             </executions>
           </plugin> 
           
-          <plugin>
+          <!--plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-antrun-plugin</artifactId>
             <executions>
-              <!-- unzip and overwrite olink dbs only if newer in the archive 
-->
               <execution>
                 <id>unzipOlinkDbs</id>
                 <goals><goal>run</goal></goals>
@@ -235,7 +282,7 @@
                 </configuration>
               </execution>
             </executions>
-          </plugin>         
+          </plugin-->         
           
           <plugin>
             <groupId>com.agilejava.docbkx</groupId>

Modified: 
uima/build/trunk/parent-poms/parent-pom-eclipse-plugins-ibm-notice/pom.xml
URL: 
http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/parent-pom-eclipse-plugins-ibm-notice/pom.xml?rev=943517&r1=943516&r2=943517&view=diff
==============================================================================
--- uima/build/trunk/parent-poms/parent-pom-eclipse-plugins-ibm-notice/pom.xml 
(original)
+++ uima/build/trunk/parent-poms/parent-pom-eclipse-plugins-ibm-notice/pom.xml 
Wed May 12 14:36:31 2010
@@ -34,8 +34,7 @@
   <artifactId>parent-pom-eclipse-plugins-ibm-notice</artifactId>
   <packaging>pom</packaging>
   <version>1-SNAPSHOT</version> 
-
-  <name>Apache UIMA Java SDK Parent for Eclipse Plugins with IBM copyright in 
the Notice</name>
+  <name>UIMA ${project.artifactId}</name>
   <description>Adds the IBM Copyright to the Notice file for selected source 
files</description>
   <url>${uimaWebsiteUrl}</url>
   
@@ -63,7 +62,7 @@
     <uimaScmRoot>build</uimaScmRoot>
     <uimaScmProject>parent-poms/${project.artifactId}</uimaScmProject>    
     <postNoticeText>
-Portions of UIMA were originally developed by
+Portions of Apache UIMA were originally developed by
 International Business Machines Corporation and are
 licensed to the Apache Software Foundation under the
 "Software Grant License Agreement", informally known as the

Added: 
uima/build/trunk/parent-poms/parent-pom-eclipse-plugins/marker-file-identifying-parent-pom-eclipse-plugins
URL: 
http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/parent-pom-eclipse-plugins/marker-file-identifying-parent-pom-eclipse-plugins?rev=943517&view=auto
==============================================================================
--- 
uima/build/trunk/parent-poms/parent-pom-eclipse-plugins/marker-file-identifying-parent-pom-eclipse-plugins
 (added)
+++ 
uima/build/trunk/parent-poms/parent-pom-eclipse-plugins/marker-file-identifying-parent-pom-eclipse-plugins
 Wed May 12 14:36:31 2010
@@ -0,0 +1,19 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   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
+
+   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
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+required for pom
\ No newline at end of file

Modified: uima/build/trunk/parent-poms/parent-pom-eclipse-plugins/pom.xml
URL: 
http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/parent-pom-eclipse-plugins/pom.xml?rev=943517&r1=943516&r2=943517&view=diff
==============================================================================
--- uima/build/trunk/parent-poms/parent-pom-eclipse-plugins/pom.xml (original)
+++ uima/build/trunk/parent-poms/parent-pom-eclipse-plugins/pom.xml Wed May 12 
14:36:31 2010
@@ -36,9 +36,8 @@
 
   <artifactId>parent-pom-eclipse-plugins</artifactId>
   <version>1-SNAPSHOT</version>
-  <packaging>pom</packaging>
-  
-  <name>Apache UIMA Java SDK common Eclipse plugin settings</name>
+  <packaging>pom</packaging> 
+  <name>UIMA ${project.artifactId}</name>
   <description>Holds common, factored out settings for eclipse 
plugins</description>
   <url>${uimaWebsiteUrl}</url>
   
@@ -66,96 +65,104 @@
     <uimaScmRoot>build</uimaScmRoot>
     <uimaScmProject>parent-poms/${project.artifactId}</uimaScmProject>    
   </properties>
-       
-  <build>
-    <finalName>${project.artifactId}_${parsedVersion.osgiVersion}</finalName>  
       
-            
-    <!-- resources are "merged" -->
-        <!-- needed to copy resources, icons, and the plugin.xml to the result 
-->
-    <resources>
-      <resource>
-        <directory>.</directory>
-        <includes>
-          <include>plugin.xml</include>
-          <include>icons/*.*</include>
-        </includes>
-      </resource>
-      <!-- need the following, is not "merged" from the overall maven superPom 
-->
-      <resource>
-        <directory>src/main/resources</directory>
-      </resource>
-    </resources>
- 
-    <pluginManagement>
-      
-      <!-- run the felix plugin in manifest mode
-           because that plugin doesn't resolve
-           all properties e.g., parsedVersion.osgiVersion -->
-      <plugins>
-        <plugin>
-          <groupId>org.apache.felix</groupId>
-          <artifactId>maven-bundle-plugin</artifactId>
-          <executions>
-            <execution>
-              <id>uima-bundle</id>
-              <goals><goal>manifest</goal></goals>
-              <phase>process-classes</phase>
+
+  <profiles>
+    <profile>
+      <activation>
+        <file>
+          <missing>marker-file-identifying-parent-pom-eclipse-plugins</missing>
+        </file>
+      </activation>
+      <build>
+        
<finalName>${project.artifactId}_${parsedVersion.osgiVersion}</finalName>       
  
+                
+        <!-- resources are "merged" -->
+            <!-- needed to copy resources, icons, and the plugin.xml to the 
result -->
+        <resources>
+          <resource>
+            <directory>.</directory>
+            <includes>
+              <include>plugin.xml</include>
+              <include>icons/*.*</include>
+            </includes>
+          </resource>
+          <!-- need the following, is not "merged" from the overall maven 
superPom -->
+          <resource>
+            <directory>src/main/resources</directory>
+          </resource>
+        </resources>
+     
+        <pluginManagement>
+          
+          <!-- run the felix plugin in manifest mode
+               because that plugin doesn't resolve
+               all properties e.g., parsedVersion.osgiVersion -->
+          <plugins>
+            <plugin>
+              <groupId>org.apache.felix</groupId>
+              <artifactId>maven-bundle-plugin</artifactId>
+              <executions>
+                <execution>
+                  <id>uima-bundle</id>
+                  <goals><goal>manifest</goal></goals>
+                  <phase>process-classes</phase>
+                  <configuration>
+                    <!-- we put the generate manifest in the spot where 
Eclipse 
+                         plugins think it will be -->
+                   <manifestLocation>META-INF/</manifestLocation>
+                  </configuration>
+                </execution>
+                <!-- turn off unneeded executions --> 
+                <execution>
+                  <id>default-deploy</id>
+                  <phase/>
+                </execution>
+                <execution>
+                  <id>default-install</id>
+                  <phase/>
+                </execution>
+                <execution>
+                  <id>default-bundle</id>
+                  <phase/>
+                </execution>
+              </executions>
+            </plugin>
+    
+            <!-- pick up the manifest felix generates -->        
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-jar-plugin</artifactId>
+              <configuration>
+                <archive>
+                  <manifestFile>META-INF/MANIFEST.MF</manifestFile>
+                </archive>
+              </configuration>       
+            </plugin>
+    
+            <!-- special eclipse:eclipse configuration for Eclipse plugins --> 
       
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-eclipse-plugin</artifactId>
+              <version>2.4</version>
               <configuration>
-                <!-- we put the generate manifest in the spot where Eclipse 
-                     plugins think it will be -->
-               <manifestLocation>META-INF/</manifestLocation>
+                <manifest>.ignore</manifest>
+                <pde>true</pde>
+                <!-- set next to false because refs to runtime project
+                     as a project don't work (because it is a library project,
+                     and has no sources of its own 
+                  
+                  A consequence of this: If you change code a plugin depends 
on,
+                  run "mvn install" on the changed code to get your plugin to
+                  pick up the changes 
+                  -->
+                <useProjectReferences>false</useProjectReferences>
               </configuration>
-            </execution>
-            <!-- turn off unneeded executions --> 
-            <execution>
-              <id>default-deploy</id>
-              <phase/>
-            </execution>
-            <execution>
-              <id>default-install</id>
-              <phase/>
-            </execution>
-            <execution>
-              <id>default-bundle</id>
-              <phase/>
-            </execution>
-          </executions>
-        </plugin>
-
-        <!-- pick up the manifest felix generates -->        
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-jar-plugin</artifactId>
-          <configuration>
-            <archive>
-              <manifestFile>META-INF/MANIFEST.MF</manifestFile>
-            </archive>
-          </configuration>       
-        </plugin>
-
-        <!-- special eclipse:eclipse configuration for Eclipse plugins -->     
   
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-eclipse-plugin</artifactId>
-          <version>2.4</version>
-          <configuration>
-            <manifest>.ignore</manifest>
-            <pde>true</pde>
-            <!-- set next to false because refs to runtime project
-                 as a project don't work (because it is a library project,
-                 and has no sources of its own 
-              
-              A consequence of this: If you change code a plugin depends on,
-              run "mvn install" on the changed code to get your plugin to
-              pick up the changes 
-              -->
-            <useProjectReferences>false</useProjectReferences>
-          </configuration>
-        </plugin>
-              
-      </plugins>
-    </pluginManagement>
-  
-  </build>
+            </plugin>
+                  
+          </plugins>
+        </pluginManagement>    
+      </build>
+    </profile>
+  </profiles>       
 
 </project>
\ No newline at end of file

Modified: uima/build/trunk/parent-poms/parent-pom-ibm-notice/pom.xml
URL: 
http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/parent-pom-ibm-notice/pom.xml?rev=943517&r1=943516&r2=943517&view=diff
==============================================================================
--- uima/build/trunk/parent-poms/parent-pom-ibm-notice/pom.xml (original)
+++ uima/build/trunk/parent-poms/parent-pom-ibm-notice/pom.xml Wed May 12 
14:36:31 2010
@@ -35,7 +35,7 @@
   <packaging>pom</packaging>
   <version>1-SNAPSHOT</version> 
 
-  <name>Apache UIMA Java SDK Parent with IBM copyright in the Notice</name>
+  <name>UIMA ${project.artifactId}</name>
   <description>Adds the IBM Copyright to the Notice file for selected source 
files</description>
   <url>${uimaWebsiteUrl}</url>
   
@@ -63,7 +63,7 @@
     <uimaScmRoot>build</uimaScmRoot>
     <uimaScmProject>parent-poms/${project.artifactId}</uimaScmProject>    
     <postNoticeText>
-Portions of UIMA were originally developed by
+Portions of Apache UIMA were originally developed by
 International Business Machines Corporation and are
 licensed to the Apache Software Foundation under the
 "Software Grant License Agreement", informally known as the

Added: 
uima/build/trunk/parent-poms/parent-pom-single-project/marker-file-identifying-parent-pom-single-project
URL: 
http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/parent-pom-single-project/marker-file-identifying-parent-pom-single-project?rev=943517&view=auto
==============================================================================
--- 
uima/build/trunk/parent-poms/parent-pom-single-project/marker-file-identifying-parent-pom-single-project
 (added)
+++ 
uima/build/trunk/parent-poms/parent-pom-single-project/marker-file-identifying-parent-pom-single-project
 Wed May 12 14:36:31 2010
@@ -0,0 +1,19 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   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
+
+   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
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+required for pom
\ No newline at end of file

Added: uima/build/trunk/parent-poms/parent-pom-single-project/pom.xml
URL: 
http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/parent-pom-single-project/pom.xml?rev=943517&view=auto
==============================================================================
--- uima/build/trunk/parent-poms/parent-pom-single-project/pom.xml (added)
+++ uima/build/trunk/parent-poms/parent-pom-single-project/pom.xml Wed May 12 
14:36:31 2010
@@ -0,0 +1,129 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   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
+
+   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
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+
+<!-- this POM holds common, factored-out settings for all 
+     projects that are packaged as single projects
+     (that is, not as multi-module projects).
+     
+     It builds, in addition to the standard artifacts and attachments,
+     a binary artifact, which includes:
+       - The main generated artifact, in the lib/ dir
+       - dependent artifacts needed at runtime (not otherwise provided), in 
the lib/ dir
+       - Lic/Not/Readme/releaseNotes from root dir 
+       - generated documentation in the docs/ dir
+     
+     At release time the standard Apache parent builds the 
+       - "source-release" artifact, and the
+       - "javadocs" artifact
+     
+     Conventions:
+     
+       License/Notice for Jar: using the uimaj-jar-resource-bundle
+       License/Notice for bin: using files from project top level
+       dependencies on other artifacts: 
+         Specified as scope runtime or compile causes these to be included in 
the lib dir
+       src/asm/xxx
+         copied to the assembly xxx/ directory
+           typically used for bin - scripts, and other binary resources
+           bin - sets execution flags
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.uima</groupId>
+    <artifactId>parent-pom-docbook</artifactId>
+    <version>1-SNAPSHOT</version>
+    <relativePath/>
+  </parent>
+
+  <artifactId>parent-pom-single-project</artifactId>
+  <version>1-SNAPSHOT</version>
+  <packaging>pom</packaging>
+  <name>UIMA ${project.artifactId}</name>
+  <description>Holds common, factored out settings for projects built as 
single projects</description>
+  <url>${uimaWebsiteUrl}</url>
+  
+  <!-- Special inheritance note
+       even though the <scm> element that follows is exactly the 
+       same as those in super poms, it cannot be inherited because 
+       there is some special code that incorrectly computes the 
+       connection elements from the chain of parent poms, if this is omitted. 
+       
+       Keeping this a bit factored allows cutting/pasting the <scm>
+       element, and just changing the following two properties -->  
+  <scm>
+    <connection>
+      
scm:svn:http://svn.apache.org/repos/asf/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+    </connection>
+    <developerConnection>
+      
scm:svn:https://svn.apache.org/repos/asf/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+    </developerConnection>
+    <url>
+      http://svn.apache.org/viewvc/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+    </url>
+  </scm>
+  
+  <properties>
+    <uimaScmRoot>build</uimaScmRoot>
+    <uimaScmProject>parent-poms/${project.artifactId}</uimaScmProject>
+  </properties>
+       
+  <profiles>
+    <profile>
+      <activation>
+        <file>
+          <missing>marker-file-identifying-parent-pom-single-project</missing>
+        </file>
+      </activation>
+      <build>        
+        <plugins>  
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>binary-release</id>
+                <goals><goal>single</goal></goals>
+                <phase>pre-integration-test</phase>  <!-- after package, after 
jar & docbkx built -->
+                <configuration>
+                  <descriptorRefs>
+                    <descriptorRef>
+                      uima-single-project-bin
+                    </descriptorRef>
+                  </descriptorRefs>
+                </configuration>
+              </execution>
+            </executions>
+            <dependencies>
+              <dependency>
+                <groupId>org.apache.uima</groupId>
+                <artifactId>uima-assembly-single-project</artifactId>
+                <version>1-SNAPSHOT</version>
+              </dependency>
+            </dependencies>
+          </plugin>    
+        </plugins>       
+      </build>
+    </profile>
+  </profiles>     
+</project>
\ No newline at end of file

Modified: uima/build/trunk/parent-poms/parent-pom-top/pom.xml
URL: 
http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/parent-pom-top/pom.xml?rev=943517&r1=943516&r2=943517&view=diff
==============================================================================
--- uima/build/trunk/parent-poms/parent-pom-top/pom.xml (original)
+++ uima/build/trunk/parent-poms/parent-pom-top/pom.xml Wed May 12 14:36:31 2010
@@ -57,7 +57,7 @@
   <version>1-SNAPSHOT</version>
        <packaging>pom</packaging>
 
-       <name>Apache UIMA Top Parent Pom</name>
+  <name>UIMA ${project.artifactId}</name>
        <description>UIMA (Unstructured Information Management Architecture). 
     UIMA promotes community development and reuse of annotators 
     that extract metadata from unstructured information (text, audio, video, 
etc.); 
@@ -225,29 +225,12 @@
       <plugins>
         
         <!-- assembly plugin 
-             configuration to create bin and src distributions
-             from conventional places.
-             
              Disable running assembly:assembly with
              warning message to use install instead -->
         <plugin> 
           <artifactId>maven-assembly-plugin</artifactId>
           <executions>
             <execution>
-              <id>uima-distr</id>
-              <goals><goal>single</goal></goals>
-              <phase>package</phase>
-              <configuration>
-                <descriptors>
-                  <descriptor>src/main/assembly/bin.xml</descriptor>
-                  <descriptor>src/main/assembly/src.xml</descriptor>
-                </descriptors>
-                <finalName>${assemblyFinalName}</finalName>
-                <tarLongFileMode>gnu</tarLongFileMode>
-                <attach>false</attach> <!-- assembly results not put into 
Maven repos -->
-              </configuration>              
-            </execution>
-            <execution>
               <id>default-cli</id>
               <configuration>
                 <descriptors>

Added: uima/build/trunk/parent-poms/pom.xml
URL: 
http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/pom.xml?rev=943517&view=auto
==============================================================================
--- uima/build/trunk/parent-poms/pom.xml (added)
+++ uima/build/trunk/parent-poms/pom.xml Wed May 12 14:36:31 2010
@@ -0,0 +1,76 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   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
+
+   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
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+       <modelVersion>4.0.0</modelVersion>
+  
+  <parent>
+    <groupId>org.apache.uima</groupId>
+    <artifactId>parent-pom-top</artifactId>
+    <version>1-SNAPSHOT</version>
+    <relativePath/>
+  </parent>
+  
+       <artifactId>aggregate-parent-poms</artifactId>
+       <packaging>pom</packaging>
+       <version>2.3.1-SNAPSHOT</version>
+       <name>UIMA Aggregate: ${project.artifactId}</name>
+  <description>This aggregates all the parent poms for 
convenience</description>
+  <url>${uimaWebsiteUrl}</url>
+
+  <!-- Special inheritance note
+       even though the <scm> element that follows is exactly the 
+       same as those in super poms, it cannot be inherited because 
+       there is some special code that computes the connection elements
+       from the chain of parent poms, if this is omitted. 
+       
+       Keeping this a bit factored allows cutting/pasting the <scm>
+       element, and just changing the following two properties -->  
+  <scm>
+    <connection>
+      
scm:svn:http://svn.apache.org/repos/asf/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+    </connection>
+    <developerConnection>
+      
scm:svn:https://svn.apache.org/repos/asf/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+    </developerConnection>
+    <url>
+      http://svn.apache.org/viewvc/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+    </url>
+  </scm>
+  
+  <properties>
+    <uimaScmRoot>uimaj</uimaScmRoot>
+    <uimaScmProject>${project.artifactId}</uimaScmProject>
+  </properties>
+  
+  <modules>
+    <module>parent-pom-top</module>
+      <module>parent-pom-docbook</module>
+        <module>parent-pom-ibm-notice</module>
+        <module>parent-pom-eclipse-plugins</module>
+          <module>parent-pom-eclipse-plugins-ibm-notice</module>
+        <module>parent-pom-distr</module>
+
+        <!-- build single projects -->
+        <module>parent-pom-annotator</module>
+        <module>parent-pom-single-project</module>
+  </modules>  
+</project>
\ No newline at end of file


Reply via email to