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

Provide an all-in-one package for easier usage #1023

Merged
merged 5 commits into from
May 13, 2019

Conversation

zhangthen
Copy link
Contributor

Ⅰ. Describe what this PR did

  • 1、Add seata-all-in-one jar

Merge all the following jar‘s code into seata-all jar, so that users can get all seata's code by dependent on seata-all only.

io.seata:seata-common 
io.seata:seata-core 
io.seata:seata-config-core 
io.seata:seata-config-apollo 
io.seata:seata-config-nacos 
io.seata:seata-config-zk 
io.seata:seata-config-consul 
io.seata:seata-discovery-core 
io.seata:seata-discovery-consul 
io.seata:seata-discovery-eureka 
io.seata:seata-discovery-nacos 
io.seata:seata-discovery-redis 
io.seata:seata-discovery-sofa 
io.seata:seata-discovery-zk 
io.seata:seata-discovery-etcd3 
io.seata:seata-dubbo 
io.seata:seata-dubbo-alibaba 
io.seata:seata-rm 
io.seata:seata-rm-datasource 
io.seata:seata-spring 
io.seata:seata-tcc 
io.seata:seata-tm 
  • 2、add seata-bom jar

Move all the third-party jars to seata-bom to facilitate the management of third-party jars.

Ⅱ. Does this pull request fix one issue?

#914

I had tested the seata-all in seata-samples, which will release after this PR release.

@zhangthen zhangthen requested a review from lovepoem May 13, 2019 04:03
@codecov-io
Copy link

codecov-io commented May 13, 2019

Codecov Report

Merging #1023 into develop will decrease coverage by 0.02%.
The diff coverage is 0%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #1023      +/-   ##
=============================================
- Coverage      38.27%   38.25%   -0.03%     
  Complexity      1046     1046              
=============================================
  Files            218      218              
  Lines           8693     8698       +5     
  Branches        1083     1085       +2     
=============================================
  Hits            3327     3327              
- Misses          4946     4950       +4     
- Partials         420      421       +1
Impacted Files Coverage Δ Complexity Δ
...ta/spring/annotation/GlobalTransactionScanner.java 51.57% <0%> (-0.55%) 17 <0> (ø)
...o/seata/server/coordinator/DefaultCoordinator.java 31.48% <0%> (-0.8%) 10 <0> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d4c90e9...81fa781. Read the comment docs.

Copy link
Member

@xingfudeshi xingfudeshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.i left some comments.

bom/pom.xml Show resolved Hide resolved
@@ -0,0 +1,336 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copyright

common/pom.xml Show resolved Hide resolved
discovery/seata-discovery-etcd3/pom.xml Show resolved Hide resolved
discovery/seata-discovery-etcd3/pom.xml Show resolved Hide resolved
Copy link
Member

@lovepoem lovepoem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

License header is reqired

@@ -0,0 +1,612 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Member

@lovepoem lovepoem May 13, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

License header is required

@@ -0,0 +1,336 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

License header is required

pom.xml Outdated
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.4.2</version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please extract the version number

@zhangthen
Copy link
Contributor Author

@xingfudeshi @lovepoem done.

@lovepoem
Copy link
Member

lgtm

@ujjboy ujjboy merged commit f17ef29 into apache:develop May 13, 2019
@slievrly
Copy link
Member

@zhangthen @ujjboy how to ensure the version consistency of the dependencies in bom.xml and all/pom.xml?

@lovepoem
Copy link
Member

We can then discuss here #1031

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

Successfully merging this pull request may close these issues.

None yet

7 participants