Here is the dependency tree of my first attempt ( helloQuery )

Thanks


Youngho


[

INFO]

[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ helloQuark ---

[INFO] com.easydesk.quark.helloQuark:helloQuark:war:1.0

[INFO] +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:compile

[INFO] |  \- jakarta.activation:jakarta.activation-api:jar:1.2.2:compile

[INFO] +- mysql:mysql-connector-java:jar:8.0.27:compile

[INFO] |  \- com.google.protobuf:protobuf-java:jar:3.11.4:compile

[INFO] +- org.apache.logging.log4j:log4j-web:jar:2.14.1:compile

[INFO] |  \- org.apache.logging.log4j:log4j-core:jar:2.14.1:compile

[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.14.1:compile

[INFO] +- javax.servlet:javax.servlet-api:jar:3.1.0:provided

[INFO] +- org.apache.turbine:turbine:jar:5.1-SNAPSHOT:compile

[INFO] |  +-
org.apache.avalon.framework:avalon-framework-api:jar:4.3.1:compile

[INFO] |  +- commons-codec:commons-codec:jar:1.15:compile

[INFO] |  +- org.apache.commons:commons-configuration2:jar:2.7:compile

[INFO] |  |  \- commons-logging:commons-logging:jar:1.2:compile

[INFO] |  +- org.apache.commons:commons-lang3:jar:3.12.0:compile

[INFO] |  +- org.apache.commons:commons-text:jar:1.9:compile

[INFO] |  +- commons-beanutils:commons-beanutils:jar:1.9.4:compile

[INFO] |  |  \- commons-collections:commons-collections:jar:3.2.2:compile

[INFO] |  +- nl.basjes.parse.useragent:yauaa:jar:5.23:compile

[INFO] |  |  +-
org.apache.httpcomponents.client5:httpclient5:jar:5.0.3:compile

[INFO] |  |  |  +-
org.apache.httpcomponents.core5:httpcore5:jar:5.0.2:compile

[INFO] |  |  |  \-
org.apache.httpcomponents.core5:httpcore5-h2:jar:5.0.2:compile

[INFO] |  |  +- org.apache.commons:commons-collections4:jar:4.4:compile

[INFO] |  |  +- nl.basjes.collections:prefixmap:jar:2.0:compile

[INFO] |  |  \- org.slf4j:slf4j-api:jar:1.7.30:compile

[INFO] |  +- org.apache.fulcrum:fulcrum-factory:jar:1.1.1:compile

[INFO] |  +- org.apache.fulcrum:fulcrum-pool:jar:1.0.5:compile

[INFO] |  +- org.apache.fulcrum:fulcrum-localization:jar:1.0.7:compile

[INFO] |  +- org.apache.fulcrum:fulcrum-parser:jar:2.0.1:compile

[INFO] |  |  \- org.apache.commons:commons-pool2:jar:2.6.2:compile

[INFO] |  +- org.apache.fulcrum:fulcrum-crypto:jar:1.0.8:compile

[INFO] |  +- org.apache.fulcrum:fulcrum-xslt:jar:1.1.1:compile

[INFO] |  +- org.apache.fulcrum:fulcrum-mimetype:jar:1.0.6:compile

[INFO] |  +- org.apache.torque:torque-runtime:jar:5.0:compile

[INFO] |  |  \- org.apache.commons:commons-jcs-core:jar:2.2.1:compile

[INFO] |  +- commons-configuration:commons-configuration:jar:1.10:compile

[INFO] |  |  \- commons-lang:commons-lang:jar:2.6:compile

[INFO] |  +- org.apache.fulcrum:fulcrum-quartz:jar:1.1.2:compile

[INFO] |  |  +- javax.xml.bind:jaxb-api:jar:2.3.1:compile

[INFO] |  |  |  \- javax.activation:javax.activation-api:jar:1.2.0:compile

[INFO] |  |  +- org.quartz-scheduler:quartz:jar:2.3.2:compile

[INFO] |  |  |  +- com.mchange:c3p0:jar:0.9.5.4:compile

[INFO] |  |  |  +- com.mchange:mchange-commons-java:jar:0.2.15:compile

[INFO] |  |  |  \- com.zaxxer:HikariCP-java7:jar:2.4.13:compile

[INFO] |  |  +- org.quartz-scheduler:quartz-jobs:jar:2.3.2:compile

[INFO] |  |  \- javax.transaction:jta:jar:1.1:runtime

[INFO] |  +- org.apache.logging.log4j:log4j-jcl:jar:2.14.1:compile

[INFO] |  +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.14.1:runtime

[INFO] |  +- org.apache.logging.log4j:log4j-1.2-api:jar:2.14.1:compile

[INFO] |  +- org.apache.velocity:velocity-engine-core:jar:2.3:compile

[INFO] |  \- com.sun.xml.bind:jaxb-impl:jar:2.3.3:runtime

[INFO] |     \- com.sun.activation:jakarta.activation:jar:1.2.2:runtime

[INFO] +- org.apache.fulcrum:fulcrum-yaafi:jar:1.0.8:compile

[INFO] |  +- commons-io:commons-io:jar:2.6:compile

[INFO] |  \-
org.apache.avalon.framework:avalon-framework-impl:jar:4.3.1:compile

[INFO] +- org.apache.fulcrum:fulcrum-intake:jar:2.0.0:compile

[INFO] +- org.apache.fulcrum:fulcrum-cache:jar:2.0.0:compile

[INFO] |  +- net.sf.ehcache:ehcache:jar:2.10.9.2:compile

[INFO] |  \- org.apache.commons:commons-jcs3-core:jar:3.0:compile

[INFO] +-
org.apache.fulcrum:fulcrum-security-memory:jar:2.1.1-SNAPSHOT:compile

[INFO] +-
org.apache.fulcrum:fulcrum-security-torque:jar:2.1.1-SNAPSHOT:compile

[INFO] |  +- commons-dbcp:commons-dbcp:jar:1.4:compile

[INFO] |  |  \- commons-pool:commons-pool:jar:1.5.4:compile

[INFO] |  \- org.apache.commons:commons-dbcp2:jar:2.9.0:compile

[INFO] +- org.apache.fulcrum:fulcrum-security-api:jar:2.1.1-SNAPSHOT:compile

[INFO] +- org.apache.fulcrum:fulcrum-json-jackson2:jar:2.0.1:compile

[INFO] |  +- org.apache.fulcrum:fulcrum-json-api:jar:2.0.1:compile

[INFO] |  +- com.fasterxml.jackson.core:jackson-core:jar:2.12.3:compile

[INFO] |  +-
com.fasterxml.jackson.core:jackson-annotations:jar:2.12.3:compile

[INFO] |  \- com.fasterxml.jackson.core:jackson-databind:jar:2.12.3:compile

[INFO] +-
com.fasterxml.jackson.datatype:jackson-datatype-json-org:jar:2.11.3:compile

[INFO] |  \- org.json:json:jar:20190722:compile

[INFO] +- junit:junit:jar:4.13.1:test

[INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test

[INFO] \- org.apache.fulcrum:fulcrum-testcontainer:jar:1.0.9:test

[INFO]    +- org.junit.jupiter:junit-jupiter:jar:5.7.0:test

[INFO]    |  +- org.junit.jupiter:junit-jupiter-api:jar:5.7.0:test

[INFO]    |  |  +- org.apiguardian:apiguardian-api:jar:1.1.0:test

[INFO]    |  |  +- org.opentest4j:opentest4j:jar:1.2.0:test

[INFO]    |  |  \- org.junit.platform:junit-platform-commons:jar:1.7.0:test

[INFO]    |  +- org.junit.jupiter:junit-jupiter-params:jar:5.7.0:test

[INFO]    |  \- org.junit.jupiter:junit-jupiter-engine:jar:5.7.0:test

[INFO]    |     \- org.junit.platform:junit-platform-engine:jar:1.7.0:test

[INFO]    \- org.mockito:mockito-core:jar:3.5.13:test

[INFO]       +- net.bytebuddy:byte-buddy:jar:1.10.15:test

[INFO]       +- net.bytebuddy:byte-buddy-agent:jar:1.10.15:test

[INFO]       \- org.objenesis:objenesis:jar:3.1:test

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

[INFO] BUILD SUCCESS

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

[INFO] Total time: 7.237 s

[INFO] Finished at: 2021-10-28T12:13:32+09:00

[INFO] Final Memory: 21M/191M

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

2021년 10월 28일 (목) 오후 12:05, 조영호 <[email protected]>님이 작성:

> 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