Skip to content

Commit

Permalink
Release 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Tore Kasper Frederiksen committed Oct 20, 2022
1 parent d3002f6 commit 6bbbe71
Show file tree
Hide file tree
Showing 6 changed files with 118 additions and 15 deletions.
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>dk.alexandra.fresco.outsourcing</groupId>
<artifactId>outsourcing</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.1</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public interface TwoPartyNetwork extends Closeable {

/**
* Receives a message from an opposing party.
* @return
* @return received date
*/
byte[] receive();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public interface ClientSessionProducer<SessionT extends ClientSession> {

/**
* Gets the next fresh {@link SessionT} produced by this producer.
* Gets the next fresh {@code SessionT} produced by this producer.
*
* <p>
* This should block until a new session is available.
Expand All @@ -19,7 +19,7 @@ public interface ClientSessionProducer<SessionT extends ClientSession> {
SessionT next();

/**
* Tells if there producers will produce more sessions or if all expected sessions have been
* Tells if the producers will produce more sessions or if all expected sessions have been
* handed off.
*
* @return true if there are more sessions waiting, false otherwise.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import dk.alexandra.fresco.outsourcing.network.TwoPartyNetwork;

/**
* Handles new client session requests for {@link SessionT} type.
* Handles new client session requests for {@code SessionT} type.
*
* @param <SessionT> the session type (input or output) this handler can process
*/
Expand Down
6 changes: 3 additions & 3 deletions demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<parent>
<groupId>dk.alexandra.fresco.outsourcing</groupId>
<artifactId>outsourcing</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.1</version>
</parent>

<artifactId>outsourcing-demo</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.1</version>

<name>Fresco Outsourcing Demo</name>
<description>
Expand Down Expand Up @@ -75,7 +75,7 @@
<dependency>
<groupId>dk.alexandra.fresco.outsourcing</groupId>
<artifactId>outsourcing-core</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.1</version>
</dependency>
</dependencies>

Expand Down
117 changes: 110 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,21 @@
<artifactId>outsourcing</artifactId>
<packaging>pom</packaging>

<version>0.0.1-SNAPSHOT</version>
<version>0.1</version>
<name>Fresco Outsourcing</name>
<description>
A module for FRESCO that deals with outsourcing MPC computation from a group of clients to a
group of MPC servers.
</description>
<url>https://github.com/aicis/fresco-outsourcing</url>

<licenses>
<license>
<name>MIT-like License</name>
<url>https://github.com/aicis/fresco/blob/master/LICENSE.md</url>
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
Expand All @@ -23,26 +32,120 @@
</developer>
</developers>

<scm>
<connection>scm:git:git://github.com/aicis/fresco-outsourcing.git</connection>
<developerConnection>scm:git:ssh://github.com/aicis/fresco-outsourcing.git</developerConnection>
<url>https://github.com/aicis/fresco-outsourcing/tree/master/</url>
</scm>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<organization>
<name>The Alexandra Institute</name>
<url>https://alexandra.dk</url>
</organization>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<!-- JAVADOC -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<!-- make things work despite javadoc errors -->
<additionalOptions>-Xdoclint:none</additionalOptions>
<quiet>true</quiet>
<nonavbar>true</nonavbar>
<notree>true</notree>
<nohelp>true</nohelp>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- SOURCE -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- GPG -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<dependencies>

<dependency>
<groupId>dk.alexandra.fresco</groupId>
<artifactId>core</artifactId>
<version>1.3.3</version>
<version>1.3.4</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>

<dependency>
<groupId>dk.alexandra.fresco</groupId>
<artifactId>core</artifactId>
<version>1.3.3</version>
<version>1.3.4</version>
</dependency>

<dependency>
<groupId>dk.alexandra.fresco</groupId>
<artifactId>spdz</artifactId>
<version>1.3.3</version>
<version>1.3.4</version>
</dependency>

<dependency>
Expand All @@ -55,19 +158,19 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.36</version>
<version>2.0.3</version>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.11</version>
<version>1.4.3</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<version>1.7.36</version>
<version>2.0.3</version>
</dependency>

</dependencies>
Expand Down

0 comments on commit 6bbbe71

Please sign in to comment.