You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2010/05/12 16:15:57 UTC
svn commit: r943503 - in /uima/build/trunk/uima-assembly-single-project: ./
pom.xml src/ src/main/ src/main/resources/ src/main/resources/assemblies/
src/main/resources/assemblies/uima-single-project-bin.xml
Author: schor
Date: Wed May 12 14:15:56 2010
New Revision: 943503
URL: http://svn.apache.org/viewvc?rev=943503&view=rev
Log:
[UIMA-1756] add parent single-project assembly bin descriptor
Added:
uima/build/trunk/uima-assembly-single-project/pom.xml
uima/build/trunk/uima-assembly-single-project/src/
uima/build/trunk/uima-assembly-single-project/src/main/
uima/build/trunk/uima-assembly-single-project/src/main/resources/
uima/build/trunk/uima-assembly-single-project/src/main/resources/assemblies/
uima/build/trunk/uima-assembly-single-project/src/main/resources/assemblies/uima-single-project-bin.xml
Modified:
uima/build/trunk/uima-assembly-single-project/ (props changed)
Propchange: uima/build/trunk/uima-assembly-single-project/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed May 12 14:15:56 2010
@@ -0,0 +1,2 @@
+target
+.project
Added: uima/build/trunk/uima-assembly-single-project/pom.xml
URL: http://svn.apache.org/viewvc/uima/build/trunk/uima-assembly-single-project/pom.xml?rev=943503&view=auto
==============================================================================
--- uima/build/trunk/uima-assembly-single-project/pom.xml (added)
+++ uima/build/trunk/uima-assembly-single-project/pom.xml Wed May 12 14:15:56 2010
@@ -0,0 +1,92 @@
+<!--
+ 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-docbook</artifactId>
+ <version>1-SNAPSHOT</version>
+ <relativePath/>
+ </parent>
+
+ <artifactId>uima-assembly-single-project</artifactId>
+ <version>1-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/${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>
+
+</project>
\ No newline at end of file
Added: uima/build/trunk/uima-assembly-single-project/src/main/resources/assemblies/uima-single-project-bin.xml
URL: http://svn.apache.org/viewvc/uima/build/trunk/uima-assembly-single-project/src/main/resources/assemblies/uima-single-project-bin.xml?rev=943503&view=auto
==============================================================================
--- uima/build/trunk/uima-assembly-single-project/src/main/resources/assemblies/uima-single-project-bin.xml (added)
+++ uima/build/trunk/uima-assembly-single-project/src/main/resources/assemblies/uima-single-project-bin.xml Wed May 12 14:15:56 2010
@@ -0,0 +1,102 @@
+<!--
+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 is the bin assembly for standard single-project components
+ other than PEARs -->
+
+<assembly>
+ <id>bin</id>
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+
+ <includeBaseDirectory>false</includeBaseDirectory>
+
+ <baseDirectory>/apache-uima</baseDirectory>
+
+ <dependencySets>
+ <!-- include all compile/runtime dependencies in the lib dir -->
+ <dependencySet>
+ <outputDirectory>lib</outputDirectory>
+ <useProjectArtifact>false</useProjectArtifact>
+ <fileMode>644</fileMode>
+ <directoryMode>755</directoryMode>
+ <excludes><exclude>org.apache.uima:uima-docbook-olink:zip:olink</exclude></excludes>
+ <useTransitiveDependencies>false</useTransitiveDependencies>
+ </dependencySet>
+ </dependencySets>
+
+ <!-- Add other files - scripts, documentation, examples -->
+ <fileSets>
+ <!-- add main jar artifact to lib/ directory -->
+ <fileSet>
+ <directory>target</directory>
+ <outputDirectory>lib</outputDirectory>
+ <includes><include>*.jar</include></includes>
+ <fileMode>644</fileMode>
+ </fileSet>
+
+ <!-- These next are the directories that are the "standard"
+ ones and position per the PEAR spec -->
+ <fileSet>
+ <directory>bin</directory>
+ <outputDirectory>bin</outputDirectory>
+ <includes><include>*.sh</include></includes>
+ <fileMode>755</fileMode>
+ <directoryMode>755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>bin</directory>
+ <outputDirectory>bin</outputDirectory>
+ <excludes><exclude>*.sh</exclude></excludes>
+ <fileMode>644</fileMode>
+ <directoryMode>755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>.</directory>
+ <outputDirectory>.</outputDirectory>
+ <fileMode>644</fileMode>
+ <directoryMode>755</directoryMode>
+ <includes>
+ <include>README*</include>
+ <include>readme*</include>
+ <include>LICENSE*</include>
+ <include>NOTICE*</include>
+ <include>RELEASE_NOTES*</include>
+ <include>Release-Notes*</include>
+ <include>desc/**</include>
+ <include>doc/**</include>
+ <include>data/**</include>
+ <include>resources/**</include>
+ <include>conf/**</include>
+ </includes>
+ </fileSet>
+
+ <!-- docbooks -->
+ <fileSet>
+ <directory>target/docbkx</directory>
+ <outputDirectory>docs</outputDirectory>
+ <excludes><exclude>pdf/*.fo</exclude></excludes>
+ <fileMode>644</fileMode>
+ <directoryMode>755</directoryMode>
+ </fileSet>
+ </fileSets>
+</assembly>
\ No newline at end of file