Initial Contribution
Signed-off-by: Jan Supol <jan.supol@oracle.com>
diff --git a/bundles/examples/src/main/assembly/examples-assembly.xml b/bundles/examples/src/main/assembly/examples-assembly.xml
new file mode 100644
index 0000000..37cef57
--- /dev/null
+++ b/bundles/examples/src/main/assembly/examples-assembly.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2012, 2018 Oracle and/or its affiliates. All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v. 2.0, which is available at
+ http://www.eclipse.org/legal/epl-2.0.
+
+ This Source Code may also be made available under the following Secondary
+ Licenses when the conditions for such availability set forth in the
+ Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ version 2 with the GNU Classpath Exception, which is available at
+ https://www.gnu.org/software/classpath/license.html.
+
+ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+
+-->
+
+<assembly>
+ <id>all</id>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>target/dependency/examples</directory>
+ <outputDirectory>jersey/examples</outputDirectory>
+ </fileSet>
+ </fileSets>
+ <files>
+ <file>
+ <source>../../LICENSE.md</source>
+ <outputDirectory>jersey</outputDirectory>
+ </file>
+ </files>
+</assembly>
diff --git a/bundles/examples/src/main/assembly/gf-examples-assembly.xml b/bundles/examples/src/main/assembly/gf-examples-assembly.xml
new file mode 100644
index 0000000..9ad77b9
--- /dev/null
+++ b/bundles/examples/src/main/assembly/gf-examples-assembly.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2012, 2018 Oracle and/or its affiliates. All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v. 2.0, which is available at
+ http://www.eclipse.org/legal/epl-2.0.
+
+ This Source Code may also be made available under the following Secondary
+ Licenses when the conditions for such availability set forth in the
+ Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ version 2 with the GNU Classpath Exception, which is available at
+ https://www.gnu.org/software/classpath/license.html.
+
+ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+
+-->
+
+<assembly>
+ <id>gf</id>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>target/dependency/gf-examples</directory>
+ <outputDirectory>glassfish/jersey/examples</outputDirectory>
+ </fileSet>
+ </fileSets>
+ <files>
+ <file>
+ <source>../../LICENSE.md</source>
+ <outputDirectory>.</outputDirectory>
+ </file>
+ <file>
+ <source>../../LICENSE.md</source>
+ <outputDirectory>glassfish/jersey</outputDirectory>
+ </file>
+ </files>
+</assembly>
diff --git a/bundles/examples/src/main/assembly/wls-examples-assembly.xml b/bundles/examples/src/main/assembly/wls-examples-assembly.xml
new file mode 100644
index 0000000..c1c378b
--- /dev/null
+++ b/bundles/examples/src/main/assembly/wls-examples-assembly.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2013, 2018 Oracle and/or its affiliates. All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v. 2.0, which is available at
+ http://www.eclipse.org/legal/epl-2.0.
+
+ This Source Code may also be made available under the following Secondary
+ Licenses when the conditions for such availability set forth in the
+ Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ version 2 with the GNU Classpath Exception, which is available at
+ https://www.gnu.org/software/classpath/license.html.
+
+ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+
+-->
+
+<assembly>
+ <id>wls</id>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>target/dependency/wls-examples</directory>
+ <outputDirectory>wls/jersey/examples</outputDirectory>
+ <!-- exclude examples not working on WebLogic-->
+ <excludes>
+ <exclude>**/bookmark/**</exclude> <!-- uses persistence configured for GF -->
+ <exclude>**/https-server-glassfish/**</exclude> <!-- GF only, no tests to run anyway-->
+ <exclude>**/managed-beans-webapp/**</exclude> <!-- uses persistence configured for GF -->
+ </excludes>
+ </fileSet>
+ </fileSets>
+ <files>
+ <file>
+ <source>../../LICENSE.md</source>
+ <outputDirectory>.</outputDirectory>
+ </file>
+ <file>
+ <source>../../LICENSE.md</source>
+ <outputDirectory>wls/jersey</outputDirectory>
+ </file>
+ </files>
+</assembly>
diff --git a/bundles/examples/src/main/assembly/wls1213-examples-assembly.xml b/bundles/examples/src/main/assembly/wls1213-examples-assembly.xml
new file mode 100644
index 0000000..52db705
--- /dev/null
+++ b/bundles/examples/src/main/assembly/wls1213-examples-assembly.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2015, 2018 Oracle and/or its affiliates. All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v. 2.0, which is available at
+ http://www.eclipse.org/legal/epl-2.0.
+
+ This Source Code may also be made available under the following Secondary
+ Licenses when the conditions for such availability set forth in the
+ Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ version 2 with the GNU Classpath Exception, which is available at
+ https://www.gnu.org/software/classpath/license.html.
+
+ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+
+-->
+
+<assembly>
+ <id>wls1213</id>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>target/dependency/wls1213-examples</directory>
+ <outputDirectory>wls1213/jersey/examples</outputDirectory>
+ <!-- exclude examples not working on WebLogic-->
+ <excludes>
+ <exclude>**/bookmark/**</exclude> <!-- uses persistence configured for GF -->
+ <exclude>**/https-server-glassfish/**</exclude> <!-- GF only, no tests to run anyway -->
+ <exclude>**/managed-beans-webapp/**</exclude> <!-- uses persistence configured for GF -->
+ <exclude>**/rx-client-java8-webapp/**</exclude> <!-- Java8 -->
+ <exclude>**/default-method-java8-webapp/**</exclude> <!-- Java8 -->
+ </excludes>
+ </fileSet>
+ </fileSets>
+ <files>
+ <file>
+ <source>../../LICENSE.md</source>
+ <outputDirectory>.</outputDirectory>
+ </file>
+ <file>
+ <source>../../LICENSE.md</source>
+ <outputDirectory>wls1213/jersey</outputDirectory>
+ </file>
+ </files>
+</assembly>