diff --git a/web-sdk/.gitignore b/web-sdk/.gitignore index 56dcc1d..381208b 100644 --- a/web-sdk/.gitignore +++ b/web-sdk/.gitignore @@ -45,4 +45,4 @@ log/ *.swp # Asc files (e.g., GPG signatures) -*.asc \ No newline at end of file +*.asc diff --git a/web-sdk/README.md b/web-sdk/README.md index ec58564..24c2105 100644 --- a/web-sdk/README.md +++ b/web-sdk/README.md @@ -1,12 +1,21 @@ ## Usage ### 1. Register your APP -Register your APP on irext SDK console [irext SDK console](http://site.irext.net), (You need to register an irext account first +Register your APP on irext SDK console [irext SDK console](http://site.irext.net), (You need to register an irext account first. -While your APP is registered, you can see the APP key and APP secret in your APP list +While your APP is registered, you can see the APP key and APP secret in your APP list. ### 2. Import the SDK -You can either import this project or download the web-api .jar file from [Java SDK](http://irext-lib-releaese.oss-cn-hangzhou.aliyuncs.com/decode/0.1.2/web-api-java-0.1.2.jar) and import to your project +Import the SDK package in your maven project by adding following lines to pom.xml and sync the maven project. +```xml + + net.irext.webapi + irext-webapi + 1.5.1 + +``` + + ### 3. Use the SDK diff --git a/web-sdk/dependency-reduced-pom.xml b/web-sdk/dependency-reduced-pom.xml deleted file mode 100644 index 13ce805..0000000 --- a/web-sdk/dependency-reduced-pom.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - 4.0.0 - net.irext.webapi - irext-webapi - irext-remote-index - 1.5.0 - Indexing API for IRext remote controller - - - - maven-compiler-plugin - 3.11.0 - - ${maven.compiler.source} - ${maven.compiler.target} - - - - maven-shade-plugin - 3.5.1 - - - package - - shade - - - ${project.build.directory}/${project.artifactId}-shaded.jar - - - - - - - - 1.8 - 4.12.0 - 2.10.1 - 1.8 - UTF-8 - - diff --git a/web-sdk/pom.xml b/web-sdk/pom.xml index 92e8325..0f3a2cf 100644 --- a/web-sdk/pom.xml +++ b/web-sdk/pom.xml @@ -89,43 +89,6 @@ - - org.apache.maven.plugins - maven-javadoc-plugin - 3.6.3 - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 3.2.1 - - - sign-artifacts - verify - - sign - - - - - - org.sonatype.central - central-publishing-maven-plugin - 0.9.0 - true - - central - - - \ No newline at end of file diff --git a/web-sdk/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/web-sdk/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst deleted file mode 100644 index 1379c1e..0000000 --- a/web-sdk/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +++ /dev/null @@ -1,52 +0,0 @@ -net/irext/webapi/bean/ACStatus.class -net/irext/webapi/WebAPICallbacks$ListProvincesCallback.class -net/irext/webapi/WebAPICallbacks$ListAreasCallback.class -net/irext/webapi/request/ListOperatorsRequest.class -net/irext/webapi/utils/Constants$ACSwing.class -net/irext/webapi/utils/Constants$BinaryType.class -net/irext/webapi/model/RemoteIndex.class -net/irext/webapi/WebAPIs.class -net/irext/webapi/model/ACParameters.class -net/irext/webapi/request/ListIndexesRequest.class -net/irext/webapi/request/ListBrandsRequest.class -net/irext/webapi/response/BrandsResponse.class -net/irext/webapi/response/OperatorsResponse.class -net/irext/webapi/utils/Constants$ACPower.class -net/irext/webapi/request/AppSignInRequest.class -net/irext/webapi/model/City.class -net/irext/webapi/response/IndexesResponse.class -net/irext/webapi/WebAPICallbacks$ListPopularBrandsCallback.class -net/irext/webapi/request/ListCategoriesRequest.class -net/irext/webapi/WebAPICallbacks.class -net/irext/webapi/WebAPICallbacks$ListPopularCitiesCallback.class -net/irext/webapi/response/DecodeResponse.class -net/irext/webapi/request/BaseRequest.class -net/irext/webapi/WebAPICallbacks$ListOperatersCallback.class -net/irext/webapi/utils/Constants$ACMode.class -net/irext/webapi/model/Category.class -net/irext/webapi/WebAPICallbacks$ListCitiesCallback.class -net/irext/webapi/WebAPICallbacks$ListCategoriesCallback.class -net/irext/webapi/bean/TemperatureRange.class -net/irext/webapi/WebAPICallbacks$ListBrandsCallback.class -net/irext/webapi/response/CategoriesResponse.class -net/irext/webapi/utils/Constants$ACWindSpeed.class -net/irext/webapi/utils/Constants$CategoryID.class -net/irext/webapi/utils/Constants$ACFunction.class -net/irext/webapi/response/ACParametersResponse.class -net/irext/webapi/request/GetACParametersRequest.class -net/irext/webapi/model/Brand.class -net/irext/webapi/WebAPICallbacks$SignInCallback.class -net/irext/webapi/response/CitiesResponse.class -net/irext/webapi/request/DownloadBinaryRequest.class -net/irext/webapi/WebAPICallbacks$ListIndexesCallback.class -net/irext/webapi/request/ListCitiesRequest.class -net/irext/webapi/response/LoginResponse.class -net/irext/webapi/request/DecodeRequest.class -net/irext/webapi/utils/Constants.class -net/irext/webapi/model/StbOperator.class -net/irext/webapi/model/UserApp.class -net/irext/webapi/utils/Constants$ACTemperature.class -net/irext/webapi/response/Status.class -net/irext/webapi/utils/MD5Digest.class -net/irext/webapi/response/ServiceResponse.class -net/irext/webapi/WebAPICallbacks$DownloadBinCallback.class diff --git a/web-sdk/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/web-sdk/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst deleted file mode 100644 index e7b0aba..0000000 --- a/web-sdk/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +++ /dev/null @@ -1,33 +0,0 @@ -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/request/ListOperatorsRequest.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/request/GetACParametersRequest.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/WebAPICallbacks.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/response/ServiceResponse.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/bean/ACStatus.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/request/DecodeRequest.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/response/CategoriesResponse.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/request/DownloadBinaryRequest.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/model/Category.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/model/StbOperator.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/WebAPIs.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/response/OperatorsResponse.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/utils/Constants.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/model/ACParameters.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/response/BrandsResponse.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/response/LoginResponse.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/response/CitiesResponse.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/response/Status.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/model/UserApp.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/model/RemoteIndex.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/request/ListIndexesRequest.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/request/AppSignInRequest.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/request/ListCategoriesRequest.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/request/BaseRequest.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/bean/TemperatureRange.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/model/City.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/response/DecodeResponse.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/response/IndexesResponse.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/model/Brand.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/request/ListBrandsRequest.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/response/ACParametersResponse.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/request/ListCitiesRequest.java -/home/strawmanbobi/Develop/project/irext/index-api/web-sdk/src/main/java/net/irext/webapi/utils/MD5Digest.java diff --git a/web-sdk/web-sdk.iml b/web-sdk/web-sdk.iml deleted file mode 100644 index fb8e866..0000000 --- a/web-sdk/web-sdk.iml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file