org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (fixProperties) on project flin-web-core: An Ant BuildException has occured: C:\petprojects\system\system\trunk\flin-web-core\target\generated-sources does not exist. around Ant part ...... @ 4:42 in C:\petprojects\system\system\trunk\flin-web-core\target\antrun\build-main.xml


Solutions on the web3632

Solution icon of stackoverflow
Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (fixProperties) on project flin-web-core: An Ant BuildException has occured: C:\petprojects\system\system\trunk\flin-web-core\target\generated-sources does not exist. around Ant part ...... @ 4:42 in C:\petprojects\system\system\trunk\flin-web-core\target\antrun\build-main.xml

Solution icon of googlegroups
via Google Groups by Andy Kirkyla, 2 months ago
Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (native2ascii-utf8) on project modules: Error executing ant tasks: /home/dspace/DSpace-dspace-4.2/dspace/modules/target/antrun/build-Encode any UTF-8 chars in properties.xml (No such file or directory)

Solution icon of googlegroups
via Google Groups by Kostas Karkaletsis, 9 months ago
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on project ipf-platformcamel-core: There are test failures. Please refer to C:\Users\boaz.in\IPF IHE\ipf\platform-camel\core\target\surefire -reports for the individual test results.

Solution icon of github
Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project dianjianbao-web: Failed to clean proj ect: Failed to delete G:\dianjianbao\dianjianbao-web\target\m2e-wtp\web-resources\plug-in\icheck\square

Solution icon of stackoverflow
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.9:test (default-test) on project itextpdf: There are test failures. Please refer to C:\code4-itext\itext-code-6558-trunk\itext\target\surefire-reports for the individual test results.

Solution icon of stackoverflow
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project Core: Compilation failure

Solution icon of github
via GitHub by wodry
, 1 year ago
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project mbhd-core: There are test failures. Please refer to /multibit-hd/mbhd-core/target/surefire-reports for the individual test results.

Solution icon of github
Failed to execute goal org.teavm:teavm-maven-plugin:0.3.0-cn1-039:build-javascript (web-client) on project Main: Unexpected error occured

Solution icon of stackoverflow
via Stack Overflow by Arco
, 1 year ago
Failed to execute goal org.teavm:teavm-maven-plugin:0.3.0-cn1-039:build-javascript (web-client) on project Main: Unexpected error occured

Solution icon of googlegroups
via Google Groups by Unknown author, 3 months ago
Failed to execute goal org.teavm:teavm-maven-plugin:0.3.0-cn1-034:build-javascript (web-client) on project MyApplication: Unexpected error occured

Stack trace

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (fixProperties) on project flin-web-core: An Ant BuildException has occured: C:\petprojects\system\system\trunk\flin-web-core\target\generated-sources does not exist. around Ant part ...... @ 4:42 in C:\petprojects\system\system\trunk\flin-web-core\target\antrun\build-main.xml
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant BuildException has occured: C:\petprojects\system\system\trunk\flin-web-core\target\generated-sources does not exist. around Ant part ...... @ 4:42 in C:\petprojects\system\system\trunk\flin-web-core\target\antrun\build-main.xml
	at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:342)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	... 19 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago