Hello Geory, Jeffery

Thanks for your reply.


I go one step further successfully. But I failed to build my first app also.


the error message said

[ERROR] Failed to execute goal
org.codehaus.mojo:sql-maven-plugin:1.5:execute (create-data) on project
helloQuark:
/Users/youngho1203/Documents/GitHub/turbine-archetypes/quark/helloQuark/docs/sample-mysql-data/_application-data.sql
not found. -> [Help 1]


But I found the sample-mysql-data folder not docs directory but target/data
directory


Am I something wrong?


Thanks,


Youngho


ps : Hi Jeffery, I used your build_app script. Thanks a lot.



yeonghoui-MacBook-Air:quark youngho1203$ ls -al helloQuark/docs

total 48

drwxr-xr-x  4 youngho1203  staff    128 10 28 10:43 .

drwxr-xr-x  6 youngho1203  staff    192 10 28 10:43 ..

-rw-r--r--  1 youngho1203  staff  11025 10 28 10:43 DOCKER-README.md

-rw-r--r--  1 youngho1203  staff   8231 10 28 10:43 README.md

yeonghoui-MacBook-Air:quark youngho1203$ ls -al
helloQuark/target/data/sample-mysql-data

total 16

drwxr-xr-x  4 youngho1203  staff   128 10 28 10:43 .

drwxr-xr-x  3 youngho1203  staff    96 10 28 10:43 ..

-rw-r--r--  1 youngho1203  staff   754 10 28 10:43 _application-data.sql

-rw-r--r--  1 youngho1203  staff  1621 10 28 10:43
_turbine-security-data.sql



[INFO]

[INFO] --- sql-maven-plugin:1.5:execute (create-db) @ helloQuark ---

[INFO] Executing file:
/Users/youngho1203/Documents/GitHub/turbine-archetypes/quark/helloQuark/target/generated-sql/torque/mysql/application-schema.sql

[INFO] Executing file:
/Users/youngho1203/Documents/GitHub/turbine-archetypes/quark/helloQuark/target/generated-sql/torque/mysql/id-table-schema.sql

[INFO] Executing file:
/Users/youngho1203/Documents/GitHub/turbine-archetypes/quark/helloQuark/target/generated-sql/torque/mysql/torque-security-schema.sql

[INFO] 27 of 27 SQL statements executed successfully

[INFO]

[INFO] --- sql-maven-plugin:1.5:execute (create-data) @ helloQuark ---

[INFO]
------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 48.517 s

[INFO] Finished at: 2021-10-28T10:44:13+09:00

[INFO] Final Memory: 54M/454M

[INFO]
------------------------------------------------------------------------

[ERROR] Failed to execute goal
org.codehaus.mojo:sql-maven-plugin:1.5:execute (create-data) on project
helloQuark:
/Users/youngho1203/Documents/GitHub/turbine-archetypes/quark/helloQuark/docs/sample-mysql-data/_application-data.sql
not found. -> [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/MojoExecutionException

[INFO]
------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 01:17 min

[INFO] Finished at: 2021-10-28T10:44:14+09:00

[INFO] Final Memory: 19M/176M

[INFO]
------------------------------------------------------------------------

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-archetype-plugin:3.2.0:generate
(default-cli) on project standalone-pom: Failed to invoke goals -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-archetype-plugin:3.2.0:generate
(default-cli) on project standalone-pom: Failed to invoke goals

at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)

at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)

at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)

at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)

at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)

at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)

at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)

at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

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: Failed to invoke
goals

at
org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.invokePostArchetypeGenerationGoals(CreateProjectFromArchetypeMojo.java:254)

at
org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:231)

at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)

at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

... 20 more

[ERROR]

[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/MojoExecutionException

Reply via email to