The Wayback Machine - https://web.archive.org/web/20201202231503/https://github.com/dromara/soul/issues/454
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maven pom配置文件优化 #454

Open
dengliming opened this issue Dec 1, 2020 · 1 comment
Open

maven pom配置文件优化 #454

dengliming opened this issue Dec 1, 2020 · 1 comment
Assignees

Comments

@dengliming
Copy link
Member

@dengliming dengliming commented Dec 1, 2020

1、把依赖版本号统一放到properties里面 例如下面的版本需要改下放到<properties></properties>

<dependency>
                <groupId>org.apache.zookeeper</groupId>
                <artifactId>zookeeper</artifactId>
                <version>3.5.6</version>
            </dependency>
            <dependency>
                <groupId>com.101tec</groupId>
                <artifactId>zkclient</artifactId>
                <version>0.10</version>
            </dependency>

2、类似以下这种

<configuration>
                   <source>1.8</source>
                   <target>1.8</target>
                   <encoding>UTF-8</encoding>
               </configuration>

统一用jdk.versionproject.build.sourceEncoding

@dengliming dengliming changed the title maven pom依赖版本配置优化 maven pom配置文件优化 Dec 1, 2020
@BestChong
Copy link

@BestChong BestChong commented Dec 1, 2020

get

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.