java - Generating JavaFX project with Maven -
i'm trying create new javafx maven project in intellij idea using following 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> <groupid>pl.edu.pg.eti.pcej</groupid> <artifactid>pl.edu.pg.eti.pcej.wi.clustermap</artifactid> <version>1.0-snapshot</version> </project>
i cannot generate project, because i've got following warnings , errors:
[warning] property organizationname missing. add -dorganizationname=somevalue
...
[error] failed 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 not configured [error] property organizationname missing. [error] -> [help 1] [error] [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error] [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/mojofailureexception [error] maven execution terminated abnormally (exit code 1)
how can fix in intellij?
edit:
i'm creating new project archetype com.zenjava:javafx-basic-archetype // javafx-basic-arcehtype:2.0.1
in project creation wizard, there window "maven home directory" input field @ top. on window can see table parameters template. add organizationname
parameter there.
Comments
Post a Comment