Archetype error in library tutorial

16 views
Skip to first unread message

henh...@gmail.com

unread,
Nov 30, 2014, 12:20:43 PM11/30/14
to sculptor...@googlegroups.com

Hello,

while working with the library tutorial I executed the command to create the project and file structure:

mvn archetype:generate -DarchetypeGroupId=org.sculptorgenerator -DarchetypeArtifactId=sculptor-archetype-standalone -DarchetypeVersion=3.0.6

But I got the error, the desired archetype does not exist. In detail I got this error:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.300s
[INFO] Finished at: Sun Nov 30 17:43:28 CET 2014
[INFO] Final Memory: 15M/156M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2
.2:generate (default-cli) on project standalone-pom: The desired archetype does
not exist (org.sculptorgenerator:sculptor-archetype-standalone:3.0.6) -> [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/MojoFailureExc
eption

Then I tried the maven command from the hello world tutorial. And this works very good.
But I'm not sure whether it creates the same project and file structure needed in the advanced tutorial.
Any help would be appreciated.

Regards,
Henry

Torsten Juergeleit

unread,
Nov 30, 2014, 3:09:20 PM11/30/14
to sculptor...@googlegroups.com
You found an outdated part of the documentation. This is fixed now.
Here is the same archetype used as in the hello world tutorial.

/Torsten

henh...@gmail.com

unread,
Nov 30, 2014, 4:59:23 PM11/30/14
to sculptor...@googlegroups.com

You are right. After update it works.
Thank you very much for the answer.

Regards,
Henry

Reply all
Reply to author
Forward
0 new messages