Home > Back-end >  Rookie question: maven jars, rely on not to jar the bag. And with a war file can go in, what reason
Rookie question: maven jars, rely on not to jar the bag. And with a war file can go in, what reason

Time:12-01

Maven environment:
Maven home: E: \ Java \ apache Maven - 3.6.3 \ bin \..
Java version: 1.8.0 comes with _152, vendor: Oracle Corporation, the runtime: C: \ Program Files \ J
Ava \ jdk1.8.0 _152 \ jre
The Default locale: zh_CN, platform encoding: GBK
OS name: "Windows 7", version: "6.1", the arch: "amd64," family: "Windows"

Pom. XML file:
<? The XML version="1.0" encoding="utf-8"?>
XMLNS: xsi="http://www.w3.org/2001/XMLSchema-instance"
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>

Pers. Dfp
Learnegls
0.0.1 - SNAPSHOT
Jar

Learnegls Maven Webapp
http://www.example.com


Org. Springframework. Boot
Spring - the boot - starter - parent
1.5.6. RELEASE





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



Org. Springframework. Boot
Spring - the boot - starter - web



Org. Springframework. Boot
Spring - the boot - starter - tomcat
Provided



Org, apache maven. Plugins
Maven - resources - plugin
2.6 & lt;/version>



Io.net ty
Netty - all
4.1.5. Final



Javax.mail. Servlet
Javax.mail. Servlet - api


Javax.mail. Servlet
Jstl


Org, apache tomcat. Embed
Tomcat embed - jasper
Provided


Org. Apache. Tomcat
Tomcat JSP - api







Learnegls



Org. Springframework. Boot
Spring - the boot - maven - plugin

True
Pers. DFP. SpringBootStart
True
ZIP




Repackage





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


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


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


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


Maven - war - plugin
3.2.2 & lt;/version>


Maven - install - plugin
2.5.2 & lt; nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related