| 1 |
<?xml version='1.0' encoding='UTF-8'?> |
| 2 |
<!-- |
| 3 |
Licensed to the Apache Software Foundation (ASF) under one |
| 4 |
or more contributor license agreements. See the NOTICE file |
| 5 |
distributed with this work for additional information |
| 6 |
regarding copyright ownership. The ASF licenses this file |
| 7 |
to you under the Apache License, Version 2.0 (the |
| 8 |
"License"); you may not use this file except in compliance |
| 9 |
with the License. You may obtain a copy of the License at |
| 10 |
|
| 11 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 12 |
|
| 13 |
Unless required by applicable law or agreed to in writing, |
| 14 |
software distributed under the License is distributed on an |
| 15 |
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 |
KIND, either express or implied. See the License for the |
| 17 |
specific language governing permissions and limitations |
| 18 |
under the License. |
| 19 |
--> |
| 20 |
|
| 21 |
<assembly> |
| 22 |
<id>src</id> |
| 23 |
<formats> |
| 24 |
<format>tar.gz</format> |
| 25 |
</formats> |
| 26 |
<baseDirectory>apache-qpid-proton-j-${project.version}-src</baseDirectory> |
| 27 |
<fileSets> |
| 28 |
<!-- main project directory structure --> |
| 29 |
<fileSet> |
| 30 |
<directory>${project.basedir}/..</directory> |
| 31 |
<outputDirectory>${file.separator}</outputDirectory> |
| 32 |
<useDefaultExcludes>true</useDefaultExcludes> |
| 33 |
<excludes> |
| 34 |
<!-- build output --> |
| 35 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/).*${project.build.directory}.*]</exclude> |
| 36 |
|
| 37 |
<!-- NOTE: Most of the following excludes should not be required |
| 38 |
if the standard release process is followed. This is because the |
| 39 |
release plugin checks out project sources into a location like |
| 40 |
target/checkout, then runs the build from there. The result is |
| 41 |
a source-release archive that comes from a pretty clean directory |
| 42 |
structure. |
| 43 |
|
| 44 |
HOWEVER, if the release plugin is configured to run extra goals |
| 45 |
or generate a project website, it's definitely possible that some |
| 46 |
of these files will be present. So, it's safer to exclude them. |
| 47 |
--> |
| 48 |
|
| 49 |
<!-- IDEs --> |
| 50 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?maven-eclipse\.xml]</exclude> |
| 51 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.project]</exclude> |
| 52 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.classpath]</exclude> |
| 53 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iws]</exclude> |
| 54 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.idea(/.*)?]</exclude> |
| 55 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?out(/.*)?]</exclude> |
| 56 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.ipr]</exclude> |
| 57 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iml]</exclude> |
| 58 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.settings(/.*)?]</exclude> |
| 59 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.externalToolBuilders(/.*)?]</exclude> |
| 60 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.deployables(/.*)?]</exclude> |
| 61 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.wtpmodules(/.*)?]</exclude> |
| 62 |
|
| 63 |
<!-- misc --> |
| 64 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?cobertura\.ser]</exclude> |
| 65 |
|
| 66 |
<!-- release-plugin temp files --> |
| 67 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?pom\.xml\.releaseBackup]</exclude> |
| 68 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?release\.properties]</exclude> |
| 69 |
|
| 70 |
<!-- Jython class files --> |
| 71 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?.*\$py\.class]</exclude> |
| 72 |
|
| 73 |
<!-- Git mailmap file --> |
| 74 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.mailmap]</exclude> |
| 75 |
|
| 76 |
<!-- jenkins workspace local repo --> |
| 77 |
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.repository(/.*)?]</exclude> |
| 78 |
</excludes> |
| 79 |
</fileSet> |
| 80 |
</fileSets> |
| 81 |
</assembly> |