Note | ||
---|---|---|
| ||
The content below is for Apache Syncope <= 1.2 - for later versions the Getting Started guide is available. |
Table of Contents | ||
---|---|---|
|
...
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:
change
Code Block http://repo1mvn org.apache.maven.org/maven2
to
in the mvn command aboveCode Block plugins:maven-archetype-plugin:2.4:generate \ -DarchetypeGroupId=org.apache.syncope \ -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repository.apache.org/content/repositories/snapshots
\ -DarchetypeVersion=1.2.11-SNAPSHOT
add the following code right before
</project>
in rootpom.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>
...