maven-resources-plugin:2.6:resources (default-resources)

仲孙信瑞
2023-12-01

 


package的时候报错


增加了这些代码:  是因为maven 2.6的依赖改变了!需要添加这些依赖!让他重新下载,或者加载已经有的包!!!!!



<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-resources-plugin</artifactId>
    <version>2.6</version>
    <dependencies>
        <dependency>
            <groupId>org.codehaus.plexus</groupId>
            <artifactId>plexus-utils</artifactId>
            <version>3.0.15</version>
        </dependency>
        <dependency>
            <groupId>org.codehaus.plexus</groupId>
            <artifactId>plexus-interpolation</artifactId>
            <version>1.22</version>
        </dependency>
        <dependency>
            <groupId>org.apache.maven.shared</groupId>
            <artifactId>maven-filtering</artifactId>
            <version>3.1.0</version>
        </dependency>
    </dependencies>
    <configuration>
        <encoding>UTF-8</encoding>
    </configuration>
</plugin>

 类似资料: