| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Copyright (c) 2013, 2019 Oracle and/or its affiliates. All rights reserved. | |
| This program and the accompanying materials are made available under the | |
| terms of the Eclipse Distribution License v. 1.0, which is available at | |
| http://www.eclipse.org/org/documents/edl-v10.php. | |
| SPDX-License-Identifier: BSD-3-Clause | |
| --> | |
| <assembly> | |
| <!-- | |
| An assembly that produces an example project source zip bundle with | |
| the jersey dependencies in the original project pom.xml file transformed | |
| to the "provided" scope. | |
| The resulting zipped example project sources are thus able to build example | |
| binaries that are suitable for a deployment on containers which host Jersey | |
| runtime by default (e.g. GlassFish). | |
| --> | |
| <id>project-src</id> | |
| <formats> | |
| <format>zip</format> | |
| </formats> | |
| <fileSets> | |
| <fileSet> | |
| <directory>${project.basedir}</directory> | |
| <outputDirectory>/</outputDirectory> | |
| <useDefaultExcludes>true</useDefaultExcludes> | |
| <excludes> | |
| <exclude>**/target/**</exclude> | |
| <exclude>**/*.iml</exclude> | |
| <exclude>**/weblogic.xml</exclude> | |
| <exclude>**/glassfish-web.xml</exclude> | |
| <exclude>**/sun-web.xml</exclude> | |
| </excludes> | |
| </fileSet> | |
| <fileSet> | |
| <directory>${project.basedir}/target/legal</directory> | |
| <outputDirectory>/</outputDirectory> | |
| </fileSet> | |
| </fileSets> | |
| </assembly> | |