Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to use Maven Archetype "maven-gar-archetype" to generate a project

TEKPartner.netDec 10 2013

I'm following instruction listed in the YouTube video Coherence Maven Integration, and am unable to proceed with creating the Maven Project for the archetype "maven-gar-archetype".

Executing the following command -

mvn archetype:generate -DarchetypeGroupId=com.oracle.coherence -DarchetypeArtifactId=maven-gar-archetype -DarchetypeVersion=12.1.2-0-0 -DgroupId=net.tekpartner -DartifactId=adventures-cache

I get the following error:

[INFO] Scanning for projects...

[INFO]

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

[INFO] Building Maven Stub Project (No POM) 1

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

[INFO]

[INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom >>

>

[INFO]

[INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom <<

<

[INFO]

[INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom ---

[INFO] Generating project in Interactive mode

[WARNING] Archetype not found in any catalog. Falling back to central repository (http://repo1.maven.org/maven2).

[WARNING] Use -DarchetypeRepository=<your repository> if archetype's repository is elsewhere.

Downloading: http://itbuildwlsdev01:8060/artifactory/ei-repo/com/oracle/coherence/maven-gar-archetype/12.1.2-0-0/maven-gar-archetype-12.1.2-0-0.jar

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

[INFO] BUILD FAILURE

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

[INFO] Total time: 9.645s

[INFO] Finished at: Tue Dec 10 20:21:43 PST 2013

[INFO] Final Memory: 8M/19M

[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 (com.oracle.coherence:maven-gar-archetype:12.1.2-0-0) -> [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/MojoFailureException

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 7 2014
Added on Dec 10 2013
0 comments
1,513 views