mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 23:06:39 +01:00
Merge pull request #864 from cedricwalter/fix-protobuf-permissions
used ant-exec to fix permissions instead of maven assembly
This commit is contained in:
commit
45774d3177
3 changed files with 16 additions and 35 deletions
|
@ -5,16 +5,16 @@ jdk:
|
||||||
install:
|
install:
|
||||||
- git clone -b bisq_0.14.4.1 https://github.com/bitsquare/bitcoinj.git
|
- git clone -b bisq_0.14.4.1 https://github.com/bitsquare/bitcoinj.git
|
||||||
- cd bitcoinj
|
- cd bitcoinj
|
||||||
- mvn clean install
|
- mvn clean install -DskipTests
|
||||||
- git clone https://github.com/bitsquare/libdohj.git
|
- git clone https://github.com/bitsquare/libdohj.git
|
||||||
- cd libdohj
|
- cd libdohj
|
||||||
- mvn clean install
|
- mvn clean install -DskipTests
|
||||||
- git clone https://github.com/bitsquare/btcd-cli4j.git
|
- git clone https://github.com/bitsquare/btcd-cli4j.git
|
||||||
- cd btcd-cli4j
|
- cd btcd-cli4j
|
||||||
- mvn clean install
|
- mvn clean install -DskipTests
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|
||||||
script: mvn clean install
|
script: mvn clean install -DskipTests
|
||||||
|
|
||||||
#notifications:
|
#notifications:
|
||||||
# irc:
|
# irc:
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<activation>
|
<activation>
|
||||||
<os>
|
<os>
|
||||||
<family>unix</family>
|
<family>unix</family>
|
||||||
|
<name>Linux</name>
|
||||||
</os>
|
</os>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -44,7 +45,7 @@
|
||||||
<id>macos</id>
|
<id>macos</id>
|
||||||
<activation>
|
<activation>
|
||||||
<os>
|
<os>
|
||||||
<family>macos</family>
|
<family>mac</family>
|
||||||
</os>
|
</os>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -85,20 +86,21 @@
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<!--fix permissions to R_X -->
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>3.0.0</version>
|
<version>1.8</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>set-protobuf-permissions</id>
|
<id>set-permissions</id>
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>single</goal>
|
<goal>run</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<descriptors>
|
<target>
|
||||||
<descriptor>src/assembly/permissions.xml</descriptor>
|
<chmod file="${project.build.directory}/dependency/${protobuf.exe}" perm="u+rx"/>
|
||||||
</descriptors>
|
<echo message="permissions changed for ${project.build.directory}/dependency/${protobuf.exe}"/>
|
||||||
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
@ -109,7 +111,7 @@
|
||||||
<artifactId>protobuf-maven-plugin</artifactId>
|
<artifactId>protobuf-maven-plugin</artifactId>
|
||||||
<version>0.5.0</version>
|
<version>0.5.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<protocExecutable>${project.build.directory}/${project.artifactId}-${project.version}-bin/${protobuf.exe}</protocExecutable>
|
<protocExecutable>${project.build.directory}/dependency/${protobuf.exe}</protocExecutable>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
|
|
||||||
<id>bin</id>
|
|
||||||
<formats>
|
|
||||||
<format>dir</format>
|
|
||||||
</formats>
|
|
||||||
|
|
||||||
<includeBaseDirectory>false</includeBaseDirectory>
|
|
||||||
<baseDirectory>${basedir}/target/</baseDirectory>
|
|
||||||
<fileSets>
|
|
||||||
<fileSet>
|
|
||||||
<directory>${basedir}/target/dependency</directory>
|
|
||||||
<includes>
|
|
||||||
<include>**/*.*</include>
|
|
||||||
</includes>
|
|
||||||
<outputDirectory></outputDirectory>
|
|
||||||
<fileMode>0500</fileMode> <!-- r_x______ -->
|
|
||||||
</fileSet>
|
|
||||||
</fileSets>
|
|
||||||
|
|
||||||
</assembly>
|
|
Loading…
Add table
Reference in a new issue