作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.cloudst</groupId>
<artifactId>cloudst</artifactId>
<version>0.1.2</version>
<packaging>jar</packaging>
<name>cloudst</name>
<url>http://maven.apache.org</url>
<repositories>
<repository>
<id>com.springsource.repository.bundles.release</id>
<url>http://repository.springsource.com/maven/bundles/release/</url>
</repository>
<repository>
<id>EclipseLink</id>
<url>http://download.eclipse.org/rt/eclipselink/maven.repo</url>
</repository>
<repository>
<id>java.net2</id>
<name>Repository hosting the jee6 artifacts</name>
<url>http://download.java.net/maven/2</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.kitchen-eel</groupId>
<artifactId>json-schema-validator</artifactId>
<version>${kitchen-eel.version}</version>
</dependency>
<build>
<finalName>cloudst</finalName>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</build>
</project>
最佳答案
这是解决 Eclipse 中 Maven 项目中可能发生的错误“ArtifactTransferException:Could not transfer artifact”的非常简短的提示。
解决步骤:
1. Open folder by running this text (without Quotes) in Search Explorer of Window “%USERPROFILE%\.m2″.
2. After running above command, “m2″ folder of maven will open. Now search for file (without Quotes) “*.lastUpdated”.
3. In this step, delete all the files found by running Step 2.
4. Now go to Eclipse project and select “Maven | Update Dependency” or “Maven | Update Project”.
关于eclipse - m2eclipse 问题 ArtifactTransferException - 但是 pom.xml 从命令行编译/安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13425941/
4.0.0 com.cloudst cloudst 0.1.2 jar cloudst http://maven.apache.
我在 pom 文件中收到以下编译时错误 ArtifactTransferException: Failure to transfer org.springframework.data:spring-d
我是一名优秀的程序员,十分优秀!