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

做网站前必须设计原型吗wordpress插件的使用

做网站前必须设计原型吗,wordpress插件的使用,哪些网站是react做的,wordpress 教程网目录 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/891450/

相关文章:

  • 网站搜索优化技巧有没有可以做翻译的网站吗
  • 中国制造网 做网站费用最简单的建个人网站
  • 餐饮网站建设的毕设报告可以做海报的网站
  • 化妆品应如何网站建设定位wordpress cui
  • 网站开发需要学shenme新河官网
  • 低价网站制作顺德react网站开发介绍
  • 做书籍封皮的网站wordpress 太慢
  • 两学一做网上答题网站便宜网站建设价格
  • 电子商务网站设计分析怎么做《网页设计与网站建设》
  • 编程猫官方网站用php开发网站教程
  • 公司logo设计免费重庆seo建站
  • 开发菏泽网站建设江西网络推广外包
  • 南宁建站服务公司之沧州百度推广总代理
  • 南平高速建设有限公司网站网站内容怎么选择
  • 镇江网站建设工程建设手机网站大概要多少钱
  • wordpress搭建外贸网站京东网站设计的特点
  • 站外营销有哪几种主流方式wordpress怎么固定导航栏
  • 东莞商城网站建设价格wordpress 免费博客
  • 住房及城乡建设部网站网站建设方案之目标
  • 制作静态网站wordpress 后台攻击
  • 企业网站要更新文章吗做谱的网站
  • zencart 网站建设建站公司外包
  • pc 移动的网站开发黑客零基础入门
  • 购票网站模板温岭建设规划局网站
  • 柳州洛维建设网站中国住建部和城乡建设官网
  • 平陆县网站建设专业seo推广
  • 包装公司网站模板网络架构分为几层
  • 企业网站属于哪种网站类型最优惠的赣州网站建设
  • 如何为公司做网站网站做产品的审核
  • 网站建设的展望wordpress右键