<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>false</minimizeJar>
<shadedArtifactAttached>true</shadedArtifactAttached>
<artifactSet>
<includes>
<!-- Include here the dependencies you
want to be packed in your fat jar -->
<include>*:*</include>
</includes>
</artifactSet>
<filters>
<filter>
<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.AppendingTransformer">
<resource>reference.conf</resource>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.2.2</version>
<executions>
<execution>
<id>scala-compile-first</id>
<phase>process-resources</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>scala-test-compile-first</id>
<phase>process-test-resources</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
<execution>
<id>attach-scaladocs</id>
<phase>verify</phase>
<goals>
<goal>doc-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
分享到:
相关推荐
NULL 博文链接:https://yizhilong28.iteye.com/blog/1123647
此包运行springboot+mvn+mybaits + log4j + mysql的框架集成,只需修改数据库及表的字段就可直接编译运行,适用于使用springboot的初学者。
mvn搭建的web项目,spring+mybatis框架 内对外提供webservice 包含测试webservice
本示例工程能很好的展示springmvc与mybatis的整合,另外也使用maven来管理工程,非常适合当下的java服务器开发
使用spring mvc + hibernate 使用maven构建的项目架构, IDE使用的是Eclipse,
demo参考网上资料,使用mvn建项,使用者需要有一定mvn基础。 demo没有实现复杂业务,只实现了部分功能: 微服务模块初始化时,常量和数据库信息等使用云配置服务(spring config)获取; 微服务之间使用负载均衡...
通过mvn命令启动项目,包含了redis数据库,实现商城的秒杀效果
<<<<<<<书店的HEAD README ======= 吉普斯特书店 使用jhipster生成的项目(angular + spring + ehcache + angular + mvn + grunt) b5e86fa08c19ee59b8b7719779715acd34a42d46
mvn安装配置+环境变量配置mvn安装配置+环境变量配置mvn安装配置+环境变量配置mvn安装配置+环境变量配置
大家可以拿去看看! 里面带有mysql语句,是课程设计的时候做的! 是用mysql+jsp做的,很实用!
SpringMvc+Spring+MyBatis+Maven项目整合,适合在学SSM的人
maven+springMvc+mysql的框架,
mvc模式实现的留言板程序
springmvc+mybats+freemark(mvn)
基于mvn +springBoot+springCloud+mysql,针对微服务架构的最初实现,功能很简单。根目录含有数据库脚本
一个简单的爬虫例子。使用java实现。更多毕设资源或课程设计资源,请访问博主的资源。或者找博主要。1271474283@qq.com
mvn archetype:create -DgroupId=packageName -DartifactId=projectName 2. 创建Maven的Web项目: mvn archetype:create -DgroupId=packageName -DartifactId=webappName -...
mvn常用命令,平时使用比较多的,相信会很要帮助。
mvn.bat
struts1+mvn样例程序,紧紧是个hello world程序,供快速测试使用