Implement support for v10 model entities.
[aai/model-loader.git] / src / main / assemble / ajsc_module_assembly.xml
diff --git a/src/main/assemble/ajsc_module_assembly.xml b/src/main/assemble/ajsc_module_assembly.xml
new file mode 100644 (file)
index 0000000..520870f
--- /dev/null
@@ -0,0 +1,86 @@
+<!--\r
+  ============LICENSE_START=======================================================
+  MODEL LOADER SERVICE
+  ================================================================================
+  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+  ================================================================================
+  Licensed under the Apache License, Version 2.0 (the "License");\r
+  you may not use this file except in compliance with the License.\r
+  You may obtain a copy of the License at\r
+  \r
+       http://www.apache.org/licenses/LICENSE-2.0\r
+  \r
+  Unless required by applicable law or agreed to in writing, software\r
+  distributed under the License is distributed on an "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+  See the License for the specific language governing permissions and\r
+  limitations under the License.
+  ============LICENSE_END=========================================================\r
+  -->\r
+\r
+<assembly\r
+       xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"\r
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+       xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">\r
+       <id>${version}</id>\r
+       <includeBaseDirectory>false</includeBaseDirectory>\r
+       <formats>\r
+               <format>zip</format>\r
+       </formats>\r
+       <fileSets>\r
+               <fileSet>\r
+                       <directory>${project.basedir}/target/versioned-ajsc/routes/</directory>\r
+                       <outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/routes/</outputDirectory>\r
+                       <includes>\r
+                               <include>*.route</include>\r
+                       </includes>\r
+\r
+               </fileSet>\r
+\r
+               <fileSet>\r
+                       <directory>${project.basedir}/target/versioned-ajsc/docs/</directory>\r
+                       <outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/docs/</outputDirectory>\r
+                       <includes>\r
+                               <include>*.*</include>\r
+                               <!-- <include>*.vm</include>  -->\r
+                       </includes>\r
+\r
+               </fileSet>\r
+\r
+               <fileSet>\r
+                       <directory>${project.basedir}/target/versioned-ajsc/lib/</directory>\r
+                       <outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/lib/</outputDirectory>\r
+                       <includes>\r
+                               <include>*.jar</include>\r
+                       </includes>\r
+\r
+               </fileSet>\r
+               <fileSet>\r
+                       <directory>${project.basedir}/target/versioned-ajsc/extJars/</directory>\r
+                       <outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/extJars/</outputDirectory>\r
+                       <includes>\r
+                               <include>*.jar</include>\r
+                       </includes>\r
+               </fileSet>\r
+               \r
+               <!-- also try to grab outputs from the "jar" plugin's package phase -->\r
+               <fileSet>\r
+                       <directory>${project.basedir}/target/</directory>\r
+                       <outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/lib/</outputDirectory>\r
+                       <includes>\r
+                               <include>*.jar</include>\r
+                       </includes>\r
+               </fileSet>\r
+\r
+               <fileSet>\r
+                       <directory>${project.basedir}/target/versioned-ajsc/conf/</directory>\r
+                       <outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/conf/</outputDirectory>\r
+                       <includes>\r
+                               <include>*.*</include>\r
+                       </includes>\r
+\r
+               </fileSet>\r
+       </fileSets>\r
+\r
+</assembly>\r
+\r