Clement Escoffier | 0deaa3d | 2013-04-22 12:07:12 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Licensed to the Apache Software Foundation (ASF) under one |
| 3 | ~ or more contributor license agreements. See the NOTICE file |
| 4 | ~ distributed with this work for additional information |
| 5 | ~ regarding copyright ownership. The ASF licenses this file |
| 6 | ~ to you under the Apache License, Version 2.0 (the |
| 7 | ~ "License"); you may not use this file except in compliance |
| 8 | ~ with the License. You may obtain a copy of the License at |
| 9 | ~ |
| 10 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | ~ |
| 12 | ~ Unless required by applicable law or agreed to in writing, |
| 13 | ~ software distributed under the License is distributed on an |
| 14 | ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | ~ KIND, either express or implied. See the License for the |
| 16 | ~ specific language governing permissions and limitations |
| 17 | ~ under the License. |
| 18 | --> |
| 19 | |
| 20 | <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 21 | xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> |
| 22 | |
| 23 | <id>distribution</id> |
| 24 | |
| 25 | <formats> |
| 26 | <format>zip</format> |
| 27 | <format>tar.gz</format> |
| 28 | </formats> |
| 29 | |
| 30 | <dependencySets> |
| 31 | <!-- unpack Felix distribution --> |
| 32 | <dependencySet> |
| 33 | <includes> |
| 34 | <include>*:org.apache.felix.main.distribution:*</include> |
| 35 | </includes> |
| 36 | <unpack>true</unpack> |
| 37 | <outputDirectory>.</outputDirectory> |
| 38 | <unpackOptions> |
| 39 | <excludes> |
| 40 | <exclude>**/doc/**</exclude> |
| 41 | </excludes> |
| 42 | </unpackOptions> |
| 43 | </dependencySet> |
| 44 | |
| 45 | <dependencySet> |
| 46 | <includes> |
| 47 | <include>*:org.apache.felix.*:jar</include> |
| 48 | <include>javax.servlet:com.springsource.javax.servlet:*</include> |
| 49 | <include>org.osgi:org.osgi.compendium:*</include> |
| 50 | <include>org.json:org.ow2.chameleon.commons.json:*</include> |
| 51 | <include>commons-io:commons-io:*</include> |
| 52 | <include>commons-fileupload:*:*</include> |
| 53 | </includes> |
| 54 | <unpack>false</unpack> |
| 55 | <outputDirectory>./felix-framework-${felix.version}/bundle</outputDirectory> |
| 56 | </dependencySet> |
| 57 | </dependencySets> |
| 58 | |
| 59 | </assembly> |