Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
signal
traffic-signal-platform
Commits
7e9b8afd
Commit
7e9b8afd
authored
Jan 17, 2023
by
hanbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试多模块构建
parent
7ce1cff0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
8 deletions
+47
-8
pom.xml
signal-control-service/pom.xml
+15
-8
TestServiceImpl.java
...main/java/net/wanji/web/service/impl/TestServiceImpl.java
+15
-0
TestCommon.java
wj-common/src/main/java/net/wanji/common/TestCommon.java
+17
-0
No files found.
signal-control-service/pom.xml
View file @
7e9b8afd
...
@@ -37,6 +37,11 @@
...
@@ -37,6 +37,11 @@
<artifactId>
signal-feign-service
</artifactId>
<artifactId>
signal-feign-service
</artifactId>
<version>
0.0.2
</version>
<version>
0.0.2
</version>
</dependency>
</dependency>
<dependency>
<groupId>
net.wanji
</groupId>
<artifactId>
wj-common
</artifactId>
<version>
0.2.1
</version>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-websocket
</artifactId>
<artifactId>
spring-boot-starter-websocket
</artifactId>
...
@@ -260,6 +265,16 @@
...
@@ -260,6 +265,16 @@
<groupId>
com.google.cloud.tools
</groupId>
<groupId>
com.google.cloud.tools
</groupId>
<artifactId>
jib-maven-plugin
</artifactId>
<artifactId>
jib-maven-plugin
</artifactId>
<version>
2.5.2
</version>
<version>
2.5.2
</version>
<!-- 将jib与mvn构建的生命周期绑定 -->
<executions>
<execution>
<id>
build-image
</id>
<phase>
package
</phase>
<goals>
<goal>
build
</goal>
</goals>
</execution>
</executions>
<configuration>
<configuration>
<!--from节点用来设置镜像的基础镜像,相当于Docerkfile中的FROM关键字-->
<!--from节点用来设置镜像的基础镜像,相当于Docerkfile中的FROM关键字-->
<from>
<from>
...
@@ -301,14 +316,6 @@
...
@@ -301,14 +316,6 @@
<!--可以进行HTTP-->
<!--可以进行HTTP-->
<allowInsecureRegistries>
true
</allowInsecureRegistries>
<allowInsecureRegistries>
true
</allowInsecureRegistries>
</configuration>
</configuration>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
build
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugin>
</plugins>
</plugins>
...
...
signal-control-service/src/main/java/net/wanji/web/service/impl/TestServiceImpl.java
0 → 100644
View file @
7e9b8afd
package
net
.
wanji
.
web
.
service
.
impl
;
import
net.wanji.common.TestCommon
;
/**
* @author Kent HAN
* @date 2023/1/17 10:47
*/
public
class
TestServiceImpl
{
public
static
void
main
(
String
[]
args
)
{
TestCommon
testCommon
=
new
TestCommon
();
testCommon
.
setTestString
(
"test"
);
System
.
out
.
println
(
testCommon
.
getTestString
());
}
}
wj-common/src/main/java/net/wanji/common/TestCommon.java
0 → 100644
View file @
7e9b8afd
package
net
.
wanji
.
common
;
/**
* @author Kent HAN
* @date 2023/1/17 10:45
*/
public
class
TestCommon
{
private
String
testString
;
public
String
getTestString
()
{
return
testString
;
}
public
void
setTestString
(
String
testString
)
{
this
.
testString
=
testString
;
}
}
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