Starting a Web Project with Parancoe
Starting up your own project
You can start the development of a new Web application using the Parancoe Web Application archetype:
mvn archetype:create -DarchetypeGroupId=org.parancoe \ -DarchetypeArtifactId=parancoe-webarchetype \ -DarchetypeVersion=0.3.3 \ -DgroupId=com.mycompany \ -DartifactId=testApp \ -DpackageName=com.mycompany.testapp
Of course you can personalize the groupId, artifactId and package. After the execution you’ll have a complete web project with a common good layout, configured authentication and authorization, some Parancoe examples. Starting from this skeleton you can personalize it for developing your own application.
Using the project with an IDE
The Parancoe web application archetype produces a Maven 2 project. Of course you can use it with your preferred IDE.
- NetBeans: install the Mevenide2 plug-in and use the project as a native NetBeans project
- Eclipse: run
mvn eclipse:eclipseand open the project with Eclipse
- IntelliJ IDEA: run
mvn idea:ideaand open the project with IDEA
Setting up your Maven environment
The easyest way to develop a project with Parancoe is to use Maven 2 as build tool.
Parancoe artifacts are distributed through the Maven Central Repository and its mirrors. You don’t have to configure anything for using this repository.
If you are behind a proxy, check the Maven guide to using proxies to configure maven 2 with your proxy.
Posted by Lucio Benfante on Wednesday, July 25, 2007