• maven 的配置文件


    <build>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>2.4.3</version>
                    <configuration>
                        <encoding>UTF-8</encoding>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <executions>
                        <execution>
                            <id>copy</id>
                            <phase>install</phase>
                            <goals>
                                <goal>copy-dependencies</goal>
                            </goals>
                            <configuration>
                                <outputDirectory>
                                    ${project.build.directory}
                                </outputDirectory>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
            <pluginManagement>  
                <plugins>  
                <!-- Ignore/Execute plugin execution -->  
                      <plugin>  
                        <groupId>org.eclipse.m2e</groupId>  
                        <artifactId>lifecycle-mapping</artifactId>  
                        <version>1.0.0</version>  
                        <configuration>  
                            <lifecycleMappingMetadata>  
                                <pluginExecutions>  
                                    <!-- copy-dependency plugin -->  
                                    <pluginExecution>  
                                        <pluginExecutionFilter>  
                                            <groupId>org.apache.maven.plugins</groupId>  
                                            <artifactId>maven-dependency-plugin</artifactId>  
                                            <versionRange>[1.0.0,)</versionRange>  
                                            <goals>  
                                                <goal>copy-dependencies</goal>  
                                            </goals>  
                                        </pluginExecutionFilter>  
                                        <action>  
                                            <ignore />  
                                        </action>  
                                    </pluginExecution>  
                                </pluginExecutions>  
                            </lifecycleMappingMetadata>  
                        </configuration>  
                    </plugin>  
                   </plugins>  
              </pluginManagement> 
        </build>

  • 相关阅读:
    [题解]小B的询问-莫队水题
    [学习笔记]莫队学习笔记[未完待续]
    ffmpeg设置超时时间
    python signal
    pydantic库使用文档
    rtmp及直播流相关资料
    ffmpeg 将视频转换成m3u8视频
    nginx stop失败问题
    linux使用ssh远程登录服务器
    解决Fcitx输入法文字候选无前端问题
  • 原文地址:https://www.cnblogs.com/happysky97/p/3230538.html
Copyright © 2020-2023  润新知