maven 随笔
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了maven 随笔相关的知识,希望对你有一定的参考价值。
<build>
<plugins>
<!--打包源代码-->
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>${maven.plugins.source.versin}</version>
<configuration>
<attach>true</attach>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!--打包Javadoc-->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.plugins.javadoc.version}</version>
<configuration>
<attach>true</attach>
<encoding>UTF-8</encoding>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<maven.plugins.source.versin>2.4</maven.plugins.source.versin>
<maven.plugins.javadoc.version>2.10.3</maven.plugins.javadoc.version>
以上是关于maven 随笔的主要内容,如果未能解决你的问题,请参考以下文章
springboot学习随笔:springboot环境构建:eclipse+maven+jdk1.8