Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
ca023932
Commit
ca023932
authored
Jul 23, 2021
by
terrfly
Browse files
修改项目依赖包位置;
parent
4b0390a9
Changes
16
Hide whitespace changes
Inline
Side-by-side
jeepay-components/jeepay-components-mq/pom.xml
View file @
ca023932
...
...
@@ -19,67 +19,32 @@
<!-- 项目依赖声明 -->
<dependencies>
<!-- 依赖
[spring-context] 基础包
-->
<!-- 依赖
Core项目
-->
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<scope>
provided
</scope>
</dependency>
<!-- 可选依赖 [spring-redis] -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-redis
</artifactId>
<scope>
provided
</scope>
<groupId>
com.jeequan
</groupId>
<artifactId>
jeepay-core
</artifactId>
</dependency>
<!-- 添加 spring-webmvc 基础依赖 -->
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-webmvc
</artifactId>
<groupId>
javax.annotation
</groupId>
<artifactId>
javax.annotation-api
</artifactId>
<scope>
provided
</scope>
<!-- 仅编译依赖该jar, 运行时存在 -->
</dependency>
<!-- 添加对activeMQ的支持 -->
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<scope>
provided
</scope>
<!-- 仅编译依赖该jar, 运行时存在 -->
</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>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-activemq
</artifactId>
<scope>
compile
</scope>
</dependency>
<!--
Spring Security
-->
<!--
添加对rabbitMQ的支持
-->
<dependency>
<groupId>
org.springframework.
security
</groupId>
<artifactId>
spring-
security-core
</artifactId>
<groupId>
org.springframework.
boot
</groupId>
<artifactId>
spring-
boot-starter-amqp
</artifactId>
<scope>
provided
</scope>
</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>
<build>
...
...
jeepay-components/jeepay-components-oss/pom.xml
View file @
ca023932
...
...
@@ -50,6 +50,12 @@
<scope>
provided
</scope>
<!-- 仅编译依赖该jar, 运行时存在 -->
</dependency>
<dependency>
<groupId>
javax.annotation
</groupId>
<artifactId>
javax.annotation-api
</artifactId>
<scope>
provided
</scope>
<!-- 仅编译依赖该jar, 运行时存在 -->
</dependency>
<!-- 阿里云oss组件 -->
<dependency>
<groupId>
com.aliyun.oss
</groupId>
...
...
@@ -57,7 +63,6 @@
<scope>
provided
</scope>
<!-- 当对象存储使用aliyunOSS时,需要改为:compile, 否则使用provided仅用于编译代码 -->
</dependency>
</dependencies>
<build>
...
...
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/oss/config/AliyunOssYmlConfig.java
→
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/
components/
oss/config/AliyunOssYmlConfig.java
View file @
ca023932
...
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
com.jeequan.jeepay.oss.config
;
package
com.jeequan.jeepay.
components.
oss.config
;
import
lombok.Data
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
...
...
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/oss/config/OssYmlConfig.java
→
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/
components/
oss/config/OssYmlConfig.java
View file @
ca023932
...
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
com.jeequan.jeepay.oss.config
;
package
com.jeequan.jeepay.
components.
oss.config
;
import
lombok.Data
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
...
...
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/oss/constant/OssSavePlaceEnum.java
→
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/
components/
oss/constant/OssSavePlaceEnum.java
View file @
ca023932
...
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
com.jeequan.jeepay.oss.constant
;
package
com.jeequan.jeepay.
components.
oss.constant
;
/*
* oss 存储位置
...
...
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/oss/constant/OssServiceTypeEnum.java
→
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/
components/
oss/constant/OssServiceTypeEnum.java
View file @
ca023932
...
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
com.jeequan.jeepay.oss.constant
;
package
com.jeequan.jeepay.
components.
oss.constant
;
import
lombok.Getter
;
...
...
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/oss/ctrl/OssFileController.java
→
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/
components/
oss/ctrl/OssFileController.java
View file @
ca023932
...
...
@@ -13,16 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
com.jeequan.jeepay.oss.ctrl
;
package
com.jeequan.jeepay.
components.
oss.ctrl
;
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.ctrls.AbstractCtrl
;
import
com.jeequan.jeepay.core.exception.BizException
;
import
com.jeequan.jeepay.core.model.ApiRes
;
import
com.jeequan.jeepay.core.utils.FileKit
;
import
com.jeequan.jeepay.oss.model.OssFileConfig
;
import
com.jeequan.jeepay.oss.service.IOssService
;
import
com.jeequan.jeepay.components.oss.model.OssFileConfig
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
...
...
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/oss/model/OssFileConfig.java
→
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/
components/
oss/model/OssFileConfig.java
View file @
ca023932
...
...
@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* 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.Data
;
import
org.apache.commons.lang3.StringUtils
;
...
...
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/oss/service/AliyunOssService.java
→
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/
components/
oss/service/AliyunOssService.java
View file @
ca023932
...
...
@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* 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.OSSClientBuilder
;
import
com.aliyun.oss.model.GetObjectRequest
;
import
com.jeequan.jeepay.oss.config.AliyunOssYmlConfig
;
import
com.jeequan.jeepay.oss.constant.OssSavePlaceEnum
;
import
com.jeequan.jeepay.
components.
oss.config.AliyunOssYmlConfig
;
import
com.jeequan.jeepay.
components.
oss.constant.OssSavePlaceEnum
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
;
...
...
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/oss/service/IOssService.java
→
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/
components/
oss/service/IOssService.java
View file @
ca023932
...
...
@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* 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
;
/**
...
...
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/oss/service/LocalFileService.java
→
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/
components/
oss/service/LocalFileService.java
View file @
ca023932
...
...
@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* 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.oss.config.OssYmlConfig
;
import
com.jeequan.jeepay.oss.constant.OssSavePlaceEnum
;
import
com.jeequan.jeepay.
components.
oss.config.OssYmlConfig
;
import
com.jeequan.jeepay.
components.
oss.constant.OssSavePlaceEnum
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
;
...
...
@@ -28,7 +28,7 @@ import java.io.File;
/**
* 本地存储 实现类
*
*
* @author terrfly
* @site https://www.jeepay.vip
* @date 2021/7/12 18:19
...
...
jeepay-manager/pom.xml
View file @
ca023932
...
...
@@ -30,6 +30,12 @@
<artifactId>
jeepay-components-oss
</artifactId>
</dependency>
<!-- 依赖[ mq ]包 -->
<dependency>
<groupId>
com.jeequan
</groupId>
<artifactId>
jeepay-components-mq
</artifactId>
</dependency>
<!-- 依赖 sping-boot-web -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
jeepay-manager/src/main/java/com/jeequan/jeepay/mgr/ctrl/common/StaticController.java
View file @
ca023932
...
...
@@ -16,7 +16,7 @@
package
com.jeequan.jeepay.mgr.ctrl.common
;
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.core.io.InputStreamResource
;
import
org.springframework.http.HttpHeaders
;
...
...
jeepay-payment/pom.xml
View file @
ca023932
...
...
@@ -30,7 +30,7 @@
<artifactId>
jeepay-components-oss
</artifactId>
</dependency>
<!-- 依赖[
oss
]包 -->
<!-- 依赖[
mq
]包 -->
<dependency>
<groupId>
com.jeequan
</groupId>
<artifactId>
jeepay-components-mq
</artifactId>
...
...
jeepay-payment/src/main/java/com/jeequan/jeepay/pay/util/ChannelCertConfigKitBean.java
View file @
ca023932
package
com.jeequan.jeepay.pay.util
;
import
cn.hutool.core.io.FileUtil
;
import
com.jeequan.jeepay.core.exception.BizException
;
import
com.jeequan.jeepay.oss.config.OssYmlConfig
;
import
com.jeequan.jeepay.oss.constant.OssSavePlaceEnum
;
import
com.jeequan.jeepay.oss.constant.OssServiceTypeEnum
;
import
com.jeequan.jeepay.oss.service.IOssService
;
import
com.jeequan.jeepay.pay.config.SystemYmlConfig
;
import
com.jeequan.jeepay.components.oss.config.OssYmlConfig
;
import
com.jeequan.jeepay.components.oss.constant.OssSavePlaceEnum
;
import
com.jeequan.jeepay.components.oss.constant.OssServiceTypeEnum
;
import
com.jeequan.jeepay.components.oss.service.IOssService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Component
;
...
...
pom.xml
View file @
ca023932
...
...
@@ -65,21 +65,21 @@
<version>
${isys.version}
</version>
</dependency>
<!--
依赖
[ service ]包, 会自动传递依赖[ core ]包。 -->
<!-- [ service ]包, 会自动传递依赖[ core ]包。 -->
<dependency>
<groupId>
com.jeequan
</groupId>
<artifactId>
jeepay-service
</artifactId>
<version>
${isys.version}
</version>
</dependency>
<!--
依赖
[ oss ]包 -->
<!-- [ oss ]包 -->
<dependency>
<groupId>
com.jeequan
</groupId>
<artifactId>
jeepay-components-oss
</artifactId>
<version>
${isys.version}
</version>
</dependency>
<!--
依赖[ oss
]包 -->
<!--
[ mq
]包 -->
<dependency>
<groupId>
com.jeequan
</groupId>
<artifactId>
jeepay-components-mq
</artifactId>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment