maven中如何打包源代码
1、The source plugin can be ud to create a jar file of the project sources from the command line or by binding the goal to the project's build lifecycle. To generate the jar from the command line, u the following command:
mvn source:jar
A jar file of the test sources can also be generated by executing:
收益性支出mvn source:test-jar
运⾏后会在target⽬录中找到⽣成的源⽂件jar包。
大班英语教案2、在l中添加:
<artifactId>maven-
将源代码打包。同样,pha还可以指定为package、install等等。反三违
source-
plugin</artifactId>
<version>2.1</version
>
尽管关联词
<configuration>
<attach>true</attach>
</configuration>
红色经典观后感<executions>
<execution>董行佶
<pha>compile</phas
e>英语诗歌经典短诗
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>淘气近义词
</build>