[CONF] Apache Syncope > Create a new Syncope project
Title: Message Title Francesco Chicchiricco edited a page Create a new Syncope project ... 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. ... View page • Add comment • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.17
[CONF] Apache Syncope > Create a new Syncope project
Title: Message Title Francesco Chicchiricco edited a page Create a new Syncope project ... If you want to test a snapshot release, be sure to: 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 add the following code right before in root pom.xml of the generated project: Code Block ASF https://repository.apache.org/content/repositories/snapshots/ true ... View page • Add comment • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.4
[CONF] Apache Syncope > Create a new Syncope project
Title: Message Title Francesco Chicchiricco edited a page Create a new Syncope project ... Code Block mvn archetype:generate \ -DarchetypeGroupId=org.apache.syncope \ -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.2.910 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. ... View page • Add comment • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.4
[CONF] Apache Syncope > Create a new Syncope project
Title: Message Title Francesco Chicchiricco edited a page Create a new Syncope project ... Code Block mvn archetype:generate \ -DarchetypeGroupId=org.apache.syncope \ -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.2.89 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. ... View page • Add comment • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.4
[CONF] Apache Syncope > Create a new Syncope project
Title: Message Title Francesco Chicchiricco edited a page Create a new Syncope project Note title Version warning This page contains instructions for Apache Syncope 1.2; if you re looking for 2.0 please visit the getting started guide. Table of Contents style decimal ... View page • Add comment • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.4
[CONF] Apache Syncope > Create a new Syncope project
Title: Message Title Francesco Chicchiricco edited a page Create a new Syncope project ... Code Block mvn archetype:generate \ -DarchetypeGroupId=org.apache.syncope \ -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.2.67 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. ... View page • Add comment • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.4
[CONF] Apache Syncope Create a new Syncope project
Francesco Chicchiricco edited the page: Create a new Syncope project ... Code Block mvn archetype:generate \ -DarchetypeGroupId=org.apache.syncope \ -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.1.67 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. ... View Online Like View Changes Stop watching space Manage Notifications This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software
[CONF] Apache Syncope Create a new Syncope project
Francesco Chicchiricco edited the page: Create a new Syncope project Table of Contents style decimal Introduction This document describes how to create a new Syncope project. A Syncope project includes (at least) two web applications: the core and the console. This page helps you get both web applications up and running with your own project as quickly as possible. ... Maven archetypes are templates of projects. Maven can generate a new project from such a template. For a project using Syncope, you need the website archetype. In the folder in which the new project folder should be created, type the command shown below. On Windows, run the command on a single line and leave out the line continuation characters ('\'). Code Block mvn archetype:generate \ -DarchetypeGroupId=org.apache.syncope \ -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.1.56 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. ... Warning
[CONF] Apache Syncope Create a new Syncope project
Create a new Syncope project Page edited by Fabio Martelli Changes (2) ... {warning:title=Bugs in Apache Syncope 1.1.5} A bug ([SYNCOPE-452|https://issues.apache.org/jira/browse/SYNCOPE-452]) have has been found in Apache Syncope 1.1.5. If you are running 1.1.5, remove the file the file overlay home/core/src/test/resources/rest.properties {{core/src/test/resources/rest.properties}} before starting the embedded evironment. {warning} ... Full Content Introduction Prerequisites Create new project Stable releases Snapshot (development) releases Build new project Where to go from here? Introduction This document describes how to create a new Syncope project. A Syncope project includes (at least) two web applications: the core and the console. This page helps you get both web applications up and running with your own project as quickly as possible. Prerequisites The preferred way to create a Syncope project is to generate a Maven project starting from published archetype. Hence you need: Java SE Development Kit 6 (version 1.6.0-23 or higher) installed; Apache Maven (version 3.0.3 or higher) installed; Some basic knowledge about Maven; Some basic knowledge about Maven WAR overlays; Some basic knowledge about Maven archetypes. Create new project Maven archetypes are templates of projects. Maven can generate a new project from such a template. For a project using Syncope, you need the website archetype. In the folder in which the new project folder should be created, type the command shown below. On Windows, run the command on a single line and leave out the line continuation characters ('\'). mvn archetype:generate \ -DarchetypeGroupId=org.apache.syncope \ -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.1.5 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. You will be asked for: the groupId something like 'com.mycompany' the artifactId something like 'myproject' the version number You can use the default; it is good practice to have 'SNAPSHOT' in the version number during development and the maven release plugin makes use of that string. But ensure to comply to the desired numbering scheme for your project. the package name The java package name. A folder structure according to this name will be generated automatically; by default, equal to the groupId (for archetypeVersion = 1.0.5), the secretKey Provide any pseudo-random, 16 character length, string here that will be used in the generated project for AES ciphering. Maven will create a project for you (in a newly created directory named after the value of the artifactId property you specified) containing two subprojects: core - a pre-configured RESTful server, with JPA persistence console - a web interface for dealing with the core Stable releases Take a look at available releases of the archetype project at central Maven repository, then change the archetypeVersion in the mvn command above accordingly. Bugs in Apache Syncope 1.1.5A bug (SYNCOPE-452) has been found in Apache Syncope 1.1.5. If you are running 1.1.5, remove the file core/src/test/resources/rest.properties before starting the embedded evironment. Bugs in Apache Syncope 1.1.0A couple of bugs (SYNCOPE-352, SYNCOPE-356) have been found in Apache Syncope 1.1.0, already fixed for release versions = 1.1.1. Upgrade to 1.1.1 is strongly suggested. If you are running 1.1.0, download this class and save it under core/src/main/java/org/apache/syncope/core/init/ (create intermediate directories if needed) download this class and save it under console/src/main/java/org/apache/syncope/console/pages/panels/ (create intermediate directories if needed) Snapshot (development) releases As development go on, snapshot releases are published at ASF repository. If you want to test a snapshot release, be sure to: change http://repo1.maven.org/maven2 to http://repository.apache.org/content/repositories/snapshots in the mvn command above add the following code right before /project in root pom.xml of the generated project: repositories repository idASF/id urlhttps://repository.apache.org/content/repositories/snapshots//url snapshots enabledtrue/enabled /snapshots /repository /repositories Build new project Now build your project using the following command in the root folder of your project: mvn clean package This will produce two WAR files:
[CONF] Apache Syncope Create a new Syncope project
Create a new Syncope project Page edited by Fabio Martelli Changes (1) ... A bug ([SYNCOPE-452|https://issues.apache.org/jira/browse/SYNCOPE-452]) has been found in Apache Syncope 1.1.5. If you are running 1.1.5, remove the file {{core/src/test/resources/rest.properties}} before starting the embedded environment. {warning} ... Full Content Introduction Prerequisites Create new project Stable releases Snapshot (development) releases Build new project Where to go from here? Introduction This document describes how to create a new Syncope project. A Syncope project includes (at least) two web applications: the core and the console. This page helps you get both web applications up and running with your own project as quickly as possible. Prerequisites The preferred way to create a Syncope project is to generate a Maven project starting from published archetype. Hence you need: Java SE Development Kit 6 (version 1.6.0-23 or higher) installed; Apache Maven (version 3.0.3 or higher) installed; Some basic knowledge about Maven; Some basic knowledge about Maven WAR overlays; Some basic knowledge about Maven archetypes. Create new project Maven archetypes are templates of projects. Maven can generate a new project from such a template. For a project using Syncope, you need the website archetype. In the folder in which the new project folder should be created, type the command shown below. On Windows, run the command on a single line and leave out the line continuation characters ('\'). mvn archetype:generate \ -DarchetypeGroupId=org.apache.syncope \ -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.1.5 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. You will be asked for: the groupId something like 'com.mycompany' the artifactId something like 'myproject' the version number You can use the default; it is good practice to have 'SNAPSHOT' in the version number during development and the maven release plugin makes use of that string. But ensure to comply to the desired numbering scheme for your project. the package name The java package name. A folder structure according to this name will be generated automatically; by default, equal to the groupId (for archetypeVersion = 1.0.5), the secretKey Provide any pseudo-random, 16 character length, string here that will be used in the generated project for AES ciphering. Maven will create a project for you (in a newly created directory named after the value of the artifactId property you specified) containing two subprojects: core - a pre-configured RESTful server, with JPA persistence console - a web interface for dealing with the core Stable releases Take a look at available releases of the archetype project at central Maven repository, then change the archetypeVersion in the mvn command above accordingly. Bugs in Apache Syncope 1.1.5A bug (SYNCOPE-452) has been found in Apache Syncope 1.1.5. If you are running 1.1.5, remove the file core/src/test/resources/rest.properties before starting the embedded environment. Bugs in Apache Syncope 1.1.0A couple of bugs (SYNCOPE-352, SYNCOPE-356) have been found in Apache Syncope 1.1.0, already fixed for release versions = 1.1.1. Upgrade to 1.1.1 is strongly suggested. If you are running 1.1.0, download this class and save it under core/src/main/java/org/apache/syncope/core/init/ (create intermediate directories if needed) download this class and save it under console/src/main/java/org/apache/syncope/console/pages/panels/ (create intermediate directories if needed) Snapshot (development) releases As development go on, snapshot releases are published at ASF repository. If you want to test a snapshot release, be sure to: change http://repo1.maven.org/maven2 to http://repository.apache.org/content/repositories/snapshots in the mvn command above add the following code right before /project in root pom.xml of the generated project: repositories repository idASF/id urlhttps://repository.apache.org/content/repositories/snapshots//url snapshots enabledtrue/enabled /snapshots /repository /repositories Build new project Now build your project using the following command in the root folder of your project: mvn clean package This will produce two WAR files: core/target/syncope.war console/target/syncope-console.war Where to go from here? Once you have create your project and verified that build went
[CONF] Apache Syncope Create a new Syncope project
Create a new Syncope project Page edited by Francesco Chicchiricco Changes (1) ... -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.1.34 {code} ... Full Content Introduction Prerequisites Create new project Stable releases Snapshot (development) releases Build new project Where to go from here? Introduction This document describes how to create a new Syncope project. A Syncope project includes (at least) two web applications: the core and the console. This page helps you get both web applications up and running with your own project as quickly as possible. Prerequisites The preferred way to create a Syncope project is to generate a Maven project starting from published archetype. Hence you need: Java SE Development Kit 6 (version 1.6.0-23 or higher) installed; Apache Maven (version 3.0.3 or higher) installed; Some basic knowledge about Maven; Some basic knowledge about Maven WAR overlays; Some basic knowledge about Maven archetypes. Create new project Maven archetypes are templates of projects. Maven can generate a new project from such a template. For a project using Syncope, you need the website archetype. In the folder in which the new project folder should be created, type the command shown below. On Windows, run the command on a single line and leave out the line continuation characters ('\'). mvn archetype:generate \ -DarchetypeGroupId=org.apache.syncope \ -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.1.4 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. You will be asked for: the groupId something like 'com.mycompany' the artifactId something like 'myproject' the version number You can use the default; it is good practice to have 'SNAPSHOT' in the version number during development and the maven release plugin makes use of that string. But ensure to comply to the desired numbering scheme for your project. the package name The java package name. A folder structure according to this name will be generated automatically; by default, equal to the groupId (for archetypeVersion = 1.0.5), the secretKey Provide any pseudo-random, 16 character length, string here that will be used in the generated project for AES ciphering. Maven will create a project for you (in a newly created directory named after the value of the artifactId property you specified) containing two subprojects: core - a pre-configured RESTful server, with JPA persistence console - a web interface for dealing with the core Stable releases Take a look at available releases of the archetype project at central Maven repository, then change the archetypeVersion in the mvn command above accordingly. Bugs in Apache Syncope 1.1.0A couple of bugs (SYNCOPE-352, SYNCOPE-356) have been found in Apache Syncope 1.1.0, already fixed for release versions = 1.1.1. Upgrade to 1.1.1 is strongly suggested. If you are running 1.1.0, download this class and save it under core/src/main/java/org/apache/syncope/core/init/ (create intermediate directories if needed) download this class and save it under console/src/main/java/org/apache/syncope/console/pages/panels/ (create intermediate directories if needed) Snapshot (development) releases As development go on, snapshot releases are published at ASF repository. If you want to test a snapshot release, be sure to: change http://repo1.maven.org/maven2 to http://repository.apache.org/content/repositories/snapshots in the mvn command above add the following code right before /project in root pom.xml of the generated project: repositories repository idASF/id urlhttps://repository.apache.org/content/repositories/snapshots//url snapshots enabledtrue/enabled /snapshots /repository /repositories Build new project Now build your project using the following command in the root folder of your project: mvn clean package This will produce two WAR files: core/target/syncope.war console/target/syncope-console.war Where to go from here? Once you have create your project and verified that build went fine, you can now see how to run an embedded demo or deploy to a real environment. Stop watching space | Change email notification preferences View Online | View Changes
[CONF] Apache Syncope Create a new Syncope project
Create a new Syncope project Comment removed by Francesco Chicchiricco Miladziveh maybe you don't understand that, for this question, you have to use the mailing list (u...@syncope.apache.org). However, the standalone url is http://localhost:9080/syncope-console (admin/password). Stop watching space | Change email notification preferences
[CONF] Apache Syncope Create a new Syncope project
Create a new Syncope project Page comment added by Francesco Chicchiricco The page you are looking for is this one. As suggested, please use the user mailing list for asking questions: subscribe by sending an empty e-mail to user-subscr...@syncope.apache.org then follow instructions and finally send your questions to u...@syncope.apache.org These comments are going to be removed, now. In reply to a comment by miladziveh: In step 1 , I unziped Apache Syncope standalone and started Apache Tomcat that was within the folder ( windows : bin/startup.bat ) the Tomcat started with a message like: server started in XX milliseconds the problem is I do not know what to do to see Apache Syncope's first page in my browser. would you please help me through the next steps? even some basic instructions would help me. I Tried http://localhost:any recommended ports i've found but i still can't see syncope's first page. thanks guys Stop watching space | Change email notification preferences View Online | Reply To This
[CONF] Apache Syncope Create a new Syncope project
Create a new Syncope project Comment edited by miladziveh : Changes (3) Hi ! \! I cant create new project ... please help me ! \! Full Content Hi I can't create new project ... please help me Stop watching space | Change email notification preferences View Online | Reply To This
[CONF] Apache Syncope Create a new Syncope project
Create a new Syncope project Comment removed by Massimiliano Perrone ok TnQ Stop watching space | Change email notification preferences
[CONF] Apache Syncope Create a new Syncope project
Create a new Syncope project Comment removed by Massimiliano Perrone Hi I can't create new project ... please help me Stop watching space | Change email notification preferences
[CONF] Apache Syncope Create a new Syncope project
Create a new Syncope project Page edited by Marco Di Sabatino Di Diodoro Changes (1) ... -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.1.12 {code} ... Full Content Introduction Prerequisites Create new project Stable releases Snapshot (development) releases Build new project Where to go from here? Introduction This document describes how to create a new Syncope project. A Syncope project includes (at least) two web applications: the core and the console. This page helps you get both web applications up and running with your own project as quickly as possible. Prerequisites The preferred way to create a Syncope project is to generate a Maven project starting from published archetype. Hence you need: Java SE Development Kit 6 (version 1.6.0-23 or higher) installed; Apache Maven (version 3.0.3 or higher) installed; Some basic knowledge about Maven; Some basic knowledge about Maven WAR overlays; Some basic knowledge about Maven archetypes. Create new project Maven archetypes are templates of projects. Maven can generate a new project from such a template. For a project using Syncope, you need the website archetype. In the folder in which the new project folder should be created, type the command shown below. On Windows, run the command on a single line and leave out the line continuation characters ('\'). mvn archetype:generate \ -DarchetypeGroupId=org.apache.syncope \ -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.1.2 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. You will be asked for: the groupId something like 'com.mycompany' the artifactId something like 'myproject' the version number You can use the default; it is good practice to have 'SNAPSHOT' in the version number during development and the maven release plugin makes use of that string. But ensure to comply to the desired numbering scheme for your project. the package name The java package name. A folder structure according to this name will be generated automatically; by default, equal to the groupId (for archetypeVersion = 1.0.5), the secretKey Provide any pseudo-random, 16 character length, string here that will be used in the generated project for AES ciphering. Maven will create a project for you (in a newly created directory named after the value of the artifactId property you specified) containing two subprojects: core - a pre-configured RESTful server, with JPA persistence console - a web interface for dealing with the core Stable releases Take a look at available releases of the archetype project at central Maven repository, then change the archetypeVersion in the mvn command above accordingly. Bugs in Apache Syncope 1.1.0A couple of bugs (SYNCOPE-352, SYNCOPE-356) have been found in Apache Syncope 1.1.0, already fixed for release versions = 1.1.1. Upgrade to 1.1.1 is strongly suggested. If you are running 1.1.0, download this class and save it under core/src/main/java/org/apache/syncope/core/init/ (create intermediate directories if needed) download this class and save it under console/src/main/java/org/apache/syncope/console/pages/panels/ (create intermediate directories if needed) Snapshot (development) releases As development go on, snapshot releases are published at ASF repository. If you want to test a snapshot release, be sure to: change http://repo1.maven.org/maven2 to http://repository.apache.org/content/repositories/snapshots in the mvn command above add the following code right before /project in root pom.xml of the generated project: repositories repository idASF/id urlhttps://repository.apache.org/content/repositories/snapshots//url snapshots enabledtrue/enabled /snapshots /repository /repositories Build new project Now build your project using the following command in the root folder of your project: mvn clean package This will produce two WAR files: core/target/syncope.war console/target/syncope-console.war Where to go from here? Once you have create your project and verified that build went fine, you can now see how to run an embedded demo or deploy to a real environment. Change Notification Preferences View Online | View Changes | Add Comment
[CONF] Apache Syncope Create a new Syncope project
Create a new Syncope project Page edited by Francesco Chicchiricco Changes (4) ... -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.1.01 {code} ... {warning:title=Bugs in Apache Syncope 1.1.0} A couple of bugs ([SYNCOPE-352|https://issues.apache.org/jira/browse/SYNCOPE-352], [SYNCOPE-356|https://issues.apache.org/jira/browse/SYNCOPE-356]) have been found in Apache Syncope 1.1.0, already fixed for release versions = 1.1.1. If you are running 1.1.0, * download [this class|http://svn.apache.org/viewvc/syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/init/ConnectorManager.java?revision=1466042view=copathrev=1466042] and save it under {{core/src/main/java/org/apache/syncope/core/init/}} (create intermediate directories if needed) * download [this class|http://svn.apache.org/viewvc/syncope/branches/1_1_X/console/src/main/java/org/apache/syncope/console/pages/panels/ResourcesPanel.java?view=copathrev=1467915] and save it under {{console/src/main/java/org/apache/syncope/console/pages/panels/}} (create intermediate directories if needed) [Upgrade to 1.1.1|SYNCOPE:Upgrade from 1.1.0 to 1.1.1] is strongly suggested. If you are running 1.1.0, * download [this class|http://svn.apache.org/viewvc/syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/init/ConnectorManager.java?revision=1466042view=copathrev=1466042] and save it under {{core/src/main/java/org/apache/syncope/core/init/}} (create intermediate directories if needed) * download [this class|http://svn.apache.org/viewvc/syncope/branches/1_1_X/console/src/main/java/org/apache/syncope/console/pages/panels/ResourcesPanel.java?view=copathrev=1467915] and save it under {{console/src/main/java/org/apache/syncope/console/pages/panels/}} (create intermediate directories if needed) {warning} ... Full Content Introduction Prerequisites Create new project Stable releases Snapshot (development) releases Build new project Where to go from here? Introduction This document describes how to create a new Syncope project. A Syncope project includes (at least) two web applications: the core and the console. This page helps you get both web applications up and running with your own project as quickly as possible. Prerequisites The preferred way to create a Syncope project is to generate a Maven project starting from published archetype. Hence you need: Java SE Development Kit 6 (version 1.6.0-23 or higher) installed; Apache Maven (version 3.0.3 or higher) installed; Some basic knowledge about Maven; Some basic knowledge about Maven WAR overlays; Some basic knowledge about Maven archetypes. Create new project Maven archetypes are templates of projects. Maven can generate a new project from such a template. For a project using Syncope, you need the website archetype. In the folder in which the new project folder should be created, type the command shown below. On Windows, run the command on a single line and leave out the line continuation characters ('\'). mvn archetype:generate \ -DarchetypeGroupId=org.apache.syncope \ -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.1.1 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. You will be asked for: the groupId something like 'com.mycompany' the artifactId something like 'myproject' the version number You can use the default; it is good practice to have 'SNAPSHOT' in the version number during development and the maven release plugin makes use of that string. But ensure to comply to the desired numbering scheme for your project. the package name The java package name. A folder structure according to this name will be generated automatically; by default, equal to the groupId (for archetypeVersion = 1.0.5), the secretKey Provide any pseudo-random, 16 character length, string here that will be used in the generated project for AES ciphering. Maven will create a project for you (in a newly created directory named after the value of the artifactId property you specified) containing two subprojects: core - a pre-configured RESTful server, with JPA persistence console - a web interface for dealing with the core Stable releases Take a look at available releases of the archetype project at central Maven repository, then change the archetypeVersion in the mvn command above accordingly. Bugs
[CONF] Apache Syncope Create a new Syncope project
Create a new Syncope project Page edited by Fabio Martelli Changes (1) ... -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.0.45 {code} ... Full Content Introduction Prerequisites Create new project Stable releases Snapshot (development) releases Build new project Where to go from here? Introduction This document describes how to create a new Syncope project. A Syncope project includes (at least) two web applications: the core and the console. This page helps you get both web applications up and running with your own project as quickly as possible. Prerequisites The preferred way to create a Syncope project is to generate a Maven project starting from published archetype. Hence you need: Apache Maven (version 3.0.3 or higher) installed; Some basic knowledge about Maven; Some basic knowledge about Maven WAR overlays; Some basic knowledge about Maven archetypes. Create new project Maven archetypes are templates of projects. Maven can generate a new project from such a template. For a project using Syncope, you need the website archetype. In the folder in which the new project folder should be created, type the command shown below. On Windows, run the command on a single line and leave out the line continuation characters ('\'). mvn archetype:generate \ -DarchetypeGroupId=org.apache.syncope \ -DarchetypeArtifactId=syncope-archetype \ -DarchetypeRepository=http://repo1.maven.org/maven2 \ -DarchetypeVersion=1.0.5 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. You will be asked for: the groupId something like 'com.mycompany' the artifactId something like 'myproject' the version number You can use the default; it is good practice to have 'SNAPSHOT' in the version number during development and the maven release plugin makes use of that string. But ensure to comply to the desired numbering scheme for your project. the package name The java package name. A folder structure according to this name will be generated automatically; by default, equal to the groupId (for archetypeVersion = 1.0.5), the secretKey Provide any pseudo-random, 16 character length, string here that will be used in the generated project for AES ciphering. Maven will create a project for you (in a newly created directory named after the value of the artifactId property you specified) containing two subprojects: core - a pre-configured RESTful server, with JPA persistence console - a web interface for dealing with the core Stable releases Take a look at available releases of the archetype project at central Maven repository, then change the archetypeVersion in the mvn command above accordingly. Snapshot (development) releases As development go on, snapshot releases are published at ASF repository. If you want to test a snapshot release, be sure to: change http://repo1.maven.org/maven2 to http://repository.apache.org/content/repositories/snapshots in the mvn command above add the following code right before /project in root pom.xml of the generated project: repositories repository idASF/id urlhttps://repository.apache.org/content/repositories/snapshots//url snapshots enabledtrue/enabled /snapshots /repository /repositories Build new project Now build your project using the following command in the root folder of your project: mvn clean package This will produce two WAR files: core/target/syncope.war console/target/syncope-console.war Where to go from here? Once you have create your project and verified that build went fine, you can now see how to run an embedded demo or deploy to a real environment. Change Notification Preferences View Online | View Changes | Add Comment