Skip to content

Commit

Permalink
Allow to override the repository url for quiche and boringssl (java-n…
Browse files Browse the repository at this point in the history
…ative-access#258)

Motivation:

Sometimes a user may want to use a custom fork of either quiche or boringssl but for this the pom.xml needs to be adjusted. We should just allow to override the repository urls.

Modifications:

Allow to override the repository urls by using -D ...

Result:

Easier to use own forks of quiche or boringssl
  • Loading branch information
normanmaurer authored May 3, 2021
1 parent efbe1bf commit 0f7dbc9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
<boringsslHomeDir>${project.build.directory}/boringssl</boringsslHomeDir>
<boringsslHomeBuildDir>${boringsslHomeDir}/build</boringsslHomeBuildDir>
<boringsslHomeIncludeDir>${boringsslHomeDir}/include</boringsslHomeIncludeDir>
<boringsslRepository>https://boringssl.googlesource.com/boringssl</boringsslRepository>
<!-- Follow what is used in quiche for now -->
<!-- https://github.com/cloudflare/quiche/tree/master/deps -->
<boringsslBranch>master</boringsslBranch>
Expand All @@ -90,6 +91,7 @@
<quicheHomeDir>${project.build.directory}/quiche</quicheHomeDir>
<quicheHomeBuildDir>${quicheHomeDir}/build</quicheHomeBuildDir>
<quicheHomeIncludeDir>${quicheHomeDir}/include</quicheHomeIncludeDir>
<quicheRepository>https://github.com/cloudflare/quiche</quicheRepository>
<quicheBranch>master</quicheBranch>
<quicheCommitSha>e1515ca570e2b0c1c2cea67e48a361c4eb291cfd</quicheCommitSha>
<generatedSourcesDir>${project.build.directory}/generated-sources</generatedSourcesDir>
Expand Down Expand Up @@ -326,7 +328,7 @@
<arg value="clone" />
<arg value="--branch" />
<arg value="${boringsslBranch}" />
<arg value="https://boringssl.googlesource.com/boringssl" />
<arg value="${boringsslRepository}" />
<arg value="${boringsslSourceDir}" />
</exec>
</else>
Expand Down Expand Up @@ -413,7 +415,7 @@
<arg value="--recursive" />
<arg value="--branch" />
<arg value="${quicheBranch}" />
<arg value="https://github.com/cloudflare/quiche" />
<arg value="${quicheRepository}" />
<arg value="${quicheSourceDir}" />
</exec>

Expand Down

0 comments on commit 0f7dbc9

Please sign in to comment.