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