All Downloads are FREE. Search and download functionalities are using the official Maven repository.

assemblies.ness-components.xml Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (C) 2012 Ness Computing, Inc.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->

<component xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2 http://maven.apache.org/xsd/component-1.1.2.xsd">

  <!--
       ========================================================================
       =
       = This loads the various folders from the actual project into the final
       = tarball.
       =
       = src/main/galaxy         ==> / (.../galaxy/bin goes to bin, .../galaxy/etc goes to etc)
       =
       ========================================================================
  -->
  <fileSets>
    <fileSet>
      <directory>src/main/galaxy</directory>
      <outputDirectory>/</outputDirectory>
      <fileMode>0755</fileMode>
    </fileSet>
  </fileSets>

  <!--
       ========================================================================
       =
       = Unpack the deploy-scripts archive into the bin folder.
       =
       = Deploy scripts should be configured in the dependencies for the the "build-release"
       = profile with scope 'provided'.
       =
       =      <dependency>
       =        <groupId>com.nesscomputing.components</groupId>
       =        <artifactId>ness-galaxy</artifactId>
       =        <version>${galaxy.scripts.version}</version>
       =        <type>tar.gz</type>
       =        <scope>provided</scope>
       =      </dependency>
       =
       = The "bin/LAUNCHER_TYPE" file is filtered and the right launcher type
       = is put into this file.
       =
       ========================================================================
  -->
  <dependencySets>
    <dependencySet>
      <scope>provided</scope>
      <useProjectArtifact>false</useProjectArtifact>
      <outputDirectory>/bin</outputDirectory>
      <includes>
	<include>com.nesscomputing.components:ness-galaxy:tar.gz</include>
      </includes>
      <unpack>true</unpack>
      <unpackOptions>
	<excludes>
	  <exclude>META-INF</exclude>
	  <exclude>META-INF/**/*</exclude>
	  <exclude>LAUNCHER_TYPE</exclude>
	</excludes>
      </unpackOptions>
      <directoryMode>0777</directoryMode>
      <fileMode>0755</fileMode>
    </dependencySet>

    <dependencySet>
      <scope>provided</scope>
      <useProjectArtifact>false</useProjectArtifact>
      <outputDirectory>/bin</outputDirectory>
      <includes>
	<include>com.nesscomputing.components:ness-galaxy:tar.gz</include>
      </includes>
      <unpack>true</unpack>
      <unpackOptions>
	<includes>
	  <include>LAUNCHER_TYPE</include>
	</includes>
	<filtered>true</filtered>
      </unpackOptions>
      <!-- Workaround for MASSEMBLY-533 -->
      <outputFileNameMapping></outputFileNameMapping>
      <directoryMode>0777</directoryMode>
      <fileMode>0755</fileMode>
    </dependencySet>
  </dependencySets>
</component>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy