回避此错误
原因:找不到父项目:项目的org.sonatype.oss:oss-parent:项目org.atmosphere:atmosphere-project:pom:0.8.4的项目org.atmosphere:atmosphere-project:pom:0.8.4 < / p>
我的pom文件是
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-runtime</artifactId>
<version>0.8.4</version>
<type>bundle</type>
</dependency>
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-project</artifactId>
<version>0.8.4</version>
<type>bundle</type>
</dependency>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ${user.home}/.m2/repository
<localRepository>/path/to/local/repo</localRepository>
-->