diff --git a/README.md b/README.md index 73f8ad74e..d7fa64022 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ This is the Dapr SDK for Java, based on the auto-generated proto client.
For more info on Dapr and gRPC, visit [this link](https://github.com/dapr/docs/tree/master/howto/create-grpc-app). - ### Installing ```sh # make sure you are in the `java-sdk` directory. @@ -17,3 +16,16 @@ cd examples/ mvn compile dapr run --protocol grpc --grpc-port 50001 -- mvn exec:java -Dexec.mainClass=io.dapr.examples.Example ``` + +### Creating and publishing the artifacts to Nexus Repository +From the root directory: + +``` +mvn package +mvn deploy:deploy-file -DgeneratePom=false -DrepositoryId=nexus -Durl=http://localhost:8081/repository/maven-releases -DpomFile=pom.xml -Dfile=target/client-0.1.0-preview.jar +``` +For more documentation reference : + +https://maven.apache.org/plugins/maven-deploy-plugin + +https://help.sonatype.com/repomanager3/user-interface/uploading-components diff --git a/examples/pom.xml b/examples/pom.xml index 959cfc1ec..22a4dbbc8 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -4,9 +4,9 @@ io.dapr examples jar - 0.0.1 + 0.1.0-preview dapr-client - https://github.com/dapr/dapr-client + https://dapr.io UTF-8 @@ -33,7 +33,7 @@ io.dapr client - 0.0.1 + 0.1.0-preview io.grpc diff --git a/pom.xml b/pom.xml index 0c1369db0..17159bf4d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,9 +4,17 @@ io.dapr client jar - 0.0.1 + 0.1.0-preview dapr-client - https://github.com/dapr/dapr-client + https://dapr.io + + + + MIT License + http://www.opensource.org/licenses/mit-license.php + repo + + UTF-8