1.把依赖打进sigma-api的jar包

<?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">
<parent>
<artifactId>sigma</artifactId>
<groupId>sigma.resource</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion> <artifactId>sigma-api</artifactId> <properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties> <dependencies>
<dependency>
<groupId>sigma.resource</groupId>
<artifactId>sigma-enums</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies> <build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build> </project>

2.生成的jar包选择

original开头的jar包是不包含依赖的jar包

非original,直接模块名字开头的sigma-api-1.0-SNAPSHOT.jar才是包含依赖的jar包

最新文章

  1. Oracle之分页查询
  2. tamtam-nuget-imageserver
  3. 源码编译安装 MySQL 5.5.x 实践
  4. 自动获取MyEcilipse注册名和注册码的方法
  5. ios开发之CoreData使用
  6. QTextCodec::makeDecoder函数,plugins需要是动态链接库
  7. python之7-3对象的信息/方法获取
  8. JavaScript DOM省市自适配select菜单
  9. [ABP开源项目]--vue+vuex+vue-router+EF的权限管理系统
  10. NGINX 配置404错误页面转向
  11. c#代码启动任务管理器的几种方法
  12. rm: cannot remove ‘overlay/’: Device or resource busy
  13. final link failed: Nonrepresentable section on output
  14. MySQL远程连接问题解决方法
  15. S5PV210 LCD显示
  16. Oracle数据库入门——体系结构
  17. python数据结构之哈希表
  18. linux用户和组
  19. ROS知识(11)----同步两台机器时钟
  20. mysql免安装版初始化

热门文章

  1. P2P技术(一):NAT
  2. C++基础:模板的声明实现分离
  3. Day003 包机制
  4. java随堂笔记
  5. 异常检测算法Robust Random Cut Forest(RRCF)关键定理引理证明
  6. 【Azure 环境】基于Azure搭建企业级内部站点, 配置私有域名访问的详细教程 (含演示动画)
  7. 教你用SQL实现统计排名
  8. ffmpeg实践
  9. 使用git rebase去掉无谓的融合
  10. 用fseek和ftell获取文件的大小