| <!-- |
| |
| |
| 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. |
| |
| --> |
| <assembly> |
| <id>src</id> |
| <includeBaseDirectory>true</includeBaseDirectory> |
| <baseDirectory>${archieve.name}-${version}</baseDirectory> |
| <formats> |
| <format>tar.gz</format> |
| <format>zip</format> |
| </formats> |
| |
| <fileSets> |
| <fileSet> |
| <directory>../..</directory> |
| <outputDirectory></outputDirectory> |
| <includes> |
| <include>NOTICE</include> |
| <include>LICENSE</include> |
| <include>README</include> |
| <include>RELEASE_NOTES</include> |
| <include>DISCLAIMER</include> |
| <include>INSTALL</include> |
| </includes> |
| <filtered>true</filtered> |
| </fileSet> |
| <fileSet> |
| <directory>../..</directory> |
| <outputDirectory></outputDirectory> |
| <useDefaultExcludes>true</useDefaultExcludes> |
| <includes> |
| <include>pom.xml</include> |
| <include>modules/**</include> |
| <include>samples/**</include> |
| </includes> |
| |
| <excludes> |
| <!-- Exclusions from org.apache.resources:apache-source-release-assembly-descriptor. |
| Note that they assume that all sources are located under an "src" directory. This |
| is not the case for Axis2, which doesn't use the standard Maven 2 conventions. |
| Thus we may still encounter some issues here. --> |
| <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/).*${project.build.directory}.*]</exclude> |
| <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?maven-eclipse\.xml]</exclude> |
| <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.project]</exclude> |
| <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.classpath]</exclude> |
| <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iws]</exclude> |
| <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.ipr]</exclude> |
| <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iml]</exclude> |
| <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.settings(/.*)?]</exclude> |
| <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.externalToolBuilders(/.*)?]</exclude> |
| <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.deployables(/.*)?]</exclude> |
| <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.wtpmodules(/.*)?]</exclude> |
| <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?cobertura\.ser]</exclude> |
| <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?pom\.xml\.releaseBackup]</exclude> |
| <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?release\.properties]</exclude> |
| </excludes> |
| |
| </fileSet> |
| </fileSets> |
| </assembly> |