You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2013/10/31 20:36:48 UTC
svn commit: r1537598 -
/uima/addons/branches/UIMA-3386/uima-addons-parent/pom.xml
Author: rec
Date: Thu Oct 31 19:36:47 2013
New Revision: 1537598
URL: http://svn.apache.org/r1537598
Log:
UIMA-3386 - Upgraded to parent-pom 7 and removed everything that seems redundant now because many things had beem moved already to parent-pom 3
Modified:
uima/addons/branches/UIMA-3386/uima-addons-parent/pom.xml
Modified: uima/addons/branches/UIMA-3386/uima-addons-parent/pom.xml
URL: http://svn.apache.org/viewvc/uima/addons/branches/UIMA-3386/uima-addons-parent/pom.xml?rev=1537598&r1=1537597&r2=1537598&view=diff
==============================================================================
--- uima/addons/branches/UIMA-3386/uima-addons-parent/pom.xml (original)
+++ uima/addons/branches/UIMA-3386/uima-addons-parent/pom.xml Thu Oct 31 19:36:47 2013
@@ -31,7 +31,7 @@
<parent>
<groupId>org.apache.uima</groupId>
<artifactId>parent-pom</artifactId>
- <version>4</version>
+ <version>7</version>
<relativePath />
</parent>
@@ -138,501 +138,18 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.7</version>
- <configuration>
- <source>5</source> <!-- needed to do Enums -->
- <encoding>UTF-8</encoding>
- <!-- if next is omitted, causes all projects in reactor that don't
- already have full javadocs built, to have them built -->
- <detectOfflineLinks>false</detectOfflineLinks>
- <quiet>true</quiet>
- <!-- fix java api links because Oracle bought Sun -->
- <javaApiLinks>
- <property>
- <name>api_1.5</name>
- <value>http://download.oracle.com/javase/1.5.0/docs/api/</value>
- </property>
- </javaApiLinks>
- <!-- identify tags we use so we don't get warning messages for them -->
- <tags>
- <tag>
- <name>generated</name>
- <placement>X</placement>
- </tag>
- <tag>
- <name>ordered</name>
- <placement>X</placement>
- </tag>
- <tag>
- <name>modifiable</name>
- <placement>X</placement>
- </tag>
- <tag>
- <name>model</name>
- <placement>X</placement>
- </tag>
- <tag>
- <name>pre</name>
- <placement>X</placement>
- </tag>
- </tags>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<tagBase>https://svn.apache.org/repos/asf/uima/sandbox/tags/</tagBase>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <executions>
- <execution>
- <id>default-cli</id>
- <configuration>
- <excludes>
- <exclude>release.properties</exclude> <!-- release generated artifact -->
- <exclude>README*</exclude>
- <exclude>RELEASE_NOTES*</exclude>
- <exclude>issuesFixed/**</exclude> <!-- generated file -->
- <exclude>marker-file-identifying-*</exclude> <!-- empty file -->
- <exclude>DEPENDENCIES</exclude> <!-- generated file -->
- <exclude>.idea/**</exclude>
- </excludes>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
- </pluginManagement>
-
- <plugins>
-
-
-
- </plugins>
+ </pluginManagement>
</build>
<profiles>
-
- <!-- ************************************ -->
- <!-- * Build single-project zip/tar * -->
- <!-- ************************************ -->
-
- <profile>
- <id>single project common and binary build</id>
- <activation>
- <file>
- <exists>marker-file-identifying-single-project</exists>
- </file>
- </activation>
- <build>
- <plugins>
-
- <!-- ********************************************* -->
- <!-- * Common Build -->
- <!-- * *** FOR addons only *** -->
- <!-- ********************************************* -->
- <!-- * Base Jar is built, -->
- <!-- * has no dependencies included -->
- <!-- * has basic LICENSE/NOTICE files -->
- <!-- * Base augmented dir built -->
- <!-- * has Base Jar in lib/ -->
- <!-- * has dependencies in lib/ -->
- <!-- * has other things that go into PEAR -->
- <!-- * except the pear install.xml -->
- <!-- * has augmented LICENSE/NOTICE files -->
- <!-- * -->
- <!-- * This base is reused to make packages: -->
- <!-- * PEAR - adds the install.xml -->
- <!-- * - actually, the PEAR builder -->
- <!-- * will redo the copies, itself -->
- <!-- * OSGi - adds the OSGi manifest -->
- <!-- * - removes the doc, javadocs -->
- <!-- * individual zip/tar -->
- <!-- * addons aggregate binary zip/tar -->
- <!-- ********************************************* -->
-
- <!-- Build base -->
- <!-- populate the lib dir with all needed dependencies
- that will be distributed with this component
-
- NOTE: TRANSITIVE DEPENDENIES ARE NOT INCLUDED
- ANYTHING YOU WANT INCLUDED IN THE JAR
- PLEASE LIST EXPLICITLY AND MODIFY THE LICENSE/NOTICE
- APPROPRIATELY
-
- Runs during process-resources -->
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <!-- Copy the dependencies to the target/base-bin/lib folder -->
- <execution>
- <id>copy dependencies to base-bin/lib</id>
- <goals><goal>copy-dependencies</goal></goals>
- <phase>process-resources</phase>
- <configuration>
- <outputDirectory>${project.build.directory}/base-bin/lib</outputDirectory>
- <includeScope>runtime</includeScope>
- <excludeTransitive>true</excludeTransitive>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
-
- <!-- add directories if they exist -->
- <execution>
- <id>copy standard dirs and files to base-bin</id>
- <goals><goal>copy-resources</goal></goals>
- <phase>process-resources</phase> <!-- required -->
- <configuration>
- <outputDirectory>${project.build.directory}/base-bin</outputDirectory>
- <resources>
- <resource>
- <directory>.</directory>
- <includes>
- <include>desc/**</include>
- <include>conf/**</include>
- <include>data/**</include>
- <include>doc/**</include>
- <include>docs/**</include>
- <include>resources/**</include>
- <include>bin/**</include>
- <include>LICENSE*</include>
- <include>NOTICE*</include>
- <include>README*</include>
- <include>readme*</include>
- <include>RELEASE_NOTES*</include>
- <include>ReleaseNotes*</include>
- <include>issuesFixed/**</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/readme</directory>
- </resource>
- </resources>
- </configuration>
- </execution>
-
-
- <!-- copy generated Jar to base-bin/lib spot -->
- <execution>
- <id>copy standard target jar to base-bin/lib</id>
- <goals><goal>copy-resources</goal></goals>
- <phase>pre-integration-test</phase> <!-- a phase after jar -->
- <configuration>
- <outputDirectory>${project.build.directory}/base-bin/lib</outputDirectory>
- <resources>
- <resource>
- <directory>${project.build.directory}</directory>
- <includes><include>*.jar</include></includes>
- <excludes>
- <exclude>*-sources.jar</exclude>
- <exclude>*-osgi.jar</exclude>
- </excludes>
- </resource>
- </resources>
- </configuration>
- </execution>
-
- <!-- copy generated docbook artifacts -->
- <execution>
- <id>copy generated docbook artifacts to base-bin/doc folder</id>
- <goals><goal>copy-resources</goal></goals>
- <phase>pre-integration-test</phase> <!-- a phase after docbkx (package) phase -->
- <configuration>
- <outputDirectory>${project.build.directory}/base-bin/doc</outputDirectory>
- <resources>
- <resource>
- <directory>${project.build.directory}/site/d</directory>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- override the parent-pom with same id -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>binary-release</id> <!-- is "classifier" - match maven convention -->
- <configuration>
- <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
- <descriptorRefs>
- <descriptorRef>
- uima-single-project-bin2
- </descriptorRef>
- </descriptorRefs>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <properties>
- <uimaBuildResourcesVersion>2</uimaBuildResourcesVersion>
- </properties>
- </profile>
-
- <!-- ********************************** -->
- <!-- * Build OSGi bundle * -->
- <!-- ********************************** -->
- <profile>
- <id>build OSGi bundle for annotator</id>
- <activation>
- <file>
- <exists>marker-file-identifying-osgi-project-ignored-for-2.3.1</exists>
- </file>
- </activation>
-
- <build>
- <plugins>
-
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
-
- <!-- copy the base-bin dir to the osgi dir -->
- <execution>
- <id>Copy base-bin to osgi</id>
- <goals><goal>copy-resources</goal></goals>
- <phase>integration-test</phase>
- <configuration>
- <outputDirectory>${project.build.directory}/osgi</outputDirectory>
- <resources>
- <resource>
- <directory>${project.build.directory}/base-bin</directory>
- <includes><include>**</include></includes>
- <excludes>
- <exclude>doc/**</exclude>
- <exclude>docs/**</exclude>
- <exclude>**/*-javadoc.jar</exclude>
- <exclude>issuesFixed/**</exclude>
- </excludes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- copy any uima dependencies needed to osgi/lib
- beyond what is done for the common build.
- NOTE: can't just add dependencies, because
- a) local projects override scope to "provided" and
- b) this would result in the jars being copied for
- the common build -->
-
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>Copy uima dependencies to osgi/lib</id>
- <goals><goal>copy</goal></goals>
- <phase>process-resources</phase>
- <configuration>
- <outputDirectory>${project.build.directory}/osgi/lib</outputDirectory>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.uima</groupId>
- <artifactId>uimaj-core</artifactId>
- <version>${uimaDependencyVersion}</version>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <!-- 2.3.5 accidentally required Java 6 -->
- <!-- 2.3.4 doesn't put in the version string for the export-packages-->
- <version>2.1.0</version>
- <executions>
- <execution>
- <id>uima-bundle</id>
- <phase>integration-test</phase>
- <goals><goal>manifest</goal></goals>
- <configuration>
- <buildDirectory>${project.build.directory}/osgi</buildDirectory>
- <manifestLocation>${project.build.directory}/osgi/META-INF</manifestLocation>
- <instructions>
- <Import-Package>org.apache.log.*;resolution:=optional</Import-Package>
- <Embed-Dependency>*;scope=compile;</Embed-Dependency>
- <Embed-Directory>lib</Embed-Directory>
- <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
- <Eclipse-ExtensibleAPI>true</Eclipse-ExtensibleAPI>
- <Bundle-ClassPath>.,lib/${project.build.finalName}.jar,{maven-dependencies},lib/uimaj-core-${uimaDependencyVersion}.jar</Bundle-ClassPath>
- <Include-Resource>
- {maven-resources}, {maven-dependencies},
- lib/uimaj-core-${uimaDependencyVersion}.jar=${settings.localRepository}/org/apache/uima/uimaj-core/${uimaDependencyVersion}/uimaj-core-${uimaDependencyVersion}.jar
- </Include-Resource>
- <Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>
- <Bundle-SymbolicName>${project.groupId}.${project.artifactId};singleton:=true</Bundle-SymbolicName>
- </instructions>
- </configuration>
- </execution>
- </executions>
-
- </plugin>
-
- <!-- Run JAR to create OSGi Jar -->
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <id>Create OSGi Jar</id>
- <goals><goal>jar</goal></goals>
- <phase>integration-test</phase> <!-- after above build step -->
- <configuration>
- <finalName>${project.groupId}.${project.artifactId}_${parsedVersion.osgiVersion}</finalName>
- <classifier>osgi</classifier>
- <classesDirectory>${project.build.directory}/osgi</classesDirectory>
- <archive>
- <manifestFile>${project.build.directory}/osgi/META-INF/MANIFEST.MF</manifestFile>
- </archive>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
- </build>
- </profile>
-
- <!-- ********************************** -->
- <!-- * Build Standard PEAR * -->
- <!-- ********************************** -->
- <profile>
- <id>build standard PEAR</id>
- <activation>
- <file>
- <exists>marker-file-identifying-standard-pear</exists>
- </file>
- </activation>
- <build>
-
- <plugins>
-
- <!-- turn off parent pom build parts not used -->
- <!-- all this will go away when next parent pom released -->
-
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy dependencies to lib</id>
- <phase />
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
-
- <execution>
- <id>copy generated docbook artifacts to pearPackaging/doc folder</id>
- <phase />
- </execution>
-
- <execution>
- <id>copy standard sandbox target jar to pearPackaging/lib</id>
- <phase />
- </execution>
-
- <execution>
- <id>Copy Pear Lic/Not/Readme/Relnotes</id>
- <phase />
- </execution>
-
- <!-- copy the base-bin dir to the pearPackaging dir -->
- <execution>
- <id>Copy base-bin to pearPackaging</id>
- <goals><goal>copy-resources</goal></goals>
- <phase>integration-test</phase> <!-- after first copies from jar/docbk pkg -->
- <configuration>
- <outputDirectory>${project.build.directory}/pearPackaging</outputDirectory>
- <resources>
- <resource>
- <directory>${project.build.directory}/base-bin</directory>
- <includes><include>**</include></includes>
- <excludes>
- <exclude>**/*-javadoc.jar</exclude>
- </excludes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- build the PEAR -->
- <plugin>
- <groupId>org.apache.uima</groupId>
- <artifactId>PearPackagingMavenPlugin</artifactId>
- <version>2.3.1</version>
- <extensions>true</extensions>
- <executions>
- <execution>
- <id>build uima annnotator Pear</id>
- <goals><goal>package</goal></goals>
- <!-- needs to run after the jar is built
- after docbooks are packaged and copied to pearPackaging/doc folder -->
- <phase>integration-test</phase> <!-- after first copies from jar/docbk pkg -->
- <configuration>
- <datapath>$main_root/resources</datapath>
- <componentId>${project.artifactId}</componentId>
- <mainComponentDesc>${pearMainDescriptor}</mainComponentDesc>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- after PEAR is built -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-pear-artifact</id>
- <phase>post-integration-test</phase>
- <goals><goal>attach-artifact</goal></goals>
- <configuration>
- <artifacts>
- <artifact>
- <file>${project.build.directory}/${project.artifactId}.pear</file>
- <type>pear</type>
- </artifact>
- </artifacts>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
-
- </build>
- </profile>
-
<profile>
<id>apache-release</id>
<properties>
@@ -655,45 +172,6 @@
</pluginManagement>
<plugins>
-
- <!-- https://issues.apache.org/jira/browse/UIMA-2008 -->
- <!-- no maven deployment of this project's artifacts -->
- <!-- binary build artifact deployed from apache mirror system after
- release -->
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>generate checksums for binary artifacts</id>
- <goals>
- <goal>run</goal>
- </goals>
- <phase>verify</phase>
- <configuration>
- <target>
- <checksum algorithm="sha1" format="MD5SUM">
- <fileset dir="${project.build.directory}">
- <include name="*.zip" />
- <include name="*.gz" />
- </fileset>
- </checksum>
- <checksum algorithm="md5" format="MD5SUM">
- <fileset dir="${project.build.directory}">
- <include name="*.zip" />
- <include name="*.gz" />
- </fileset>
- </checksum>
- </target>
- </configuration>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>