My favorites | Sign in
Project Home Wiki Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
CreateBlankProjectUsingMavenArchetype  
Updated Oct 14, 2010 by denis.ha...@gmail.com

Before we start with with blank project creation, you might consider to set up development environment.

Presuming that you have Maven installed, navigate to the workspace root directory and execute the following command.

mvn archetype:generate -DarchetypeCatalog=http://repository.jibesolutions.net/

and follow steps described bellow

  • On archetype selection step, select org.jibeframework.quickstart-archetype
  • For the value of groupId, you might enter org.jibeframework or your own domain
  • For the value of artifactId which will become the name of newly created project you might use the following convention <domain>.<name>. For example org.jibeframework.core or org.jibeframework.contentmanager
  • For the version, you can accept default value, and press enter
  • For the package, accept default value, or enter your own domain name.

Created project has the following structure

${artifactId}
   /src
     /main
        /java
        /resources
           /config
           /context
           /css
           /messages
           /scripts
           /template
           /module-context.xml
           /module.properties
    /test
    /build.xml
    /pom.xml

Folder or fileDescription
${artifactId}Project folder with project name
/src/main/javaThis is where you put your Java source files
/src/main/resources/This is where you put your resources
/src/main/resources/configThis is where you put your jibe configuration files
/src/main/resources/contextThis is where you put your spring configuration files
/src/main/resources/cssThis is where you put your stylesheet files. All css files in this directory will be merged and served on the first request
/src/main/resources/messagesThis is where you put your message bundles
/src/main/resources/scriptsThis is where you put your JavaScript files
/src/main/resources/templateThis is where you put your freemarker template files
/src/main/resources/module-context.xmlThis is spring configuration file which includes all spring config files from /config directory
/src/main/resources/module.propertiesThis is Alfresco specific module file

After the empty project is created, you can import it into Eclipse.

Powered by Google Project Hosting