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>tar.gz</format> |
| 22 | </formats> |
| 23 | <fileSets> |
| 24 | |
| 25 | <!-- Copy license and other files from root --> |
| 26 | <fileSet> |
| 27 | <directory>..</directory> |
| 28 | <outputDirectory>/</outputDirectory> |
| 29 | <includes> |
| 30 | <include>README.txt</include> |
| 31 | <include>RELEASE*.txt</include> |
| 32 | </includes> |
| 33 | <lineEnding>unix</lineEnding> |
| 34 | </fileSet> |
| 35 | |
| 36 | <!-- Copy over everything that needs to get unix line endings --> |
| 37 | <fileSet> |
| 38 | <directory>src/main/distribution/text</directory> |
| 39 | <outputDirectory>/</outputDirectory> |
| 40 | <lineEnding>unix</lineEnding> |
| 41 | </fileSet> |
| 42 | <fileSet> |
| 43 | <directory>src/main/distribution/unix-text</directory> |
| 44 | <outputDirectory>/</outputDirectory> |
| 45 | <lineEnding>unix</lineEnding> |
| 46 | </fileSet> |
| 47 | <fileSet> |
| 48 | <directory>target/classes/etc</directory> |
| 49 | <outputDirectory>/etc/</outputDirectory> |
| 50 | <lineEnding>unix</lineEnding> |
| 51 | </fileSet> |
| 52 | |
| 53 | <!-- Copy over the examples --> |
| 54 | <fileSet> |
| 55 | <directory>../demos</directory> |
| 56 | <outputDirectory>/demos/</outputDirectory> |
| 57 | <lineEnding>unix</lineEnding> |
| 58 | <excludes> |
| 59 | <exclude>**/target/**</exclude> |
| 60 | </excludes> |
| 61 | </fileSet> |
| 62 | |
| 63 | <!-- Copy over files that should not get the line endings converted --> |
| 64 | <fileSet> |
| 65 | <directory>src/main/distribution/binary</directory> |
| 66 | <outputDirectory>/</outputDirectory> |
| 67 | </fileSet> |
| 68 | |
| 69 | <!-- Copy over the files that should not get the line endings converted but need to be chmod to 755 --> |
| 70 | <fileSet> |
| 71 | <directory>src/main/distribution/unix-binary</directory> |
| 72 | <outputDirectory>/</outputDirectory> |
| 73 | <fileMode>0755</fileMode> |
| 74 | </fileSet> |
| 75 | |
| 76 | <!-- Copy over the files that need unix line endings and also chmod to 755 --> |
| 77 | <fileSet> |
| 78 | <directory>src/main/distribution/unix-shell</directory> |
| 79 | <outputDirectory>/</outputDirectory> |
| 80 | <lineEnding>unix</lineEnding> |
| 81 | <fileMode>0755</fileMode> |
| 82 | </fileSet> |
| 83 | |
| 84 | <!-- Copy over jar files --> |
| 85 | <fileSet> |
| 86 | <directory>target/dependencies</directory> |
| 87 | <outputDirectory>/lib/</outputDirectory> |
| 88 | </fileSet> |
| 89 | |
| 90 | </fileSets> |
| 91 | |
| 92 | <files> |
| 93 | <file> |
| 94 | <source>${basedir}/../etc/config.properties</source> |
| 95 | <outputDirectory>/etc/</outputDirectory> |
| 96 | <destName>config.properties</destName> |
| 97 | <fileMode>0644</fileMode> |
| 98 | <lineEnding>unix</lineEnding> |
| 99 | </file> |
| 100 | <file> |
| 101 | <source>${basedir}/target/maven-shared-archive-resources/META-INF/LICENSE</source> |
| 102 | <outputDirectory>/</outputDirectory> |
| 103 | <destName>LICENSE.txt</destName> |
| 104 | <fileMode>0644</fileMode> |
| 105 | <lineEnding>unix</lineEnding> |
| 106 | </file> |
| 107 | <file> |
| 108 | <source>${basedir}/target/maven-shared-archive-resources/META-INF/NOTICE</source> |
| 109 | <outputDirectory>/</outputDirectory> |
| 110 | <destName>NOTICE.txt</destName> |
| 111 | <fileMode>0644</fileMode> |
| 112 | <lineEnding>unix</lineEnding> |
| 113 | </file> |
| 114 | <file> |
| 115 | <source>${basedir}/target/classes/features.xml</source> |
| 116 | <outputDirectory>/system/org/apache/servicemix/kernel/apache-servicemix-kernel/${version}</outputDirectory> |
| 117 | <destName>apache-servicemix-kernel-${version}-features.xml</destName> |
| 118 | <fileMode>0644</fileMode> |
| 119 | <lineEnding>unix</lineEnding> |
| 120 | </file> |
| 121 | </files> |
| 122 | |
| 123 | <dependencySets> |
| 124 | |
| 125 | <dependencySet> |
| 126 | <outputDirectory>/system</outputDirectory> |
| 127 | <unpack>false</unpack> |
| 128 | <useProjectArtifact>false</useProjectArtifact> |
| 129 | <outputFileNameMapping>org/apache/felix/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 130 | <includes> |
| 131 | <include>org.apache.felix:org.osgi.compendium</include> |
| 132 | <include>org.apache.felix:org.apache.felix.configadmin</include> |
| 133 | <include>org.apache.felix:org.apache.felix.prefs</include> |
| 134 | </includes> |
| 135 | </dependencySet> |
| 136 | <dependencySet> |
| 137 | <outputDirectory>/system</outputDirectory> |
| 138 | <unpack>false</unpack> |
| 139 | <useProjectArtifact>false</useProjectArtifact> |
| 140 | <outputFileNameMapping>org/ops4j/pax/logging/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 141 | <includes> |
| 142 | <include>org.ops4j.pax.logging:pax-logging-api</include> |
| 143 | <include>org.ops4j.pax.logging:pax-logging-service</include> |
| 144 | </includes> |
| 145 | </dependencySet> |
| 146 | <dependencySet> |
| 147 | <outputDirectory>/system</outputDirectory> |
| 148 | <unpack>false</unpack> |
| 149 | <useProjectArtifact>false</useProjectArtifact> |
| 150 | <outputFileNameMapping>org/ops4j/pax/url/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 151 | <includes> |
| 152 | <include>org.ops4j.pax.url:pax-url-mvn</include> |
| 153 | <include>org.ops4j.pax.url:pax-url-wrap</include> |
| 154 | </includes> |
| 155 | </dependencySet> |
| 156 | <dependencySet> |
| 157 | <outputDirectory>/system</outputDirectory> |
| 158 | <unpack>false</unpack> |
| 159 | <useProjectArtifact>false</useProjectArtifact> |
| 160 | <outputFileNameMapping>org/springframework/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 161 | <includes> |
| 162 | <include>org.springframework:spring-aop</include> |
| 163 | <include>org.springframework:spring-beans</include> |
| 164 | <include>org.springframework:spring-context</include> |
| 165 | <include>org.springframework:spring-core</include> |
| 166 | </includes> |
| 167 | </dependencySet> |
| 168 | <dependencySet> |
| 169 | <outputDirectory>/system</outputDirectory> |
| 170 | <unpack>false</unpack> |
| 171 | <useProjectArtifact>false</useProjectArtifact> |
| 172 | <outputFileNameMapping>org/springframework/osgi/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 173 | <includes> |
| 174 | <include>org.springframework.osgi:spring-osgi-core</include> |
| 175 | <include>org.springframework.osgi:spring-osgi-extender</include> |
| 176 | <include>org.springframework.osgi:spring-osgi-io</include> |
| 177 | </includes> |
| 178 | </dependencySet> |
| 179 | <dependencySet> |
| 180 | <outputDirectory>/system</outputDirectory> |
| 181 | <unpack>false</unpack> |
| 182 | <useProjectArtifact>false</useProjectArtifact> |
| 183 | <outputFileNameMapping>org/apache/geronimo/specs/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 184 | <includes> |
| 185 | <include>org.apache.geronimo.specs:geronimo-servlet_2.5_spec</include> |
| 186 | <include>org.apache.geronimo.specs:geronimo-annotation_1.0_spec</include> |
| 187 | </includes> |
| 188 | </dependencySet> |
| 189 | <dependencySet> |
| 190 | <outputDirectory>/system</outputDirectory> |
| 191 | <unpack>false</unpack> |
| 192 | <useProjectArtifact>false</useProjectArtifact> |
| 193 | <outputFileNameMapping>org/apache/servicemix/bundles/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 194 | <includes> |
| 195 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.aopalliance</include> |
| 196 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.cglib</include> |
| 197 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.jaxp-ri</include> |
| 198 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.oro</include> |
| 199 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-jexl</include> |
| 200 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-vfs</include> |
| 201 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-codec</include> |
| 202 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-httpclient</include> |
| 203 | <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.jline</include> |
| 204 | </includes> |
| 205 | </dependencySet> |
| 206 | <dependencySet> |
| 207 | <outputDirectory>/system</outputDirectory> |
| 208 | <unpack>false</unpack> |
| 209 | <useProjectArtifact>false</useProjectArtifact> |
| 210 | <outputFileNameMapping>org/apache/servicemix/specs/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 211 | <includes> |
| 212 | <include>org.apache.servicemix.specs:org.apache.servicemix.specs.jaxp-api-1.4</include> |
| 213 | </includes> |
| 214 | </dependencySet> |
| 215 | <dependencySet> |
| 216 | <outputDirectory>/system</outputDirectory> |
| 217 | <unpack>false</unpack> |
| 218 | <useProjectArtifact>false</useProjectArtifact> |
| 219 | <outputFileNameMapping>org/apache/servicemix/kernel/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 220 | <includes> |
| 221 | <include>org.apache.servicemix.kernel:org.apache.servicemix.kernel.filemonitor</include> |
| 222 | <include>org.apache.servicemix.kernel:org.apache.servicemix.kernel.spring</include> |
| 223 | <include>org.apache.servicemix.kernel:org.apache.servicemix.kernel.management</include> |
| 224 | </includes> |
| 225 | </dependencySet> |
| 226 | <dependencySet> |
| 227 | <outputDirectory>/system</outputDirectory> |
| 228 | <unpack>false</unpack> |
| 229 | <useProjectArtifact>false</useProjectArtifact> |
| 230 | <outputFileNameMapping>org/apache/servicemix/kernel/gshell/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 231 | <includes> |
| 232 | <include>org.apache.servicemix.kernel.gshell:org.apache.servicemix.kernel.gshell.core</include> |
| 233 | <include>org.apache.servicemix.kernel.gshell:org.apache.servicemix.kernel.gshell.admin</include> |
| 234 | <include>org.apache.servicemix.kernel.gshell:org.apache.servicemix.kernel.gshell.osgi</include> |
| 235 | <include>org.apache.servicemix.kernel.gshell:org.apache.servicemix.kernel.gshell.log</include> |
| 236 | <include>org.apache.servicemix.kernel.gshell:org.apache.servicemix.kernel.gshell.features</include> |
| 237 | <include>org.apache.servicemix.kernel.gshell:org.apache.servicemix.kernel.gshell.config</include> |
| 238 | <include>org.apache.servicemix.kernel.gshell:org.apache.servicemix.kernel.gshell.packages</include> |
| 239 | </includes> |
| 240 | </dependencySet> |
| 241 | <dependencySet> |
| 242 | <outputDirectory>/system</outputDirectory> |
| 243 | <unpack>false</unpack> |
| 244 | <useProjectArtifact>false</useProjectArtifact> |
| 245 | <outputFileNameMapping>org/apache/servicemix/kernel/jaas/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 246 | <includes> |
| 247 | <include>org.apache.servicemix.kernel.jaas:org.apache.servicemix.kernel.jaas.config</include> |
| 248 | <include>org.apache.servicemix.kernel.jaas:org.apache.servicemix.kernel.jaas.modules</include> |
| 249 | </includes> |
| 250 | </dependencySet> |
| 251 | <dependencySet> |
| 252 | <outputDirectory>/system</outputDirectory> |
| 253 | <unpack>false</unpack> |
| 254 | <useProjectArtifact>false</useProjectArtifact> |
| 255 | <outputFileNameMapping>org/apache/sshd/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 256 | <includes> |
| 257 | <include>org.apache.sshd:sshd-core</include> |
| 258 | </includes> |
| 259 | </dependencySet> |
| 260 | <dependencySet> |
| 261 | <outputDirectory>/system</outputDirectory> |
| 262 | <unpack>false</unpack> |
| 263 | <useProjectArtifact>false</useProjectArtifact> |
| 264 | <outputFileNameMapping>org/apache/mina/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 265 | <includes> |
| 266 | <include>org.apache.mina:mina-core</include> |
| 267 | </includes> |
| 268 | </dependencySet> |
| 269 | <dependencySet> |
| 270 | <outputDirectory>/system</outputDirectory> |
| 271 | <unpack>false</unpack> |
| 272 | <useProjectArtifact>false</useProjectArtifact> |
| 273 | <outputFileNameMapping>org/osgi/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 274 | <includes> |
| 275 | <include>org.osgi:jmx</include> |
| 276 | </includes> |
| 277 | </dependencySet> |
| 278 | <dependencySet> |
| 279 | <outputDirectory>/system</outputDirectory> |
| 280 | <unpack>false</unpack> |
| 281 | <useProjectArtifact>false</useProjectArtifact> |
| 282 | <outputFileNameMapping>com/oracle/osgi/${artifact.artifactId}/${artifact.baseVersion}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> |
| 283 | <includes> |
| 284 | <include>com.oracle.osgi:jmx-impl</include> |
| 285 | </includes> |
| 286 | </dependencySet> |
| 287 | |
| 288 | </dependencySets> |
| 289 | |
| 290 | </assembly> |