我刚刚创建了一个新的maven项目,如下所示:
当我点击完成时,它开始给我以下错误:
Project build error: Non-resolvable parent POM for com.mycompany:first-custom-nifi-processor:0.0.1-SNAPSHOT: Could not find artifact org.apache.nifi:nifi-nar-bundles:pom:0.1.0-incubating-SNAPSHOT and 'parent.relativePath' points at wrong local POM
这将创建如下项目:
并带有以下pom:
first-custom-nifi-processor / pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-nar-bundles</artifactId>
<version>0.1.0-incubating-SNAPSHOT</version>
</parent>
<groupId>com.mycompany</groupId>
<artifactId>first-custom-nifi-processor</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>nifi-custom-nifi-processor-processors</module>
<module>nifi-custom-nifi-processor-nar</module>
</modules>
</project>
我想念什么?