手记

【maven】把源代码打包

<plugin>
    <artifactId>maven-source-plugin</artifactId>
    <version>3.0.1</version>
        <executions>
            <execution>
                <id>attach-sources</id>  
                <phase>package</phase>
                <goals>
                    <goal>jar</goal>
                </goals>
            </execution>
        </executions>
</plugin>
0人推荐
随时随地看视频
慕课网APP