当前位置: 首页 > news >正文

迅睿cms建站教程html5手机端模板

迅睿cms建站教程,html5手机端模板,用php建网站,wordpress api 缓存目录 mavenpom.xml打包配置项&#xff08;非完整版&#xff0c;仅含打包的内容< build>&#xff09;pom.xml完整示例&#xff08;需要修改参数&#xff09;效果说明 maven 最主要的方式还是maven进行打包&#xff0c;也好进行配置项的管理 以下为pom文件&#xff08;不要…

目录

  • maven
    • pom.xml打包配置项(非完整版,仅含打包的内容< build>)
    • pom.xml完整示例(需要修改参数)
    • 效果说明

maven

最主要的方式还是maven进行打包,也好进行配置项的管理
以下为pom文件(不要忘记修改部分参数)

pom.xml打包配置项(非完整版,仅含打包的内容< build>)

  <build><plugins><plugin><groupId>org.scala-tools</groupId><artifactId>maven-scala-plugin</artifactId><version>2.15.2</version><executions><execution><id>scala-compile-first</id><goals><goal>compile</goal></goals><configuration><includes><include>**/*.scala</include></includes></configuration></execution><execution><id>scala-test-compile</id><goals><goal>testCompile</goal></goals></execution></executions></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><version>3.0</version><configuration><source>8</source><target>8</target><encoding>UTF-8</encoding></configuration><executions><execution><phase>compile</phase><goals><goal>compile</goal></goals></execution></executions></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-shade-plugin</artifactId><executions><!-- Run shade goal on package phase --><execution><phase>package</phase><goals><goal>shade</goal></goals><configuration><filters><filter><!-- Do not copy the signatures in the META-INF folder.Otherwise, this might cause SecurityExceptions when using the JAR. --><artifact>*:*</artifact><excludes><exclude>META-INF/*.SF</exclude><exclude>META-INF/*.DSA</exclude><exclude>META-INF/*.RSA</exclude></excludes></filter></filters><transformers><transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"><mainClass>com.wunaiieq.SSJdbcRead</mainClass></transformer></transformers><createDependencyReducedPom>false</createDependencyReducedPom></configuration></execution></executions></plugin></plugins></build>

pom.xml完整示例(需要修改参数)

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"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"><modelVersion>4.0.0</modelVersion><groupId>com.wunaiieq</groupId><artifactId>spark02</artifactId><version>1.0-SNAPSHOT</version><properties><maven.compiler.source>8</maven.compiler.source><maven.compiler.target>8</maven.compiler.target><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding></properties><dependencies><dependency><groupId>org.apache.spark</groupId><artifactId>spark-core_2.12</artifactId><version>3.2.1</version></dependency><dependency><groupId>junit</groupId><artifactId>junit</artifactId><version>4.11</version><scope>test</scope></dependency><dependency><groupId>org.apache.spark</groupId><artifactId>spark-sql_2.12</artifactId><version>3.2.1</version></dependency><dependency><groupId>mysql</groupId><artifactId>mysql-connector-java</artifactId><version>8.0.25</version></dependency></dependencies><build><plugins><plugin><groupId>org.scala-tools</groupId><artifactId>maven-scala-plugin</artifactId><version>2.15.2</version><executions><execution><id>scala-compile-first</id><goals><goal>compile</goal></goals><configuration><includes><include>**/*.scala</include></includes></configuration></execution><execution><id>scala-test-compile</id><goals><goal>testCompile</goal></goals></execution></executions></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><version>3.0</version><configuration><source>8</source><target>8</target><encoding>UTF-8</encoding></configuration><executions><execution><phase>compile</phase><goals><goal>compile</goal></goals></execution></executions></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-shade-plugin</artifactId><executions><!-- Run shade goal on package phase --><execution><phase>package</phase><goals><goal>shade</goal></goals><configuration><filters><filter><!-- Do not copy the signatures in the META-INF folder.Otherwise, this might cause SecurityExceptions when using the JAR. --><artifact>*:*</artifact><excludes><exclude>META-INF/*.SF</exclude><exclude>META-INF/*.DSA</exclude><exclude>META-INF/*.RSA</exclude></excludes></filter></filters><transformers><transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"><mainClass>com.wunaiieq.SSJdbcRead</mainClass></transformer></transformers><createDependencyReducedPom>false</createDependencyReducedPom></configuration></execution></executions></plugin></plugins></build>
</project>

效果说明

打包后会弹出两个jar包
original-spark02-1.0-SNAPSHOT.jar:默认打包配置,不含其他依赖项
spark02-1.0-SNAPSHOT.jar:涵盖所有依赖文件(dependency)
在这里插入图片描述

http://www.yayakq.cn/news/141257/

相关文章:

  • 团购网站 如何做推广北京赛车网站建设
  • 免费棋牌网站建设中交路桥建设有限公司是国企还是央企
  • wordpress一小时建站公司营销型网站公司
  • 岳阳市内从事网站建设的公司网站建设和维护一年的费用
  • 手机网站大全网站设计公司列表
  • 什么网站可以做报名系统按效果付费的推广
  • 怎么创建自己网站平台个人网站 备案 备注
  • 成品型网站建设西咸新区建设环保网站
  • 做网站的电话厦门网站建设人才
  • 开封市做网站的公司哪里有网站建设加工
  • 网站建设前期目标价格低的英文怎么说
  • 3d网站建设方案天津网站推广有哪些
  • 找做报纸的背景图去什么网站调查队网站建设
  • 校园网站的建设海南 网站开发
  • 网站设计的优化西安抖音代运营公司
  • 制作网站的专业公司广告网络营销策略
  • 徐东网站建设公司wordpress菜单.html
  • 太原h5建站wordpress 4.4.2 漏洞
  • 网站开发分层新手如何做外贸生意
  • 网站域名费用多少钱一年校园网站开发需求文字
  • wordpress站点logo多大合适自学it怎么入门
  • 做网站设计电脑买什么高端本好山西做杂粮的网站
  • wordpress网站搬家图片路径公司软文推广
  • 网站建设和维护工作总结普陀学校网站建设
  • 深圳住房和建设局网站 招标如何用网站开发工具停止网页进程
  • 网站推广名片网站建设及推广方案
  • wordpress如何代码高亮广州seo网站开发
  • 山西长治做网站公司有哪些WordPress主题VR插件
  • 网站开发美学 2.0网站建设流程规划
  • 厦门网站建设培训班什么网站程序好