src.xml 3.5 KB
Newer Older
M
Matteo Merli 已提交
1 2
<!--

3 4 5 6 7 8 9
    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
M
Matteo Merli 已提交
10

11
      http://www.apache.org/licenses/LICENSE-2.0
M
Matteo Merli 已提交
12

13 14 15 16 17 18
    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.
M
Matteo Merli 已提交
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34

-->
<assembly
  xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
  <id>src</id>
  <formats>
    <format>tar.gz</format>
  </formats>
  <includeBaseDirectory>true</includeBaseDirectory>
  <fileSets>
    <fileSet>
      <directory>..</directory>
      <useDefaultExcludes>true</useDefaultExcludes>
      <includes>
35 36
        <include>**/README.md</include>
        <include>**/DISCLAIMER</include>
M
Matteo Merli 已提交
37 38 39 40
        <include>**/LICENSE</include>
        <include>**/NOTICE</include>
        <include>**/pom.xml</include>
        <include>**/src/**</include>
41
        <include>**/pulsar-client-cpp/**</include>
M
Matteo Merli 已提交
42 43 44 45 46 47 48 49 50 51 52 53
        <include>**/conf/**</include>
        <include>**/bin/**</include>
        <include>**/*.txt</include>
        <include>doc/*</include>
      </includes>
      <excludes>
        <exclude>.git/**</exclude>
        <exclude>**/.gitignore</exclude>
        <exclude>**/.svn</exclude>
        <exclude>**/*.iws</exclude>
        <exclude>**/*.ipr</exclude>
        <exclude>**/*.iml</exclude>
54 55
        <exclude>**/*.cbp</exclude>
        <exclude>**/*.pyc</exclude>
M
Matteo Merli 已提交
56 57 58 59
        <exclude>**/.classpath</exclude>
        <exclude>**/.project</exclude>
        <exclude>**/.settings</exclude>
        <exclude>**/target/**</exclude>
60 61 62 63 64 65 66 67 68 69 70 71 72 73
        <exclude>**/CMakeFiles/**</exclude>
        <exclude>**/CMakeCache.txt</exclude>
        <exclude>**/cmake_install.cmake</exclude>
        <exclude>pulsar-client-cpp/**/Makefile</exclude>
        <exclude>pulsar-client-cpp/tests/main</exclude>
        <exclude>pulsar-client-cpp/examples/SampleAsyncProducer</exclude>
        <exclude>pulsar-client-cpp/examples/SampleConsumer</exclude>
        <exclude>pulsar-client-cpp/examples/SampleConsumerListener</exclude>
        <exclude>pulsar-client-cpp/examples/SampleProducer</exclude>

        <exclude>**/python/dist/**</exclude>
        <exclude>**/python/wheelhouse/**</exclude>
        <exclude>**/python/MANIFEST</exclude>
        <exclude>**/*.egg-info/**</exclude>
M
Matteo Merli 已提交
74 75 76 77 78
        <!-- until the code that does this is fixed -->
        <exclude>**/*.log</exclude>
        <exclude>**/build/**</exclude>
        <exclude>**/file:/**</exclude>
        <exclude>**/SecurityAuth.audit*</exclude>
79 80 81 82 83 84
        <exclude>**/site/**</exclude>
        <exclude>**/.idea/**</exclude>
        <exclude>**/*.a</exclude>
        <exclude>**/*.so</exclude>
        <exclude>**/*.so.*</exclude>
        <exclude>**/*.dylib</exclude>
M
Matteo Merli 已提交
85 86 87 88 89 90 91 92
      </excludes>
    </fileSet>
    <fileSet>
      <directory>target/site/apidocs</directory>
      <outputDirectory>doc/apidocs</outputDirectory>
    </fileSet>
  </fileSets>
</assembly>