Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Licensed to the Apache Software Foundation (ASF) under one or more |
| 4 | contributor license agreements. See the NOTICE file distributed with |
| 5 | this work for additional information regarding copyright ownership. |
| 6 | The ASF licenses this file to You under the Apache License, Version 2.0 |
| 7 | (the "License"); you may not use this file except in compliance with |
| 8 | 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, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | --> |
| 18 | <assembly> |
| 19 | <id></id> <!-- intentionally left blank -> http://jira.codehaus.org/browse/MASSEMBLY-301 --> |
| 20 | <formats> |
| 21 | <format>zip</format> |
| 22 | </formats> |
| 23 | <fileSets> |
| 24 | |
| 25 | |
| 26 | <!-- Copy license and other files from root --> |
| 27 | <fileSet> |
| 28 | <directory>..</directory> |
| 29 | <outputDirectory>/</outputDirectory> |
| 30 | <includes> |
| 31 | <include>README.txt</include> |
| 32 | <include>RELEASE*.txt</include> |
| 33 | </includes> |
| 34 | <lineEnding>dos</lineEnding> |
| 35 | </fileSet> |
| 36 | |
| 37 | <!-- Copy over everything that needs to get dos line endings --> |
| 38 | <fileSet> |
| 39 | <directory>src/main/distribution/text</directory> |
| 40 | <outputDirectory>/</outputDirectory> |
| 41 | <lineEnding>dos</lineEnding> |
| 42 | </fileSet> |
| 43 | <fileSet> |
| 44 | <directory>src/main/distribution/windows-text</directory> |
| 45 | <outputDirectory>/</outputDirectory> |
| 46 | <lineEnding>dos</lineEnding> |
| 47 | </fileSet> |
| 48 | <fileSet> |
| 49 | <directory>target/classes/etc</directory> |
| 50 | <outputDirectory>/etc/</outputDirectory> |
| 51 | <lineEnding>dos</lineEnding> |
| 52 | </fileSet> |
| 53 | |
| 54 | <!-- Copy over the examples --> |
| 55 | <fileSet> |
| 56 | <directory>../demos</directory> |
| 57 | <outputDirectory>/demos/</outputDirectory> |
| 58 | <lineEnding>dos</lineEnding> |
| 59 | <excludes> |
| 60 | <exclude>**/target/**</exclude> |
| 61 | </excludes> |
| 62 | </fileSet> |
| 63 | |
| 64 | <!-- Copy over files that should not get the line endings converted --> |
| 65 | <fileSet> |
| 66 | <directory>src/main/distribution/binary</directory> |
| 67 | <outputDirectory>/</outputDirectory> |
| 68 | </fileSet> |
| 69 | |
| 70 | <!-- Copy over the files that should not get the line endings converted but need to be chmod to 755 --> |
| 71 | <fileSet> |
| 72 | <directory>src/main/distribution/windows-binary</directory> |
| 73 | <outputDirectory>/</outputDirectory> |
| 74 | </fileSet> |
| 75 | |
| 76 | <!-- Copy over jar files --> |
| 77 | <fileSet> |
| 78 | <directory>target/dependencies</directory> |
| 79 | <outputDirectory>/lib/</outputDirectory> |
| 80 | </fileSet> |
| 81 | |
| 82 | </fileSets> |
| 83 | |
| 84 | <files> |
| 85 | <file> |
| 86 | <source>${basedir}/../etc/config.properties</source> |
| 87 | <outputDirectory>/etc/</outputDirectory> |
| 88 | <destName>config.properties</destName> |
| 89 | <fileMode>0644</fileMode> |
| 90 | <lineEnding>dos</lineEnding> |
| 91 | </file> |
| 92 | <file> |
| 93 | <source>${basedir}/target/maven-shared-archive-resources/META-INF/LICENSE</source> |
| 94 | <outputDirectory>/</outputDirectory> |
| 95 | <destName>LICENSE.txt</destName> |
| 96 | <fileMode>0644</fileMode> |
| 97 | <lineEnding>dos</lineEnding> |
| 98 | </file> |
| 99 | <file> |
| 100 | <source>${basedir}/target/maven-shared-archive-resources/META-INF/NOTICE</source> |
| 101 | <outputDirectory>/</outputDirectory> |
| 102 | <destName>NOTICE.txt</destName> |
| 103 | <fileMode>0644</fileMode> |
| 104 | <lineEnding>dos</lineEnding> |
| 105 | </file> |
| 106 | <file> |
| 107 | <source>${basedir}/target/classes/features.xml</source> |
| 108 | <outputDirectory>/system/org/apache/servicemix/kernel/apache-servicemix-kernel/${version}</outputDirectory> |
| 109 | <destName>apache-servicemix-kernel-${version}-features.xml</destName> |
| 110 | <fileMode>0644</fileMode> |
| 111 | <lineEnding>dos</lineEnding> |
| 112 | </file> |
| 113 | </files> |
| 114 | |
| 115 | <dependencySets> |
| 116 | |
| 117 | <dependencySet> |
| 118 | <outputDirectory>/system</outputDirectory> |
| 119 | <unpack>false</unpack> |
| 120 | <useProjectArtifact>false</useProjectArtifact> |
| 121 | <outputFileNameMapping>org/apache/felix/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 122 | <includes> |
| 123 | <include>org.apache.felix:org.osgi.compendium</include> |
| 124 | <include>org.apache.felix:org.apache.felix.configadmin</include> |
| 125 | <include>org.apache.felix:org.apache.felix.prefs</include> |
| 126 | </includes> |
| 127 | </dependencySet> |
| 128 | <dependencySet> |
| 129 | <outputDirectory>/system</outputDirectory> |
| 130 | <unpack>false</unpack> |
| 131 | <useProjectArtifact>false</useProjectArtifact> |
| 132 | <outputFileNameMapping>org/ops4j/pax/logging/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 133 | <includes> |
| 134 | <include>org.ops4j.pax.logging:pax-logging-api</include> |
| 135 | <include>org.ops4j.pax.logging:pax-logging-service</include> |
| 136 | </includes> |
| 137 | </dependencySet> |
| 138 | <dependencySet> |
| 139 | <outputDirectory>/system</outputDirectory> |
| 140 | <unpack>false</unpack> |
| 141 | <useProjectArtifact>false</useProjectArtifact> |
| 142 | <outputFileNameMapping>org/ops4j/pax/url/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 143 | <includes> |
| 144 | <include>org.ops4j.pax.url:pax-url-mvn</include> |
| 145 | <include>org.ops4j.pax.url:pax-url-wrap</include> |
| 146 | </includes> |
| 147 | </dependencySet> |
| 148 | <dependencySet> |
| 149 | <outputDirectory>/system</outputDirectory> |
| 150 | <unpack>false</unpack> |
| 151 | <useProjectArtifact>false</useProjectArtifact> |
| 152 | <outputFileNameMapping>org/springframework/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 153 | <includes> |
| 154 | <include>org.springframework:spring-aop</include> |
| 155 | <include>org.springframework:spring-beans</include> |
| 156 | <include>org.springframework:spring-context</include> |
| 157 | <include>org.springframework:spring-core</include> |
| 158 | </includes> |
| 159 | </dependencySet> |
| 160 | <dependencySet> |
| 161 | <outputDirectory>/system</outputDirectory> |
| 162 | <unpack>false</unpack> |
| 163 | <useProjectArtifact>false</useProjectArtifact> |
| 164 | <outputFileNameMapping>org/springframework/osgi/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 165 | <includes> |
| 166 | <include>org.springframework.osgi:spring-osgi-core</include> |
| 167 | <include>org.springframework.osgi:spring-osgi-extender</include> |
| 168 | <include>org.springframework.osgi:spring-osgi-io</include> |
| 169 | </includes> |
| 170 | </dependencySet> |
| 171 | <dependencySet> |
| 172 | <outputDirectory>/system</outputDirectory> |
| 173 | <unpack>false</unpack> |
| 174 | <useProjectArtifact>false</useProjectArtifact> |
| 175 | <outputFileNameMapping>org/apache/geronimo/specs/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 176 | <includes> |
| 177 | <include>org.apache.geronimo.specs:geronimo-servlet_2.5_spec</include> |
| 178 | <include>org.apache.geronimo.specs:geronimo-annotation_1.0_spec</include> |
| 179 | </includes> |
| 180 | </dependencySet> |
| 181 | <dependencySet> |
| 182 | <outputDirectory>/system</outputDirectory> |
| 183 | <unpack>false</unpack> |
| 184 | <useProjectArtifact>false</useProjectArtifact> |
| 185 | <outputFileNameMapping>org/apache/servicemix/bundles/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 186 | <includes> |
| 187 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.aopalliance</include> |
| 188 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib</include> |
| 189 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.jaxp-ri</include> |
| 190 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.oro</include> |
| 191 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-jexl</include> |
| 192 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-vfs</include> |
| 193 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-codec</include> |
| 194 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-httpclient</include> |
| 195 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.jline</include> |
| 196 | </includes> |
| 197 | </dependencySet> |
| 198 | <dependencySet> |
| 199 | <outputDirectory>/system</outputDirectory> |
| 200 | <unpack>false</unpack> |
| 201 | <useProjectArtifact>false</useProjectArtifact> |
| 202 | <outputFileNameMapping>org/apache/servicemix/specs/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 203 | <includes> |
| 204 | <include>org.apache.servicemix.specs:org.apache.servicemix.specs.jaxp-api-1.4</include> |
| 205 | </includes> |
| 206 | </dependencySet> |
| 207 | <dependencySet> |
| 208 | <outputDirectory>/system</outputDirectory> |
| 209 | <unpack>false</unpack> |
| 210 | <useProjectArtifact>false</useProjectArtifact> |
| 211 | <outputFileNameMapping>org/apache/servicemix/kernel/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 212 | <includes> |
| 213 | <include>org.apache.servicemix.kernel:org.apache.servicemix.kernel.filemonitor</include> |
| 214 | <include>org.apache.servicemix.kernel:org.apache.servicemix.kernel.spring</include> |
| 215 | <include>org.apache.servicemix.kernel:org.apache.servicemix.kernel.management</include> |
| 216 | </includes> |
| 217 | </dependencySet> |
| 218 | <dependencySet> |
| 219 | <outputDirectory>/system</outputDirectory> |
| 220 | <unpack>false</unpack> |
| 221 | <useProjectArtifact>false</useProjectArtifact> |
| 222 | <outputFileNameMapping>org/apache/servicemix/kernel/gshell/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 223 | <includes> |
| 224 | <include>org.apache.servicemix.kernel.gshell:org.apache.servicemix.kernel.gshell.core</include> |
| 225 | <include>org.apache.servicemix.kernel.gshell:org.apache.servicemix.kernel.gshell.admin</include> |
| 226 | <include>org.apache.servicemix.kernel.gshell:org.apache.servicemix.kernel.gshell.osgi</include> |
| 227 | <include>org.apache.servicemix.kernel.gshell:org.apache.servicemix.kernel.gshell.log</include> |
| 228 | <include>org.apache.servicemix.kernel.gshell:org.apache.servicemix.kernel.gshell.features</include> |
| 229 | <include>org.apache.servicemix.kernel.gshell:org.apache.servicemix.kernel.gshell.config</include> |
| 230 | <include>org.apache.servicemix.kernel.gshell:org.apache.servicemix.kernel.gshell.packages</include> |
| 231 | </includes> |
| 232 | </dependencySet> |
| 233 | <dependencySet> |
| 234 | <outputDirectory>/system</outputDirectory> |
| 235 | <unpack>false</unpack> |
| 236 | <useProjectArtifact>false</useProjectArtifact> |
| 237 | <outputFileNameMapping>org/apache/servicemix/kernel/jaas/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 238 | <includes> |
| 239 | <include>org.apache.servicemix.kernel.jaas:org.apache.servicemix.kernel.jaas.config</include> |
| 240 | <include>org.apache.servicemix.kernel.jaas:org.apache.servicemix.kernel.jaas.modules</include> |
| 241 | </includes> |
| 242 | </dependencySet> |
| 243 | <dependencySet> |
| 244 | <outputDirectory>/system</outputDirectory> |
| 245 | <unpack>false</unpack> |
| 246 | <useProjectArtifact>false</useProjectArtifact> |
| 247 | <outputFileNameMapping>org/apache/sshd/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 248 | <includes> |
| 249 | <include>org.apache.sshd:sshd-core</include> |
| 250 | </includes> |
| 251 | </dependencySet> |
| 252 | <dependencySet> |
| 253 | <outputDirectory>/system</outputDirectory> |
| 254 | <unpack>false</unpack> |
| 255 | <useProjectArtifact>false</useProjectArtifact> |
| 256 | <outputFileNameMapping>org/apache/mina/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 257 | <includes> |
| 258 | <include>org.apache.mina:mina-core</include> |
| 259 | </includes> |
| 260 | </dependencySet> |
| 261 | <dependencySet> |
| 262 | <outputDirectory>/system</outputDirectory> |
| 263 | <unpack>false</unpack> |
| 264 | <useProjectArtifact>false</useProjectArtifact> |
| 265 | <outputFileNameMapping>org/osgi/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 266 | <includes> |
| 267 | <include>org.osgi:jmx</include> |
| 268 | </includes> |
| 269 | </dependencySet> |
| 270 | <dependencySet> |
| 271 | <outputDirectory>/system</outputDirectory> |
| 272 | <unpack>false</unpack> |
| 273 | <useProjectArtifact>false</useProjectArtifact> |
| 274 | <outputFileNameMapping>com/oracle/osgi/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 275 | <includes> |
| 276 | <include>com.oracle.osgi:jmx-impl</include> |
| 277 | </includes> |
| 278 | </dependencySet> |
| 279 | |
| 280 | </dependencySets> |
| 281 | |
| 282 | </assembly> |