mirror of
https://github.com/iterate-ch/cyberduck.git
synced 2026-05-26 19:10:49 +00:00
238 lines
11 KiB
XML
238 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright (c) 2002-2016 iterate GmbH. All rights reserved.
|
|
~ https://cyberduck.io/
|
|
~
|
|
~ This program is free software; you can redistribute it and/or modify
|
|
~ it under the terms of the GNU General Public License as published by
|
|
~ the Free Software Foundation; either version 2 of the License, or
|
|
~ (at your option) any later version.
|
|
~
|
|
~ This program is distributed in the hope that it will be useful,
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
~ GNU General Public License for more details.
|
|
-->
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>ch.cyberduck</groupId>
|
|
<artifactId>parent</artifactId>
|
|
<relativePath>../../pom.xml</relativePath>
|
|
<version>9.5.1-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>cli-osx</artifactId>
|
|
<description>Cyberduck CLI Mac</description>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>windows</id>
|
|
<activation>
|
|
<os>
|
|
<family>Windows</family>
|
|
</os>
|
|
</activation>
|
|
<properties>
|
|
<maven.test.skip>true</maven.test.skip>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>linux</id>
|
|
<activation>
|
|
<os>
|
|
<family>Linux</family>
|
|
</os>
|
|
</activation>
|
|
<properties>
|
|
<maven.test.skip>true</maven.test.skip>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>mac</id>
|
|
<activation>
|
|
<os>
|
|
<family>Mac</family>
|
|
</os>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-dependencies-jar-bundle</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/duck.bundle/Contents/Resources</outputDirectory>
|
|
<includeTypes>jar</includeTypes>
|
|
<includeScope>runtime</includeScope>
|
|
<stripClassifier>true</stripClassifier>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-dependencies-dylib-bundle</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/duck.bundle/Contents/Frameworks</outputDirectory>
|
|
<includeTypes>dylib,jnilib</includeTypes>
|
|
<includeScope>runtime</includeScope>
|
|
<stripClassifier>true</stripClassifier>
|
|
<stripVersion>true</stripVersion>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-artfifact-bundle</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>${project.artifactId}</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>${project.packaging}</type>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
<outputDirectory>${project.build.directory}/duck.bundle/Contents/Resources</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>unpack-runtime</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>net.temurin</groupId>
|
|
<artifactId>jdk</artifactId>
|
|
<type>zip</type>
|
|
<version>21.0.9</version>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>unpack-profiles</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>ch.cyberduck</groupId>
|
|
<artifactId>profiles</artifactId>
|
|
<version>${project.version}</version>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
<outputDirectory>${project.build.directory}/duck.bundle/Contents/Resources/Profiles</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>ch.cyberduck</groupId>
|
|
<artifactId>libcore</artifactId>
|
|
<type>dylib</type>
|
|
<scope>runtime</scope>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>sparkle</id>
|
|
<!-- activate profile for non-Jenkins builds -->
|
|
<activation>
|
|
<property>
|
|
<name>!env.JENKINS_HOME</name>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<xcode.configuration>Release</xcode.configuration>
|
|
<sparkle.feed>local</sparkle.feed>
|
|
<codesign.certificate>Apple Development: David Kocher (DF448WW9PY)</codesign.certificate>
|
|
<installer.certificate>Apple Development: David Kocher (DF448WW9PY)</installer.certificate>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>installer</id>
|
|
<activation>
|
|
<os>
|
|
<family>Mac</family>
|
|
</os>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>run-ant-package-target</id>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target>
|
|
<property name="home" value="${main.basedir}" />
|
|
<property name="version" value="${project.version}" />
|
|
<property name="revision" value="${git.commitsCount}" />
|
|
<property name="hash" value="${git.revision}" />
|
|
<property name="sparkle.feed" value="${sparkle.feed}" />
|
|
<property name="installer.certificate" value="${installer.certificate}" />
|
|
<property name="skipNotarize" value="${skipNotarize}" />
|
|
<property name="skipSign" value="${skipSign}" />
|
|
<ant antfile="${project.basedir}/build.xml" target="package" dir="." />
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>ch.cyberduck</groupId>
|
|
<artifactId>libcore</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.cyberduck</groupId>
|
|
<artifactId>cli</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.cyberduck</groupId>
|
|
<artifactId>test</artifactId>
|
|
<type>pom</type>
|
|
<scope>test</scope>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.fusesource.jansi</groupId>
|
|
<artifactId>libjansi</artifactId>
|
|
<version>${jansi.version}</version>
|
|
<type>jnilib</type>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|