aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-jetty/src/main/assembly/bin.xml
blob: 06cefc8aeb7792e1afed7254a1e2f644f2a64a54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!--
  ~ 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>bin</id>
  <formats>
    <format>tar.gz</format>
    <format>zip</format>
  </formats>
  <fileSets>
    <fileSet>      
      <directory>target/generated-resources/appassembler/jsw/archiva/apps</directory>
      <outputDirectory>apps</outputDirectory>
    </fileSet>
    <fileSet>
      <directory>target/generated-resources/appassembler/jsw/archiva/conf</directory>
      <outputDirectory>conf</outputDirectory>
    </fileSet>
    <fileSet>
      <directory>target/generated-resources/appassembler/jsw/archiva/lib</directory>
      <outputDirectory>lib</outputDirectory>
      <excludes>
        <!-- avoid what is pulled in by the appassembler plugin, and the archiva dependencies -->
        <exclude>archiva-*</exclude>
        <exclude>maven-metadata-appassembler.xml</exclude>
      </excludes>
      <fileMode>0755</fileMode>
      <directoryMode>0755</directoryMode>
    </fileSet> 
    <fileSet>
      <directory>target/generated-resources/appassembler/jsw/archiva/logs</directory>
      <outputDirectory>logs</outputDirectory>
    </fileSet>
    <fileSet>
      <directory>target/generated-resources/appassembler/jsw/archiva/temp</directory>
      <outputDirectory>temp</outputDirectory>
    </fileSet>
    <fileSet>
      <directory>target/generated-resources/appassembler/jsw/archiva/bin</directory>
      <outputDirectory>bin</outputDirectory>
      <includes>   
         <include>archiva</include>           
      </includes>
      <fileMode>0755</fileMode>
      <lineEnding>unix</lineEnding>
    </fileSet>
    <fileSet>
      <directory>target/generated-resources/appassembler/jsw/archiva/bin</directory>
      <outputDirectory>bin</outputDirectory>
      <includes>   
         <include>wrapper-linux-x86-32</include>
         <include>wrapper-linux-x86-64</include>
         <include>wrapper-macosx-universal-32</include>
         <include>wrapper-solaris-x86-32</include>
         <include>wrapper-solaris-sparc-32</include>
         <include>wrapper-solaris-sparc-64</include>
      </includes>
      <fileMode>0755</fileMode>
    </fileSet>
    <fileSet>
      <directory>target/generated-resources/appassembler/jsw/archiva/bin</directory>
      <outputDirectory>bin</outputDirectory>
      <includes>        
        <include>archiva.bat</include>
      </includes>
      <fileMode>0755</fileMode>
      <lineEnding>dos</lineEnding>
    </fileSet>
    <fileSet>
      <directory>target/generated-resources/appassembler/jsw/archiva/bin</directory>
      <outputDirectory>bin</outputDirectory>
      <includes>   
        <include>wrapper-windows-x86-32.exe</include>
        <include>wrapper-windows-x86-64.exe</include>
      </includes>
      <fileMode>0755</fileMode>
    </fileSet>
    <fileSet>
      <directory>target/maven-shared-archive-resources/META-INF/</directory>
      <outputDirectory>/</outputDirectory>
      <includes>
        <include>NOTICE</include>
      </includes>
    </fileSet>
    <fileSet>
      <directory>src/main/resources/</directory>
      <outputDirectory>/</outputDirectory>
      <includes>
        <include>LICENSE</include>
      </includes>
    </fileSet>
    <fileSet>
      <directory>src/main/contexts</directory>
      <outputDirectory>contexts</outputDirectory>
    </fileSet>
  </fileSets>
  <dependencySets>
    <dependencySet>
      <unpack>true</unpack>
      <outputDirectory>apps/archiva</outputDirectory>
      <includes>
        <include>org.apache.archiva:archiva-webapp</include>
      </includes>
      <fileMode>0755</fileMode>
      <directoryMode>0755</directoryMode>
    </dependencySet>
  </dependencySets>
</assembly>