Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note
titleVersion warning

The content below is for Apache Syncope <= 1.2 - for later versions the Getting Started guide is available.

Table of Contents
styledecimal

...

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

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://repo1mvn org.apache.maven.org/maven2

    to

    Code Block
    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>
    

...