Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
extend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
park
extend
Commits
ca20f174
Commit
ca20f174
authored
Jun 22, 2020
by
lixian7
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改pom.xml配置
parent
e18c06c3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
85 additions
and
4 deletions
+85
-4
api/pom.xml
+19
-0
infra/pom.xml
+14
-2
infra/src/main/java/com/hikcreate/edl/pub/web/mobile/infra/data/feign/dcp_service_vehicle/ViolationFeign.java
+1
-1
pom.xml
+51
-1
No files found.
api/pom.xml
View file @
ca20f174
...
...
@@ -51,4 +51,23 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<version>
2.0.4.RELEASE
</version>
<executions>
<execution>
<goals>
<goal>
repackage
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<!-- 给jar包取名 -->
<finalName>
extend
</finalName>
</build>
</project>
infra/pom.xml
View file @
ca20f174
...
...
@@ -57,18 +57,30 @@
<groupId>
com.baomidou
</groupId>
<artifactId>
dynamic-datasource-spring-boot-starter
</artifactId>
<version>
${dynamic-datasource.version}
</version>
<exclusions>
<exclusion>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</exclusion>
</exclusions>
</dependency>
<!--多数据源支持 End-->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-redis
</artifactId>
<exclusions>
<exclusion>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<
!--<
dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependency>
-->
<dependency>
<groupId>
javax.validation
</groupId>
...
...
infra/src/main/java/com/hikcreate/edl/pub/web/mobile/infra/data/feign/dcp_service_vehicle/ViolationFeign.java
View file @
ca20f174
...
...
@@ -14,7 +14,7 @@ import java.util.List;
* @author: xieshixiang
* @time:2020/6/19 15:26
**/
@FeignClient
(
url
=
"http://10.197.236.100:40204"
,
name
=
"dcp-service-vehicle"
,
path
=
"dcp/violation"
,
contextId
=
"dcp"
+
@FeignClient
(
name
=
"dcp-service-vehicle"
,
path
=
"dcp/violation"
,
contextId
=
"dcp"
+
"-service-vehicle-violation"
)
public
interface
ViolationFeign
{
/**
...
...
pom.xml
View file @
ca20f174
...
...
@@ -92,11 +92,61 @@
<build>
<plugins>
<plugin>
<
!--<
plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>-->
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
8
</source>
<target>
8
</target>
</configuration>
</plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
versions-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>
nexus
</id>
<name>
maven-central
</name>
<url>
http://maven.hikcreate.com/repository/maven-central
</url>
<releases>
<enabled>
false
</enabled>
</releases>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>
nexus
</id>
<name>
maven-public
</name>
<url>
http://maven.hikcreate.com/repository/maven-public
</url>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
<releases>
<enabled>
true
</enabled>
</releases>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>
nexus
</id>
<name>
maven-releases
</name>
<url>
http://maven.hikcreate.com/repository/maven-releases
</url>
</repository>
<snapshotRepository>
<id>
nexus
</id>
<name>
maven-snapshots
</name>
<url>
http://maven.hikcreate.com/repository/maven-snapshots
</url>
</snapshotRepository>
</distributionManagement>
</project>
Write
Preview
Markdown
is supported
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