Forum: PC-Programmierung Maven @ Netbeans


von Wühlhase (Gast)


Lesenswert?

Hallo allerseits

Ich will hier ein Maven-Projekt bauen und bekomme dauernd eine 
Fehlermeldung, mit der ich leider wenig anfangen kann. Das Projekt gibt 
es an sich schon fertig gebaut, leider jedoch ohne Javadoc, und die 
fehlt mir hier zunehmend. Außerdem ist das eine prima Gelegenheit, mal 
etwas über ein Tool zu lernen.

Die Fehlermeldung lautet:

Failed to execute goal 
org.codehaus.mojo:native-maven-plugin:1.0-alpha-8:javah (default-javah) 
on project FTDIInterface: Error running javah command: Error executing 
command line. Exit code:1 -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e 
switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please 
read the following articles:
[Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

After correcting the problems, you can resume the build with the command
  mvn <goals> -rf :FTDIInterface


Der Hilfelink dazu sagt nur, daß das Problem beim IDE-Plugin liegt und 
nicht bei Maven selber. Es gibt bei netbeans.org ein kurzes Tutorial zu 
Maven, allerdings wird dort nur gezeigt wie man ein neues Mavenprojekt 
anlegt.

Nun sind in der Nachricht ja noch ein paar Tips angegeben, aber wie 
setze ich die um? Wie "re-run" ich Maven denn mit -e oder -x switch (am 
Besten aus Netbeans heraus)?

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.