diff --git a/pom.xml b/pom.xml index 9b4069d..9492c82 100644 --- a/pom.xml +++ b/pom.xml @@ -39,6 +39,19 @@ 4.8.2 test + + + org.apache.maven.wagon + wagon-provider-api + 2.12 + + + org.apache.maven.wagon + wagon-provider-test + 2.12 + test + + diff --git a/src/main/java/io/nia/ipfs/IpfsWagon.java b/src/main/java/io/nia/ipfs/IpfsWagon.java new file mode 100644 index 0000000..452e86c --- /dev/null +++ b/src/main/java/io/nia/ipfs/IpfsWagon.java @@ -0,0 +1,30 @@ +package io.nia.ipfs; + +import org.apache.maven.wagon.*; +import org.apache.maven.wagon.authentication.AuthenticationException; +import org.apache.maven.wagon.authorization.AuthorizationException; +import sun.reflect.generics.reflectiveObjects.NotImplementedException; + + +public class IpfsWagon extends StreamWagon { + + @Override + public void fillInputData(InputData inputData) throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException { + throw new NotImplementedException(); + } + + @Override + public void fillOutputData(OutputData outputData) throws TransferFailedException { + throw new NotImplementedException(); + } + + @Override + protected void openConnectionInternal() throws ConnectionException, AuthenticationException { + throw new NotImplementedException(); + } + + @Override + public void closeConnection() throws ConnectionException { + throw new NotImplementedException(); + } +}