You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Apache Omega <ja...@yahoo.com> on 2011/12/18 04:33:32 UTC

mvn package (build failure)

OK these are the steps I took
1)mkdir
2)mvn archetype:generate
3)groupid
4)artifactid
5)mvn compile
6)mvn package  (this is where i got the build failure and here's what
printed out on the screen)

Where did I go wrong?

C:\Program Files\apache-maven-3.0.3\my-app\jason\MavenFlexJavaApp>mvn
package
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building MavenFlexJavaApp Flex 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
MavenFlexJ
avaApp ---
[debug] execute contextualize
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- flexmojos-maven-plugin:4.1-beta:compile-swf (default-compile-swf)
@ M
avenFlexJavaApp ---
[INFO] Flexmojos 4.1-beta
[INFO]   Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[WARNING] No themes are explicitly defined in the <theme> section or in any
scop
e="theme" dependencies. Flexmojos is now attempting to figure out which
themes t
o include. (to avoid this warning you should explicitly state your theme
depende
ncies)
[WARNING] Adding spark.css theme because spark.swc was included as a
dependency
[INFO] Writing configuration dump to C:\Program
Files\apache-maven-3.0.3\my-app\
jason\MavenFlexJavaApp\target\MavenFlexJavaApp-1.0-SNAPSHOT-configs.xml
[INFO] C:\Program
Files\apache-maven-3.0.3\my-app\jason\MavenFlexJavaApp\target\
MavenFlexJavaApp-1.0-SNAPSHOT.swf (570344 bytes)
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
@ Ma
venFlexJavaApp ---
[debug] execute contextualize
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Program
Files\apache-maven-3.0.3\m
y-app\jason\MavenFlexJavaApp\src\test\resources
[INFO]
[INFO] --- flexmojos-maven-plugin:4.1-beta:test-compile
(default-test-compile) @
 MavenFlexJavaApp ---
[INFO] Flexmojos 4.1-beta
[INFO]   Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[INFO] Compiling test class: [org.JasonThomas.ShadowInnovations.TestApp]
[WARNING] No themes are explicitly defined in the <theme> section or in any
scop
e="theme" dependencies. Flexmojos is now attempting to figure out which
themes t
o include. (to avoid this warning you should explicitly state your theme
depende
ncies)
[WARNING] Adding spark.css theme because spark.swc was included as a
dependency
[INFO] Writing configuration dump to C:\Program
Files\apache-maven-3.0.3\my-app\
jason\MavenFlexJavaApp\target\test-classes\TestRunner-configs.xml
[INFO] C:\Program
Files\apache-maven-3.0.3\my-app\jason\MavenFlexJavaApp\target\
test-classes\TestRunner.swf (960078 bytes)
[INFO]
[INFO] --- flexmojos-maven-plugin:4.1-beta:test-run (default-test-run) @
MavenFl
exJavaApp ---
[INFO] Flexmojos 4.1-beta
[INFO]   Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[INFO] Running tests C:\Program
Files\apache-maven-3.0.3\my-app\jason\MavenFlexJ
avaApp\target\test-classes\TestRunner.swf
[WARNING] [LAUNCHER] Using regular flashplayer tests
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 19.588s
[INFO] Finished at: Sun Dec 18 21:20:58 CST 2011
[INFO] Final Memory: 18M/342M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.sonatype.flexmojos:flexmojos-maven-plugin:4.1
-beta:test-run (default-test-run) on project MavenFlexJavaApp: Failed to
launch
Flash Player.  Probably java was not able to find flashplayer.
[ERROR] Make sure flashplayer is available on PATH
[ERROR] or use -DflashPlayer.command=${flashplayer executable}
[ERROR] Read more at:
https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+t
ests: Cannot run program "flashplayer": CreateProcess error=2, The system
cannot
 find the file specified
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swit
ch.
[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
rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
C:\Program Files\apache-maven-3.0.3\my-app\jason\MavenFlexJavaApp>

--
View this message in context: http://maven.40175.n5.nabble.com/mvn-package-build-failure-tp5083380p5083380.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: mvn package (build failure)

Posted by Benson Margulies <bi...@gmail.com>.
On Sun, Dec 18, 2011 at 9:26 AM, Apache Omega <ja...@yahoo.com> wrote:
> how do i fix this problem

You install the application that its asking for and put it in PATH.

This is a mailing list for maven itself. You are asking a question
about flex. You should take your question to the official support
channel for it:
https://repository.sonatype.org/content/sites/maven-sites/flexmojos/3.8/mail-lists.html.
or perhaps stackoverflow.com.



>
>
> --
> View this message in context: http://maven.40175.n5.nabble.com/mvn-package-build-failure-tp5083380p5083894.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: mvn package (build failure)

Posted by Apache Omega <ja...@yahoo.com>.
how do i fix this problem


--
View this message in context: http://maven.40175.n5.nabble.com/mvn-package-build-failure-tp5083380p5083894.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: mvn package (build failure)

Posted by Benson Margulies <bi...@gmail.com>.
What part of

[ERROR] Failed to execute goal
org.sonatype.flexmojos:flexmojos-maven-plugin:4.1
-beta:test-run (default-test-run) on project MavenFlexJavaApp: Failed to
launch
Flash Player.  Probably java was not able to find flashplayer.
[ERROR] Make sure flashplayer is available on PATH

don't you get? mvn is trying to run the 'flashplayer' command  for
you, and it isn't on PATH.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org