|
UsingWiqueryAppArchetype
The Wiquery app maven archetypeIntroductionIn order to ease the creation of WiQuery application, a maven archetype has been developed. The page presents only how to use the maven archetype for WiQuery application. The current version aims the Wiquery 1.0-m1 release. PreparationToolsTo begin this tutorial, you'll need the following components to be installed:
getting started
From SVN: svn checkout http://wiquery.googlecode.com/svn/apparchetype/ wiquery-read-only 2. go in the apparchetype directory and install the archetype in your local repository: mvn install Start a projet with the archetypemvn archetype:generate -DarchetypeCatalog=local mvn archetype:generate -DarchetypeCatalog=local You will be prompted for selecting the archetype and :
[INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking for updates from central [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Default Project [INFO] task-segment: [archetype:generate] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] Preparing archetype:generate [INFO] No goals needed for project - skipping [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] [archetype:generate] [INFO] Generating project in Interactive mode [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0) Choose archetype: 1: local -> wiqueryapp-archetype (Maven archetype for WiQueryApp) Choose a number: (1): 1 Define value for groupId: : test.wiquery Define value for artifactId: : app Define value for version: 1.0-SNAPSHOT: : Define value for package: test.wiquery: : Confirm properties configuration: groupId: test.wiquery artifactId: app version: 1.0-SNAPSHOT package: test.wiquery Y: : Y [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29 seconds [INFO] Finished at: Sat Jul 18 15:59:19 CEST 2009 [INFO] Final Memory: 8M/14M [INFO] ------------------------------------------------------------------------ or you can do it directly : mvn archetype:create -DarchetypeGroupId=org.odlabs.wiquery -DarchetypeArtifactId=wiqueryapp-archetype -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=org.odlabs -DartifactId=quickstart You can now start to develop your Wiquery app. Think to check the project/pom dependencies and starts working on the WicketApplication Java class. Enjoy!! | |
► Sign in to add a comment
Thanks for this beautiful product. Did this URL http://wiquery.googlecode.com/svn/apparchetype/ move elsewhere ? I do not see it.
Hi,
We can find it on th following link: http://code.google.com/p/wiquery-maven-archetype/