File tree Expand file tree Collapse file tree 3 files changed +31
-32
lines changed
org.graalvm.python.embedding Expand file tree Collapse file tree 3 files changed +31
-32
lines changed Original file line number Diff line number Diff line change 7272 <configuration >
7373 <executable >${project.basedir} /../scripts/sigtest-check-embedding.sh</executable >
7474 <arguments >
75+ <argument >-s</argument >
7576 <argument >${session.request.userSettingsFile.path} </argument >
77+ <argument >-Dlocal.repo.url=${local.repo.url} </argument >
7678 </arguments >
7779 </configuration >
7880 </execution >
Original file line number Diff line number Diff line change 6969 </modules >
7070 </profile >
7171 <profile >
72- <id >release </id >
73- <build >
74- <plugins >
75- <plugin >
76- < groupId >org.apache.maven.plugins</ groupId >
77- < artifactId >maven-gpg-plugin</ artifactId >
78- < version >3.2.8</ version >
79- < configuration >
80- <!-- For headless in-process signing using provided private key uncomment: -- >
81- <!-- <signer>bc</signer> -- >
82- <!-- The key contents must be provided via an environment variable MAVEN_GPG_KEY, which should contain
83- private key in binary or ASCII-armored form (specifically in the GPG TSK export format).
84- See https://maven.apache.org/plugins/maven-gpg-plugin/sign-mojo.html -- >
85- </ configuration >
86- < executions >
87- < execution >
88- < id >sign-artifacts</ id >
89- < phase >verify</ phase >
90- < goals >
91- < goal >sign</ goal >
92- </ goals >
93- </ execution >
94- </ executions >
95- </plugin >
96- </plugins >
97- </build >
72+ <id >local-repo-profile </id >
73+ <activation >
74+ <property >
75+ <name >local.repo.url</ name >
76+ </ property >
77+ </ activation >
78+ < pluginRepositories >
79+ < pluginRepository >
80+ < id >local-repo</ id >
81+ < name >local-repo</ name >
82+ < url > ${local.repo.url} </ url >
83+ </ pluginRepository >
84+ </ pluginRepositories >
85+ < repositories >
86+ < repository >
87+ < id >local-repo</ id >
88+ < name >local-repo</ name >
89+ < url > ${local.repo.url} </ url >
90+ < releases >
91+ < enabled >true</ enabled >
92+ </ releases >
93+ < snapshots >
94+ <enabled >true</ enabled >
95+ </snapshots >
96+ </repository >
97+ </repositories >
9898 </profile >
9999 </profiles >
100100
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ # Note: any arguments are forwarded to Maven
23
3- if [ $# -eq 0 ]; then
4- echo " $0 requires one argument: path to settings.xml to use for Maven invocations"
5- exit 1
6- fi
74set -xe
85
96source=" ${BASH_SOURCE[0]} "
1916project_root=" $( cd -P " $( dirname " $source " ) /.." && pwd ) "
2017
2118cd " ${project_root} "
22- classpath=" $( ./mvnw -s " $1 " -q -pl org.graalvm.python.embedding exec:exec -Dexec.executable=" echo" -Dexec.args=' %classpath' ) "
19+ classpath=" $( ./mvnw " $@ " -q -pl org.graalvm.python.embedding exec:exec -Dexec.executable=" echo" -Dexec.args=' %classpath' ) "
2320exec_args=" -BootCP -Static -Mode bin -FileName ./org.graalvm.python.embedding/snapshot.sigtest -ClassPath ${classpath} -b -PackageWithoutSubpackages org.graalvm.python.embedding"
2421rc=0
25- ./mvnw -s " $1 " exec:java@sigtest-tool -Dexec.args=" ${exec_args} " || rc=$?
22+ ./mvnw " $@ " exec:java@sigtest-tool -Dexec.args=" ${exec_args} " || rc=$?
2623echo " Exit code from sigtest tool: ${rc} "
2724if [ $rc -ne 95 ]; then
2825 exit 1
You can’t perform that action at this time.
0 commit comments