"...src/main/git@ustchcs.com:gujinli1118/eladmin.git" did not exist on "7eba9641e0de9cc05ff6be42f287d8f30555dd9d"
Commit ca023932 authored by terrfly's avatar terrfly
Browse files

修改项目依赖包位置;

parent 4b0390a9
...@@ -19,67 +19,32 @@ ...@@ -19,67 +19,32 @@
<!-- 项目依赖声明 --> <!-- 项目依赖声明 -->
<dependencies> <dependencies>
<!-- 依赖 [spring-context] 基础包 --> <!-- 依赖Core项目 -->
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>com.jeequan</groupId>
<artifactId>spring-context</artifactId> <artifactId>jeepay-core</artifactId>
<scope>provided</scope>
</dependency>
<!-- 可选依赖 [spring-redis] -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<scope>provided</scope>
</dependency> </dependency>
<!-- 添加 spring-webmvc 基础依赖 -->
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>javax.annotation</groupId>
<artifactId>spring-webmvc</artifactId> <artifactId>javax.annotation-api</artifactId>
<scope>provided</scope> <!-- 仅编译依赖该jar, 运行时存在 --> <scope>provided</scope> <!-- 仅编译依赖该jar, 运行时存在 -->
</dependency> </dependency>
<!-- 添加对activeMQ的支持 -->
<dependency> <dependency>
<groupId>javax.servlet</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>javax.servlet-api</artifactId> <artifactId>spring-boot-starter-activemq</artifactId>
<scope>provided</scope> <!-- 仅编译依赖该jar, 运行时存在 --> <scope>compile</scope>
</dependency>
<!-- mybatis plus -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>${mybatis.plus.starter.version}</version>
<scope>provided</scope>
</dependency>
<!-- JWT -->
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<scope>provided</scope>
</dependency> </dependency>
<!-- Spring Security --> <!-- 添加对rabbitMQ的支持 -->
<dependency> <dependency>
<groupId>org.springframework.security</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-security-core</artifactId> <artifactId>spring-boot-starter-amqp</artifactId>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<!-- alibaba FastJSON -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
</dependency>
<!-- commons-lang3 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
</dependencies> </dependencies>
<build> <build>
......
...@@ -50,6 +50,12 @@ ...@@ -50,6 +50,12 @@
<scope>provided</scope> <!-- 仅编译依赖该jar, 运行时存在 --> <scope>provided</scope> <!-- 仅编译依赖该jar, 运行时存在 -->
</dependency> </dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<scope>provided</scope> <!-- 仅编译依赖该jar, 运行时存在 -->
</dependency>
<!-- 阿里云oss组件 --> <!-- 阿里云oss组件 -->
<dependency> <dependency>
<groupId>com.aliyun.oss</groupId> <groupId>com.aliyun.oss</groupId>
...@@ -57,7 +63,6 @@ ...@@ -57,7 +63,6 @@
<scope>provided</scope> <!-- 当对象存储使用aliyunOSS时,需要改为:compile, 否则使用provided仅用于编译代码 --> <scope>provided</scope> <!-- 当对象存储使用aliyunOSS时,需要改为:compile, 否则使用provided仅用于编译代码 -->
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.jeequan.jeepay.oss.config; package com.jeequan.jeepay.components.oss.config;
import lombok.Data; import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.jeequan.jeepay.oss.config; package com.jeequan.jeepay.components.oss.config;
import lombok.Data; import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.jeequan.jeepay.oss.constant; package com.jeequan.jeepay.components.oss.constant;
/* /*
* oss 存储位置 * oss 存储位置
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.jeequan.jeepay.oss.constant; package com.jeequan.jeepay.components.oss.constant;
import lombok.Getter; import lombok.Getter;
......
...@@ -13,16 +13,16 @@ ...@@ -13,16 +13,16 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.jeequan.jeepay.oss.ctrl; package com.jeequan.jeepay.components.oss.ctrl;
import cn.hutool.core.lang.UUID; import cn.hutool.core.lang.UUID;
import com.jeequan.jeepay.components.oss.service.IOssService;
import com.jeequan.jeepay.core.constants.ApiCodeEnum; import com.jeequan.jeepay.core.constants.ApiCodeEnum;
import com.jeequan.jeepay.core.ctrls.AbstractCtrl; import com.jeequan.jeepay.core.ctrls.AbstractCtrl;
import com.jeequan.jeepay.core.exception.BizException; import com.jeequan.jeepay.core.exception.BizException;
import com.jeequan.jeepay.core.model.ApiRes; import com.jeequan.jeepay.core.model.ApiRes;
import com.jeequan.jeepay.core.utils.FileKit; import com.jeequan.jeepay.core.utils.FileKit;
import com.jeequan.jeepay.oss.model.OssFileConfig; import com.jeequan.jeepay.components.oss.model.OssFileConfig;
import com.jeequan.jeepay.oss.service.IOssService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.jeequan.jeepay.oss.model; package com.jeequan.jeepay.components.oss.model;
import com.jeequan.jeepay.oss.constant.OssSavePlaceEnum; import com.jeequan.jeepay.components.oss.constant.OssSavePlaceEnum;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
......
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.jeequan.jeepay.oss.service; package com.jeequan.jeepay.components.oss.service;
import com.aliyun.oss.OSS; import com.aliyun.oss.OSS;
import com.aliyun.oss.OSSClientBuilder; import com.aliyun.oss.OSSClientBuilder;
import com.aliyun.oss.model.GetObjectRequest; import com.aliyun.oss.model.GetObjectRequest;
import com.jeequan.jeepay.oss.config.AliyunOssYmlConfig; import com.jeequan.jeepay.components.oss.config.AliyunOssYmlConfig;
import com.jeequan.jeepay.oss.constant.OssSavePlaceEnum; import com.jeequan.jeepay.components.oss.constant.OssSavePlaceEnum;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.jeequan.jeepay.oss.service; package com.jeequan.jeepay.components.oss.service;
import com.jeequan.jeepay.oss.constant.OssSavePlaceEnum; import com.jeequan.jeepay.components.oss.constant.OssSavePlaceEnum;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
/** /**
......
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.jeequan.jeepay.oss.service; package com.jeequan.jeepay.components.oss.service;
import com.jeequan.jeepay.core.service.ISysConfigService; import com.jeequan.jeepay.core.service.ISysConfigService;
import com.jeequan.jeepay.oss.config.OssYmlConfig; import com.jeequan.jeepay.components.oss.config.OssYmlConfig;
import com.jeequan.jeepay.oss.constant.OssSavePlaceEnum; import com.jeequan.jeepay.components.oss.constant.OssSavePlaceEnum;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
...@@ -28,7 +28,7 @@ import java.io.File; ...@@ -28,7 +28,7 @@ import java.io.File;
/** /**
* 本地存储 实现类 * 本地存储 实现类
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeepay.vip
* @date 2021/7/12 18:19 * @date 2021/7/12 18:19
......
...@@ -30,6 +30,12 @@ ...@@ -30,6 +30,12 @@
<artifactId>jeepay-components-oss</artifactId> <artifactId>jeepay-components-oss</artifactId>
</dependency> </dependency>
<!-- 依赖[ mq ]包 -->
<dependency>
<groupId>com.jeequan</groupId>
<artifactId>jeepay-components-mq</artifactId>
</dependency>
<!-- 依赖 sping-boot-web --> <!-- 依赖 sping-boot-web -->
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
package com.jeequan.jeepay.mgr.ctrl.common; package com.jeequan.jeepay.mgr.ctrl.common;
import com.jeequan.jeepay.mgr.ctrl.CommonCtrl; import com.jeequan.jeepay.mgr.ctrl.CommonCtrl;
import com.jeequan.jeepay.oss.config.OssYmlConfig; import com.jeequan.jeepay.components.oss.config.OssYmlConfig;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.io.InputStreamResource; import org.springframework.core.io.InputStreamResource;
import org.springframework.http.HttpHeaders; import org.springframework.http.HttpHeaders;
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<artifactId>jeepay-components-oss</artifactId> <artifactId>jeepay-components-oss</artifactId>
</dependency> </dependency>
<!-- 依赖[ oss ]包 --> <!-- 依赖[ mq ]包 -->
<dependency> <dependency>
<groupId>com.jeequan</groupId> <groupId>com.jeequan</groupId>
<artifactId>jeepay-components-mq</artifactId> <artifactId>jeepay-components-mq</artifactId>
......
package com.jeequan.jeepay.pay.util; package com.jeequan.jeepay.pay.util;
import cn.hutool.core.io.FileUtil; import com.jeequan.jeepay.components.oss.config.OssYmlConfig;
import com.jeequan.jeepay.core.exception.BizException; import com.jeequan.jeepay.components.oss.constant.OssSavePlaceEnum;
import com.jeequan.jeepay.oss.config.OssYmlConfig; import com.jeequan.jeepay.components.oss.constant.OssServiceTypeEnum;
import com.jeequan.jeepay.oss.constant.OssSavePlaceEnum; import com.jeequan.jeepay.components.oss.service.IOssService;
import com.jeequan.jeepay.oss.constant.OssServiceTypeEnum;
import com.jeequan.jeepay.oss.service.IOssService;
import com.jeequan.jeepay.pay.config.SystemYmlConfig;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
......
...@@ -65,21 +65,21 @@ ...@@ -65,21 +65,21 @@
<version>${isys.version}</version> <version>${isys.version}</version>
</dependency> </dependency>
<!-- 依赖[ service ]包, 会自动传递依赖[ core ]包。 --> <!-- [ service ]包, 会自动传递依赖[ core ]包。 -->
<dependency> <dependency>
<groupId>com.jeequan</groupId> <groupId>com.jeequan</groupId>
<artifactId>jeepay-service</artifactId> <artifactId>jeepay-service</artifactId>
<version>${isys.version}</version> <version>${isys.version}</version>
</dependency> </dependency>
<!-- 依赖[ oss ]包 --> <!-- [ oss ]包 -->
<dependency> <dependency>
<groupId>com.jeequan</groupId> <groupId>com.jeequan</groupId>
<artifactId>jeepay-components-oss</artifactId> <artifactId>jeepay-components-oss</artifactId>
<version>${isys.version}</version> <version>${isys.version}</version>
</dependency> </dependency>
<!-- 依赖[ oss ]包 --> <!-- [ mq ]包 -->
<dependency> <dependency>
<groupId>com.jeequan</groupId> <groupId>com.jeequan</groupId>
<artifactId>jeepay-components-mq</artifactId> <artifactId>jeepay-components-mq</artifactId>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment