You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "yangyongzheng (JIRA)" <ji...@apache.org> on 2018/05/16 11:11:00 UTC

[jira] [Created] (SCB-587) Fix archetypes readme

yangyongzheng created SCB-587:
---------------------------------

             Summary: Fix archetypes readme
                 Key: SCB-587
                 URL: https://issues.apache.org/jira/browse/SCB-587
             Project: Apache ServiceComb
          Issue Type: Bug
          Components: Java-Chassis
    Affects Versions: java-chassis-1.0.0-m2
            Reporter: yangyongzheng
            Assignee: yangyongzheng
             Fix For: java-chassis-1.0.0-m2


In archetype readme.md,generate from SNAPSHOT repo command is :

mvn archetype:generate -DarchetypeGroupId=org.apache.servicecomb.archetypes -DarchetypeArtifactId=business-service-jaxrs-archetype -DarchetypeVersion=${archetype-version} -DarchetypeRepository=[https://repository.apache.org/content/groups/snapshots-group]

 

if version of archetype plugin  is 3.0+, archetypeRepository had deleted,[https://maven.apache.org/archetype/maven-archetype-plugin/generate-mojo.html]

We need replace it with :

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeGroupId=org.apache.servicecomb.archetypes -DarchetypeArtifactId=business-service-jaxrs-archetype -DarchetypeVersion=1.0.0-m2-SNAPSHOT -DarchetypeRepository=https://repository.apache.org/content/groups/snapshots-group

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)