Initial OpenECOMP MSO commit
[so.git] / bpmn / MSOCockpit / src / main / assembly / cockpit-build.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ECOMP MSO
4   ================================================================================
5   Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ============LICENSE_END=========================================================
19   -->
20
21 <assembly
22         xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1"
23         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24         xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
25         <id>cockpit-build</id>
26
27         <formats>
28                 <format>war</format>
29         </formats>
30         
31         <includeBaseDirectory>false</includeBaseDirectory>
32
33         <dependencySets>
34                 <dependencySet>
35                         <outputDirectory>/</outputDirectory>
36                         <includes>
37                                 <include>org.camunda.bpm.webapp:camunda-webapp-jboss-standalone</include>
38                         </includes>
39                         <unpack>true</unpack>
40                         <unpackOptions>
41                                 <excludes>
42                                         <exclude>WEB-INF/applicationContext.xml</exclude>
43                                         <exclude>WEB-INF/web.xml</exclude>
44                                         <exclude>WEB-INF/jboss-deployment-structure.xml</exclude>
45                                 </excludes>
46                         </unpackOptions>
47                         <scope>runtime</scope>
48                         <useProjectArtifact>false</useProjectArtifact>
49                 </dependencySet>
50
51                 <!-- Here is where cockpit plugins are embedded -->
52
53                 <dependencySet>
54                         <outputDirectory>/WEB-INF/lib</outputDirectory>
55                         <includes>
56                                 <!-- The URN Mapping plugin -->
57                                 <!-- <include>com.att.camunda.bpm.cockpit.plugin:cockpit-urnmap-plugin</include> -->
58
59                                 <!-- for MSO Logging -->
60                                 <include>org.openecomp.mso:logger</include>
61                                 <include>ch.qos.logback:logback-core</include>
62                                 <include>ch.qos.logback:logback-classic</include>
63                                 <include>com.att.eelf:eelf-core</include>
64
65                                 <!-- Included so the cockpit can deserialize and display core
66                                      class objects, like MSOWorkflowException -->
67                                 <include>org.openecomp.mso:MSOCoreBPMN</include>
68                         </includes>
69                         <unpack>false</unpack>
70                         <scope>runtime</scope>
71                         <useProjectArtifact>false</useProjectArtifact>
72                 </dependencySet>
73         </dependencySets>
74
75         <!-- We provide our own versions of the following files -->
76
77         <files>
78                 <file>
79                         <source>src/main/resources/WEB-INF/applicationContext.xml</source>
80                         <outputDirectory>/WEB-INF</outputDirectory>
81                 </file>
82                 <file>
83                         <source>src/main/resources/WEB-INF/web.xml</source>
84                         <outputDirectory>/WEB-INF</outputDirectory>
85                 </file>
86                 <file>
87                         <source>src/main/resources/WEB-INF/jboss-deployment-structure.xml</source>
88                         <outputDirectory>/WEB-INF</outputDirectory>
89                 </file>
90         </files>
91 </assembly>