Skip to content

Commit

Permalink
Issue #217: Let maven set the new version to our resolved one
Browse files Browse the repository at this point in the history
  • Loading branch information
ALRubinger committed Mar 9, 2024
1 parent 9ef698b commit 70cc22f
Show file tree
Hide file tree
Showing 7 changed files with 961 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
shortSHA=$(echo "${longSHA:0:7}")
resolvedVersion="$version-commit-$shortSHA-SNAPSHOT"
echo "Requesting deployment as version: $resolvedVersion"
# Set Version
mvn versions:set -DnewVersion=$resolvedVersion
# Maven Deploy
mvn \
deploy \
Expand Down
43 changes: 43 additions & 0 deletions common/pom.xml.versionsBackup
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">

<!-- Parent -->
<parent>
<groupId>xyz.block</groupId>
<artifactId>web5</artifactId>
<version>0.13.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<!-- Model Version -->
<modelVersion>4.0.0</modelVersion>

<!-- Artifact Configuration -->
<artifactId>web5-common</artifactId>
<name>Web5 Common</name>
<description>Common libraries for Web5</description>


<!-- Properties -->
<properties>

<!-- Versioning -->

</properties>

<!-- Dependencies -->
<dependencies>

<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-kotlin</artifactId>
</dependency>

</dependencies>

<!-- Build Configuration -->
<build>

</build>
</project>
123 changes: 123 additions & 0 deletions credentials/pom.xml.versionsBackup
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">

<!-- Parent -->
<parent>
<groupId>xyz.block</groupId>
<artifactId>web5</artifactId>
<version>0.13.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<!-- Model Version -->
<modelVersion>4.0.0</modelVersion>

<!-- Artifact Configuration -->
<artifactId>web5-credentials</artifactId>
<name>Web5 Credentials</name>
<description>Credentials libraries for Web5</description>


<!-- Properties -->
<properties>

<!-- Versioning -->

</properties>

<!-- Dependencies -->
<dependencies>

<!-- Internal Dependencies -->
<dependency>
<groupId>xyz.block</groupId>
<artifactId>web5-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>xyz.block</groupId>
<artifactId>web5-crypto</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>xyz.block</groupId>
<artifactId>web5-dids</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>xyz.block</groupId>
<artifactId>web5-testing</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<!-- External -->
<dependency>
<groupId>com.danubetech</groupId>
<artifactId>verifiable-credentials-java</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-kotlin</artifactId>
</dependency>
<dependency>
<groupId>com.networknt</groupId>
<artifactId>json-schema-validator</artifactId>
</dependency>
<dependency>
<groupId>com.nfeld.jsonpathkt</groupId>
<artifactId>jsonpathkt</artifactId>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-core-jvm</artifactId>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-logging-jvm</artifactId>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-okhttp-jvm</artifactId>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-content-negotiation-jvm</artifactId>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-serialization-jackson-jvm</artifactId>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-serialization-kotlinx-json-jvm</artifactId>
</dependency>

<!--
Test dependencies may declare direct versions; they are not exported
and therefore are within the remit of this module to self-define
if desired.
-->
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-mock-jvm</artifactId>
</dependency>
<dependency>
<groupId>com.willowtreeapps.assertk</groupId>
<artifactId>assertk-jvm</artifactId>
<version>0.27.0</version>
<scope>test</scope>
</dependency>

</dependencies>

<!-- Build Configuration -->
<build>

</build>
</project>
77 changes: 77 additions & 0 deletions crypto/pom.xml.versionsBackup
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">

<!-- Parent -->
<parent>
<groupId>xyz.block</groupId>
<artifactId>web5</artifactId>
<version>0.13.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<!-- Model Version -->
<modelVersion>4.0.0</modelVersion>

<!-- Artifact Configuration -->
<artifactId>web5-crypto</artifactId>
<name>Web5 Crypto</name>
<description>Crypto libraries for Web5</description>


<!-- Properties -->
<properties>

<!-- Versioning -->

</properties>

<!-- Dependencies -->
<dependencies>

<!-- Internal Dependencies -->
<dependency>
<groupId>xyz.block</groupId>
<artifactId>web5-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>xyz.block</groupId>
<artifactId>web5-testing</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<!-- External -->
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-kms</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-kotlin</artifactId>
</dependency>
<dependency>
<groupId>com.google.crypto.tink</groupId>
<artifactId>tink</artifactId>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15to18</artifactId>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15to18</artifactId>
</dependency>

</dependencies>

<!-- Build Configuration -->
<build>

</build>
</project>
124 changes: 124 additions & 0 deletions dids/pom.xml.versionsBackup
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">

<!-- Parent -->
<parent>
<groupId>xyz.block</groupId>
<artifactId>web5</artifactId>
<version>0.13.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<!-- Model Version -->
<modelVersion>4.0.0</modelVersion>

<!-- Artifact Configuration -->
<artifactId>web5-dids</artifactId>
<name>Web5 DIDs</name>
<description>DID libraries for Web5</description>


<!-- Properties -->
<properties>

<!-- Versioning -->

</properties>

<!-- Dependencies -->
<dependencies>

<!-- Internal Dependencies -->
<dependency>
<groupId>xyz.block</groupId>
<artifactId>web5-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>xyz.block</groupId>
<artifactId>web5-crypto</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>xyz.block</groupId>
<artifactId>web5-testing</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<!-- External -->
<dependency>
<groupId>com.github.multiformats</groupId>
<artifactId>java-multibase</artifactId>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-kotlin</artifactId>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp-dnsoverhttps</artifactId>
</dependency>
<dependency>
<groupId>dnsjava</groupId>
<artifactId>dnsjava</artifactId>
</dependency>
<dependency>
<groupId>io.github.erdtman</groupId>
<artifactId>java-json-canonicalization</artifactId>
</dependency>
<dependency>
<groupId>io.github.oshai</groupId>
<artifactId>kotlin-logging-jvm</artifactId>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-core-jvm</artifactId>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-okhttp-jvm</artifactId>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-content-negotiation-jvm</artifactId>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-serialization-jackson-jvm</artifactId>
</dependency>

<!--
Test dependencies may declare direct versions; they are not exported
and therefore are within the remit of this module to self-define
if desired.
-->
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.16.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-mock-jvm</artifactId>
</dependency>
<dependency>
<groupId>org.mockito.kotlin</groupId>
<artifactId>mockito-kotlin</artifactId>
<version>5.1.0</version>
<scope>test</scope>
</dependency>

</dependencies>

<!-- Build Configuration -->
<build>

</build>
</project>
Loading

0 comments on commit 70cc22f

Please sign in to comment.