小编pce*_*ski的帖子

使用Maven生成JavaFX项目

我正在尝试使用以下pom.xml在IntelliJ Idea中创建新的JavaFX Maven项目:

<?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>

    <groupId>pl.edu.pg.eti.pcej</groupId>
    <artifactId>pl.edu.pg.eti.pcej.wi.clustermap</artifactId>
    <version>1.0-SNAPSHOT</version>


</project>
Run Code Online (Sandbox Code Playgroud)

我无法生成项目,因为我收到以下警告和错误:

[WARNING] Property organizationName is missing. Add -DorganizationName=someValue
Run Code Online (Sandbox Code Playgroud)

...

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: Archetype com.zenjava:javafx-basic-archetype:2.0.1 is not configured
    [ERROR] Property organizationName is missing.
    [ERROR] -> [Help 1]
    [ERROR] 
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR] 
    [ERROR] …
Run Code Online (Sandbox Code Playgroud)

java javafx intellij-idea maven

4
推荐指数
1
解决办法
2404
查看次数

标签 统计

intellij-idea ×1

java ×1

javafx ×1

maven ×1