Skip to content

Commit

Permalink
Initial Wagon so that we can start integrating with sample project
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmcdowall committed May 2, 2017
1 parent 3fc0930 commit d760b2e
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,19 @@
<version>4.8.2</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-provider-api</artifactId>
<version>2.12</version>
</dependency>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-provider-test</artifactId>
<version>2.12</version>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down
30 changes: 30 additions & 0 deletions src/main/java/io/nia/ipfs/IpfsWagon.java
Original file line number Diff line number Diff line change
@@ -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();
}
}

0 comments on commit d760b2e

Please sign in to comment.