Home > Back-end >  Why use maven jar package is small? Set up online pom were set up
Why use maven jar package is small? Set up online pom were set up

Time:11-24

Why use maven jars dozen small? I think should be depend on the package are not playing in,
The original pom. XML is set as follows, please the great god be solved!

 & lt; ? The XML version="1.0" encoding="utf-8"?> 

Xsi: schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" & gt;
4.0.0 & lt;/modelVersion>

Com. Haijiye
Zfmm
1.5.16 & lt;/version>

Zfmm
http://www.example.com


Utf-8 & lt;/project. Build. SourceEncoding>
1.7 & lt;/maven.com piler. Source>
1.7 & lt;/maven.com piler. Target>




Junit
Junit
4.11 & lt;/version>
Test


Com. McHange
C3p0 & lt;/artifactId>
0.9.5.2 & lt;/version>


Mysql
Mysql connector - java
5.1.38 & lt;/version>


Log4j & lt;/groupId>
Log4j & lt;/artifactId>
1.2.17 & lt;/version>


Org. Slf4j & lt;/groupId>
Slf4j - api
1.7.7 & lt;/version>


Org. Slf4j & lt;/groupId>
Slf4j - log4j12 & lt;/artifactId>
1.7.7 & lt;/version>


Org. Dom4j & lt;/groupId>
Dom4j & lt;/artifactId>
2.0.2 & lt;/version>


Io.net ty
Netty - all
4.1.6. Final






Maven - clean - plugin
3.0.0 & lt;/version>


Maven - resources - plugin
3.0.2 & lt;/version>


Maven - compiler - plugin
3.7.0 & lt;/version>


Maven - surefire - plugin
2.20.1 & lt;/version>


Maven - jar - plugin
3.0.2 & lt;/version>


Maven - install - plugin
2.5.2 & lt;/version>


Maven deploy - plugin
2.8.2 & lt;/version>


Maven - assembly - plugin
2.2 & lt;/version>



Com. Hjy. ZFMM. Main




The jar - with - dependencies











The modified pom. XML is set as follows, but the results still won't do,
 & lt; ? The XML version="1.0" encoding="utf-8"?> 

Xsi: schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" & gt;
4.0.0 & lt;/modelVersion>

Com. Haijiye
Zfmm
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related