Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
mvn archetype:generate \
    -DarchetypeGroupId=org.apache.syncope \
    -DarchetypeArtifactId=syncope-archetype \
    -DarchetypeRepository=http://repo1.maven.org/maven2 \
    -DarchetypeVersion=1.2.1011

The archetype is configured with default values for all properties required by the archetype. If you want to customize any of these property values, type 'n' when prompted for confirmation.

...

If you want to test a snapshot release, be sure to:

  1. change

    Code Block
    http://repo1.maven.org/maven2

    to

    Code Block
    mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate \
        -DarchetypeGroupId=org.apache.syncope \
        -DarchetypeArtifactId=syncope-archetype \
        -DarchetypeRepository=http://repository.apache.org/content/repositories/snapshots
    in the mvn command above
     \
        -DarchetypeVersion=1.2.11-SNAPSHOT
  2. add the following code right before </project> in root pom.xml of the generated project:

    Code Block
      <repositories>
        <repository>
          <id>ASF</id>
          <url>https://repository.apache.org/content/repositories/snapshots/</url>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </repository>
      </repositories>
    

...