我在pom文件中有以下内容:
var canvas = document.createElement('canvas');
var gl = canvas.getContext('experimental-webgl');
--------
--------
当我运行以下命令时:<project>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.worksap.company</groupId>
<artifactId>company-framework-autoindex-maven-plugin</artifactId>
<version>${project.version}</version>
<configuration>
<name>${project.artifactId}-${project.version}</name>
<mode>offline</mode>
</configuration>
<executions>
<execution>
<id>collect-index-generator-related-classes</id>
<goals>
<goal>collect</goal>
</goals>
</execution>
<execution>
<id>package-online-offline-job</id>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.worksap.company</groupId>
<artifactId>company-framework-autoindex-normal-batch</artifactId>
<version>${project.version}</version>
<classifier>all-in-one</classifier>
</dependency>
<dependency>
<groupId>com.worksap.company</groupId>
<artifactId>company-framework-autoindex-offline</artifactId>
<version>${project.version}</version>
<classifier>all-in-one</classifier>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
或mvn clean install
,我收到此错误:
mvn install
我试图删除49177 [ERROR] Failed to execute goal framework-autoindex-maven-plugin:17.02-SNAPSHOT:collect (collect-index-generator-related-classes) on project hue-com-ifx-dto: Failed to delete source temp directory: ~\hue-com-ifx-dtos\ifx-dto\target\index-generator-related-temp-classes\: Unable to delete file: ~\ifx-dto\target\index-generator-related-temp-classes\serializer.properties -> [Help 1]
。此外,我已尝试重新启动计算机,以便该文件上没有其他进程正在运行。我该如何解决这个问题?
答案 0 :(得分:0)
我认为你正在堕落here:
某些生成文件的插件可以生成其文件 clean插件删除的默认目录。你应该添加 这些文件在clean插件配置中的位置或更改 那些插件的配置把他们的文件放在里面 project.build.directory,默认情况下是目标目录。