<!-- | |
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 | |
- other folders per the PEAR spec at the top level | |
- bin folders - we set execute permissions on .sh | |
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 | |
Other top level directories per the PEAR conventions | |
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-top</artifactId> | |
<version>4</version> | |
<relativePath>../parent-poms/parent-pom-top</relativePath> | |
</parent> | |
<artifactId>uima-assembly-single-project</artifactId> | |
<version>2-SNAPSHOT</version> | |
<name>UIMA ${project.artifactId}</name> | |
<description>assembly descriptor for single-project</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/build/trunk/parent-poms/uima-assembly-single-project | |
</connection> | |
<developerConnection> | |
scm:svn:https://svn.apache.org/repos/asf/uima/build/trunk/parent-poms/uima-assembly-single-project | |
</developerConnection> | |
<url> | |
http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/uima-assembly-single-project | |
</url> | |
</scm> | |
<properties> | |
<uimaScmRoot>build</uimaScmRoot> | |
<uimaScmProject>parent-poms/${project.artifactId}</uimaScmProject> | |
</properties> | |
</project> |