Changed basic package name. Improved 'pom.xml' configuration.

This commit is contained in:
Prominence
2018-07-19 23:52:22 +03:00
parent 2eae7755b5
commit f00ae8d37c
25 changed files with 82 additions and 45 deletions
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api;
package com.github.prominence.openweathermap.api;
abstract class AuthenticationTokenBasedRequester {
@@ -20,13 +20,13 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api;
package com.github.prominence.openweathermap.api;
import by.prominence.openweathermap.api.constants.System;
import by.prominence.openweathermap.api.constants.Unit;
import by.prominence.openweathermap.api.exception.DataNotFoundException;
import by.prominence.openweathermap.api.exception.InvalidAuthTokenException;
import by.prominence.openweathermap.api.model.Coordinates;
import com.github.prominence.openweathermap.api.constants.System;
import com.github.prominence.openweathermap.api.constants.Unit;
import com.github.prominence.openweathermap.api.exception.DataNotFoundException;
import com.github.prominence.openweathermap.api.exception.InvalidAuthTokenException;
import com.github.prominence.openweathermap.api.model.Coordinates;
import java.net.MalformedURLException;
import java.net.URL;
@@ -20,14 +20,14 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api;
package com.github.prominence.openweathermap.api;
import by.prominence.openweathermap.api.constants.Unit;
import by.prominence.openweathermap.api.exception.DataNotFoundException;
import by.prominence.openweathermap.api.exception.InvalidAuthTokenException;
import by.prominence.openweathermap.api.model.response.HourlyForecast;
import by.prominence.openweathermap.api.utils.JsonUtils;
import by.prominence.openweathermap.api.utils.RequestUtils;
import com.github.prominence.openweathermap.api.constants.Unit;
import com.github.prominence.openweathermap.api.exception.DataNotFoundException;
import com.github.prominence.openweathermap.api.exception.InvalidAuthTokenException;
import com.github.prominence.openweathermap.api.model.response.HourlyForecast;
import com.github.prominence.openweathermap.api.utils.JsonUtils;
import com.github.prominence.openweathermap.api.utils.RequestUtils;
import java.io.IOException;
import java.io.InputStream;
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api;
package com.github.prominence.openweathermap.api;
public class OpenWeatherMapManager {
@@ -20,14 +20,14 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api;
package com.github.prominence.openweathermap.api;
import by.prominence.openweathermap.api.constants.Unit;
import by.prominence.openweathermap.api.exception.DataNotFoundException;
import by.prominence.openweathermap.api.exception.InvalidAuthTokenException;
import by.prominence.openweathermap.api.model.response.Weather;
import by.prominence.openweathermap.api.utils.JsonUtils;
import by.prominence.openweathermap.api.utils.RequestUtils;
import com.github.prominence.openweathermap.api.constants.Unit;
import com.github.prominence.openweathermap.api.exception.DataNotFoundException;
import com.github.prominence.openweathermap.api.exception.InvalidAuthTokenException;
import com.github.prominence.openweathermap.api.model.response.Weather;
import com.github.prominence.openweathermap.api.utils.JsonUtils;
import com.github.prominence.openweathermap.api.utils.RequestUtils;
import java.io.IOException;
import java.io.InputStream;
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.constants;
package com.github.prominence.openweathermap.api.constants;
public final class Accuracy {
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.constants;
package com.github.prominence.openweathermap.api.constants;
public final class Language {
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.constants;
package com.github.prominence.openweathermap.api.constants;
public final class System {
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.constants;
package com.github.prominence.openweathermap.api.constants;
public final class Unit {
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.exception;
package com.github.prominence.openweathermap.api.exception;
public class DataNotFoundException extends Exception {
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.exception;
package com.github.prominence.openweathermap.api.exception;
public class InvalidAuthTokenException extends Exception {
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.model;
package com.github.prominence.openweathermap.api.model;
import com.alibaba.fastjson.annotation.JSONField;
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.model;
package com.github.prominence.openweathermap.api.model;
import com.alibaba.fastjson.annotation.JSONField;
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.model;
package com.github.prominence.openweathermap.api.model;
public interface OpenWeatherResponse {
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.model;
package com.github.prominence.openweathermap.api.model;
import com.alibaba.fastjson.annotation.JSONField;
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.model;
package com.github.prominence.openweathermap.api.model;
import com.alibaba.fastjson.annotation.JSONField;
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.model;
package com.github.prominence.openweathermap.api.model;
import com.alibaba.fastjson.annotation.JSONField;
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.model;
package com.github.prominence.openweathermap.api.model;
import com.alibaba.fastjson.annotation.JSONField;
@@ -20,10 +20,10 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.model.response;
package com.github.prominence.openweathermap.api.model.response;
import by.prominence.openweathermap.api.model.*;
import com.alibaba.fastjson.annotation.JSONField;
import com.github.prominence.openweathermap.api.model.*;
import java.util.Comparator;
import java.util.Date;
@@ -20,10 +20,10 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.model.response;
package com.github.prominence.openweathermap.api.model.response;
import by.prominence.openweathermap.api.model.*;
import com.alibaba.fastjson.annotation.JSONField;
import com.github.prominence.openweathermap.api.model.*;
import java.util.Date;
import java.util.List;
@@ -20,7 +20,7 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.utils;
package com.github.prominence.openweathermap.api.utils;
import com.alibaba.fastjson.JSON;
@@ -20,10 +20,10 @@
* SOFTWARE.
*/
package by.prominence.openweathermap.api.utils;
package com.github.prominence.openweathermap.api.utils;
import by.prominence.openweathermap.api.exception.DataNotFoundException;
import by.prominence.openweathermap.api.exception.InvalidAuthTokenException;
import com.github.prominence.openweathermap.api.exception.DataNotFoundException;
import com.github.prominence.openweathermap.api.exception.InvalidAuthTokenException;
import java.io.IOException;
import java.io.InputStream;