How to create a Geasy-* project

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (8)

View Page History
h2. What is a Geasy-\* project ?

A Geasy-\* project is a project that is based on GWT (it can be a module or an entire application) which belongs to the research results. Some of those projects are [GEasyBPMNEditor|geasybpmneditor:GEasyBPMNEditor Overview], [GEasyTools|geasytools:GEasyTools Overview] and [GEasyWebEditor|geasywebeditor:GEasyWebEditor Overview].These modules and applications may have a standalone version but some of them are also designed to integrate other modules. In order to ease this integration, a maven pom.xml have has been defined .This maven pom.xml project acts has parent for every Geasy-\* projects so that each modules and application are based on the same minimal configuration.




h3. Creating the project by your own

# Create your usual Java project structure
# Create a pom.xml file for maven configuration in the project root
# In the previous file add:
{code}
        <groupId>com.ebmwebsourcing.experimental</groupId>
        <artifactId>geasy-parent</artifactId>
        <version>1.0-SNAPSHOT</version>   
    </parent>
</parent>
{code}

h3. Generating the project using archetypes

# Go in a new folder to generate a new project by calling maven archetype plugin as following:{code}
mvn archetype:generate -DarchetypeCatalog=http://maven.petalslink.com/public-snapshot/com/ebmwebsourcing/experimental/geasyarchetypes/archetype-catalog/1.0-SNAPSHOT/archetype-catalog-1.0-SNAPSHOT.xml -DarchetypeRepository=http://maven.petalslink.com/public-snapshot
{code}
# Maven will prompt the type of project you would like to create: select the "_geasy-project-sample-archetype_" (by entering the number associated to the project type), than follow maven instructions to generate your new project skeleton
# Once the generation is complete go in the folder that should have the name of the 'groupId' you mentioned previously in your configuration and execute

{quote}
mvn install
{quote}