Gld Extension Release Module release.xml: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | |||
* [[Gld_Extension_Development#New_Extension|gld Extension Development]] | |||
=Template= | |||
<pre> | <pre> | ||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" | <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> | |||
<id>public-binary-release</id> | <id>public-binary-release</id> | ||
Line 27: | Line 32: | ||
<!-- | <!-- | ||
We place the integration | We place the integration libraries into the root directory of the extension ZIP file | ||
--> | --> | ||
<dependencySet> | <dependencySet> | ||
<outputDirectory>.</outputDirectory> | <outputDirectory>.</outputDirectory> | ||
<includes> | <includes> | ||
<include>io.novaordis.gld.extensions.jboss-datagrid | <include>io.novaordis.gld.extensions.jboss-datagrid:*</include> | ||
</includes> | </includes> | ||
</dependencySet> | </dependencySet> | ||
Line 38: | Line 43: | ||
<!-- | <!-- | ||
We place the service external dependencies under a sub-directory whose name is the version we ship | We place the service external dependencies under a sub-directory whose name is the version we ship | ||
dependencies for. We do that by including everything, except the integration library. | dependencies for. We do that by including mostly everything, except the integration library, and the | ||
dependencies of io.novaordis.gld.extensions.jboss-datagrid:jboss-datagrid-common, which was NOT declared as | |||
<provided> because we needed its dependencies during compilation and testing. Those libraries, which are | |||
the GLD API and *its* dependencies, will already be available in the runtime. | |||
--> | --> | ||
<dependencySet> | <dependencySet> | ||
<outputDirectory>${jboss.datagrid.version}</outputDirectory> | <outputDirectory>${jboss.datagrid.version}</outputDirectory> | ||
<excludes> | <excludes> | ||
<exclude>io.novaordis.gld.extensions.jboss-datagrid | <exclude>io.novaordis.gld.extensions.jboss-datagrid:*</exclude> | ||
<exclude>io.novaordis.gld:*</exclude> | |||
<exclude>org.yaml:snakeyaml</exclude> | |||
</excludes> | </excludes> | ||
</dependencySet> | </dependencySet> | ||
Line 50: | Line 60: | ||
</assembly> | </assembly> | ||
</pre> | </pre> |
Latest revision as of 04:03, 20 January 2017
Internal
Template
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> <id>public-binary-release</id> <formats> <format>zip</format> </formats> <includeBaseDirectory>true</includeBaseDirectory> <files> <file> <!-- Needs the extension name replaced --> <source>./src/main/bash/.install</source> <filtered>true</filtered> <outputDirectory>bin</outputDirectory> <fileMode>0755</fileMode> </file> </files> <dependencySets> <!-- We place the integration libraries into the root directory of the extension ZIP file --> <dependencySet> <outputDirectory>.</outputDirectory> <includes> <include>io.novaordis.gld.extensions.jboss-datagrid:*</include> </includes> </dependencySet> <!-- We place the service external dependencies under a sub-directory whose name is the version we ship dependencies for. We do that by including mostly everything, except the integration library, and the dependencies of io.novaordis.gld.extensions.jboss-datagrid:jboss-datagrid-common, which was NOT declared as <provided> because we needed its dependencies during compilation and testing. Those libraries, which are the GLD API and *its* dependencies, will already be available in the runtime. --> <dependencySet> <outputDirectory>${jboss.datagrid.version}</outputDirectory> <excludes> <exclude>io.novaordis.gld.extensions.jboss-datagrid:*</exclude> <exclude>io.novaordis.gld:*</exclude> <exclude>org.yaml:snakeyaml</exclude> </excludes> </dependencySet> </dependencySets> </assembly>