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
jinan
traffic-signal-platform
Commits
10f52bf8
Commit
10f52bf8
authored
Nov 24, 2022
by
hanbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
海康jar包部署
parent
bd079cfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
52 deletions
+70
-52
artemis-http-client-1.1.7.jar
signal-utc-service/lib/artemis-http-client-1.1.7.jar
+0
-0
pom.xml
signal-utc-service/pom.xml
+70
-52
No files found.
lib/artemis-http-client-1.1.7.jar
→
signal-utc-service/
lib/artemis-http-client-1.1.7.jar
View file @
10f52bf8
File moved
signal-utc-service/pom.xml
View file @
10f52bf8
...
...
@@ -139,10 +139,18 @@
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
</dependency>
<!-- jersey -->
<dependency>
<groupId>
org.glassfish.jersey.media
</groupId>
<artifactId>
jersey-media-multipart
</artifactId>
</dependency>
<dependency>
<groupId>
com.hikvision.artemis
</groupId>
<artifactId>
sdk
</artifactId>
<version>
1.1.7
</version>
<scope>
system
</scope>
<systemPath>
${project.basedir}/lib/artemis-http-client-1.1.7.jar
</systemPath>
</dependency>
</dependencies>
<!-- <build>-->
...
...
@@ -158,6 +166,16 @@
<!-- </build>-->
<build>
<resources>
<resource>
<directory>
lib
</directory>
<targetPath>
BOOT-INF/lib/
</targetPath>
<includes>
<include>
**/*.jar
</include>
</includes>
</resource>
</resources>
<plugins>
<!-- 编译插件 -->
<plugin>
...
...
@@ -180,6 +198,7 @@
<manifest>
<addClasspath>
true
</addClasspath>
<classpathPrefix>
lib/
</classpathPrefix>
<!-- 主类 -->
<mainClass>
net.wanji.utc.UtcApplication
</mainClass>
</manifest>
</archive>
...
...
@@ -192,7 +211,6 @@
</plugin>
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<!-- 主类 -->
<configuration>
<finalName>
signal-utc-service
</finalName>
<descriptors>
...
...
@@ -248,58 +266,58 @@
<!-- mvn clean package -Dmaven.test.skip=true jib:build -DsendCredentialsOverHttp=true -->
<!-- 使用jib 无需深入学习docker, 无需编写Dockerfile -->
<plugin
>
<groupId>
com.google.cloud.tools
</groupId
>
<artifactId>
jib-maven-plugin
</artifactId
>
<version>
2.5.2
</version
>
<configuration
>
<!--from节点用来设置镜像的基础镜像,相当于Docerkfile中的FROM关键字
-->
<from
>
<!--使用harbor上的openjdk镜像
-->
<image>
10.100.1.87:5000/xinkong/openjdk:8-alpine3.9
</image
>
<!--harbor服务器的登录信息
-->
<auth
>
<username>
admin
</username
>
<password>
Wanji300552
</password
>
</auth
>
</from
>
<to
>
<image>
10.100.1.87:5000/xinkong/${artifactId}:${version}
</image
>
<auth
>
<username>
admin
</username
>
<password>
Wanji300552
</password
>
</auth
>
</to
>
<container
>
<!--配置jvm虚拟机参数
-->
<jvmFlags
>
<jvmFlag>
-Xms512m
</jvmFlag
>
</jvmFlags
>
<!--配置使用的时区
-->
<environment
>
<TZ>
Asia/Shanghai
</TZ
>
</environment
>
<!--要暴露的端口
-->
<ports
>
<port>
30000
</port
>
</ports
>
<!-- <creationTime>2022-10-14T10:08:59.304+08:00</creationTime>
-->
<creationTime>
${maven.build.timestamp}
</creationTime
>
<!-- <plugin>--
>
<!-- <groupId>com.google.cloud.tools</groupId>--
>
<!-- <artifactId>jib-maven-plugin</artifactId>--
>
<!-- <version>2.5.2</version>--
>
<!-- <configuration>--
>
<!-- <!–from节点用来设置镜像的基础镜像,相当于Docerkfile中的FROM关键字–>
-->
<!-- <from>--
>
<!-- <!–使用harbor上的openjdk镜像–>
-->
<!-- <image>10.100.1.87:5000/xinkong/openjdk:8-alpine3.9</image>--
>
<!-- <!–harbor服务器的登录信息–>
-->
<!-- <auth>--
>
<!-- <username>admin</username>--
>
<!-- <password>Wanji300552</password>--
>
<!-- </auth>--
>
<!-- </from>--
>
<!-- <to>--
>
<!-- <image>10.100.1.87:5000/xinkong/${artifactId}:${version}</image>--
>
<!-- <auth>--
>
<!-- <username>admin</username>--
>
<!-- <password>Wanji300552</password>--
>
<!-- </auth>--
>
<!-- </to>--
>
<!-- <container>--
>
<!-- <!–配置jvm虚拟机参数–>
-->
<!-- <jvmFlags>--
>
<!-- <jvmFlag>-Xms512m</jvmFlag>--
>
<!-- </jvmFlags>--
>
<!-- <!–配置使用的时区–>
-->
<!-- <environment>--
>
<!-- <TZ>Asia/Shanghai</TZ>--
>
<!-- </environment>--
>
<!-- <!–要暴露的端口–>
-->
<!-- <ports>--
>
<!-- <port>30000</port>--
>
<!-- </ports>--
>
<!-- <!– <creationTime>2022-10-14T10:08:59.304+08:00</creationTime>–>
-->
<!-- <creationTime>${maven.build.timestamp}</creationTime>--
>
<mainClass>
com.wanji.web.SignalApplication
</mainClass
>
</container
>
<!--可以进行HTTP
-->
<allowInsecureRegistries>
true
</allowInsecureRegistries
>
</configuration
>
<executions
>
<execution
>
<phase>
package
</phase
>
<goals
>
<goal>
build
</goal
>
</goals
>
</execution
>
</executions
>
</plugin
>
<!-- <mainClass>com.wanji.web.SignalApplication</mainClass>--
>
<!-- </container>--
>
<!-- <!–可以进行HTTP–>
-->
<!-- <allowInsecureRegistries>true</allowInsecureRegistries>--
>
<!-- </configuration>--
>
<!-- <executions>--
>
<!-- <execution>--
>
<!-- <phase>package</phase>--
>
<!-- <goals>--
>
<!-- <goal>build</goal>--
>
<!-- </goals>--
>
<!-- </execution>--
>
<!-- </executions>--
>
<!-- </plugin>--
>
</plugins>
</build>
...
...
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