Maven
码农UP2U
这个作者很懒,什么都没留下…
展开
-
添加 jar 包到 Maven
mvn install:install-file -DgroupId="com.jeesite" -DartifactId=jeesite-module-filemanager -Dversion="4.1.9-SNAPSHOT" -Dpackaging=jar -Dfile="jeesite-module-filemanager-4.1.9-SNAPSHOT.jar"-DgroupId 对应 POM 文件中的 groupId-DartifactId 对应 POM 文件中的 artifactId.原创 2021-12-20 19:20:22 · 400 阅读 · 0 评论 -
Failed to resolve org.junit.platform:junit-platform-launcher:1.5.2 报错
在 pom.xml 文件中添加如下依赖即可<dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-launcher</artifactId> <scope>test</scope></dependency>原创 2021-08-22 22:15:35 · 492 阅读 · 0 评论 -
Maven打包出错Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test
在使用maven打包时,出现以下错误:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project flow-traffic-statistics: Unable to generate classpath: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable原创 2021-03-14 15:00:07 · 1139 阅读 · 0 评论