Comments (5)
Are you using Maven3?
from javafx-maven-plugin.
C:\mvn-demo>mvn -version
Apache Maven 3.0.3 (r1075438; 2011-03-01 04:31:09+1100)
Maven home: C:\apache-maven-3.0.3
Java version: 1.7.0_21, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_21\jre
Default locale: en_AU, platform encoding: Cp1252
OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"
from javafx-maven-plugin.
Try this:
mvn archetype:generate -DarchetypeGroupId=com.zenjava -DarchetypeArtifactId=javafx-basic-archetype -DarchetypeVersion=1.3
Not really sure what the difference is but this one works for me whereas I get the same error as you using the command you put up.
from javafx-maven-plugin.
C:\mvn-demo>mvn archetype:generate -DarchetypeGroupId=com.zenjava -DarchetypeArtifactId=javafx-basic-archetype -DarchetypeVersion=1.3
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Batch mode
[INFO] Archetype repository missing. Using the one from [com.zenjava:javafx-basic-archetype:1.3] found in catalog remote
[WARNING] Property groupId is missing. Add -DgroupId=someValue
[WARNING] Property artifactId is missing. Add -DartifactId=someValue
[WARNING] Property package is missing. Add -Dpackage=someValue
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.297s
[INFO] Finished at: Tue Apr 30 10:33:57 EST 2013
[INFO] Final Memory: 9M/21M
[INFO] ------------------------------------------------------------------------
[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:1.3 is not configured
[ERROR] Property groupId is missing.
[ERROR] Property artifactId is missing.
[ERROR] Property package 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] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
from javafx-maven-plugin.
I added the parameters -DgroupId=someValue -DartifactId=someValue -Dpackage=someValue and the project was created thanks for the quick reply.
from javafx-maven-plugin.
Related Issues (20)
- Main class has to be a subclass of javafx.application.Application HOT 3
- Could not find or load main class HOT 4
- ISCC Versioning issue HOT 3
- How to handover --win-console HOT 2
- adding javafx to a maven project but failed! Help~~ HOT 2
- JVM arguments are getting ignored HOT 3
- Relationship to openjfx/javafx-maven-plugin? HOT 1
- Code signing not working HOT 7
- Document is mssing HOT 1
- Handle dependencies with the same artifact name
- Plugin doesnt support parallel building HOT 2
- ERROR,add shortcutHint to bundleArguments. HOT 1
- system jar not added to classpath HOT 12
- What happened to version 8.9.0? HOT 1
- Failed to execute goal com.zenjava:javafx-maven-plugin:8.8.3:native (default-cli) on project hello-javafx-maven-example: An error occurred while generating native deployment bundles: Not found MSVC dlls HOT 19
- "class com/cxsj/client/AppStartup not found"when I start the app HOT 10
- How to add external reference packages? HOT 3
- how can i add custom icon to my app? HOT 2
- plugin not work in Win11 HOT 3
- runing mvn jfx: native error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javafx-maven-plugin.