Why wicket maven archetype isn't web?

I have a puzzle

I just figured out that when I was creating a maven project from wicket archetype the resulting project was not a web project. I tried everything I could: set the project to web module facet, add quicken nature. However the project didnt run on eclipse tomcat instance. I don't know what's happening cause a couple days before I was able to create wicket projects this way. I also tried removing ~/.m2 folder before creating maven project. After I removed it, projects where created with the web environment but when I clicked on run, it doesn't appear the run on server option. Just maven options : build, clean and so on.

I'm using:

Eclipse Linux mint Lisa Jdk1.7 Tomcat 7 M2eclipse Quicken Maven2

Any information you need just let me know.

Thanks.

-------------Problems Reply------------

Sorry for your lost time if you read my post. I'm so dumb that I should quit my career. I had installed jboss tools because I was about to use Hibernate for my project, then I changed to eclipselink jpa. So I decided to remove all jboss tools (This included, jboss maven wtp integration). Maven WTP integraiton is a drug that makes you happy. This, when creating an wicket project makes it runnable in tomcat.

Thus making it runnable to my eclipse tomcat instance. For future developers who want to setup an eclipse wicket project without knowing about maven commands (that's my case). Use this kit:

  • Eclipse
  • Tomcat
  • Maven2
  • M2e >> Eclipse maven integration
  • Maven WTP integration.

Salvation steps: (WTP+MAVEN)

  1. Go to eclipse Options. Windows> PReference
  2. Open maven tree
  3. Select Discovery
  4. Click Open Catalog Button on right side panel.
  5. m2e wtp integration.
  6. Enjoy.
Category:linux Views:0 Time:2012-01-15

Related post

  • How to make wicket's quickstart maven archetype for 1.4.9 available in Eclipse? 2010-08-06

    I'm using Eclipse 3.6 with the m2Eclipse plugin. Up until now I've been using Wicket's web based quickstart, but I just realised that m2Eclipse allows me to create Maven projects from archetypes within Eclipse. The problem is that the wicket-archetyp

  • Maven archetype:generate excessive number of choice 2010-12-12

    According to maven site, and some tutorials on the web, mvn archetype:generate would give a choice of about 36, and selection 15 is the quick start. It was working this way until I setup Nexus . Now I get a choice of 358 with default as 97 (which I a

  • What are the URLs of all the Maven Archetype catalogs that you know about? 2009-03-11

    Maven Archetypes are the "templates" by which you can quickly generate a running example of a given framework or project type. I am trying to compile a list of all the Maven archetype catalogs currently active on the net. From the Maven documentation

  • Maven archetype for integrating Struts 1 and Spring 2.5 2010-02-01

    I have a project that integrates Struts 1 with Spring. I now wish to port it under Maven 2. I have searched for the proper maven archetype but can't seem to find a proper match. Any suggestions? Thanks! --------------Solutions------------- Thanks Pas

  • Maven tool to build web application 2010-02-08

    i m using eclipse 3.2.2 as IDE. i want maven code to build and deploy my web application, which is using spring web mvc 2.0. --------------Solutions------------- I'll give you one way, the easiest way, to get started (the question is too vague to be

  • Maven archetype for simple Servlet application 2010-05-06

    Is there a Maven 2 archetype for a simple Servlet (2.5) web application? --------------Solutions------------- There is an archetype for webapp: mvn archetype:generate -DgroupId=com.acme \ -DartifactId=my-webapp \ -Dversion=1.0-SNAPSHOT \ -DarchetypeA

  • maven-archetype-webapp eclipse problem 2010-06-15

    I'm trying to create a very simple webapp with maven and eclipse, but I'm having no joy at all, in fact the reverse of joy. I go to File -> New Project, select Maven Project, and select the maven-archetype-webapp. When I finish the wizard, a webap

  • maven archetype suggestion for Java EE ear project with spring 3.x, logback etc 2010-11-23

    Below is what I am looking for. The closest archetype i found is mesir but it is not updated with latest spring 3.0.5 release so looking if there are other alternatives. MUST have ear ejb module web module with jsf 1.2 and facelets configured root sp

  • Maven archetype for liferay hook 2010-12-03

    Liferay has not provided maven archetype for hook. But they have provided eclipse plug-in to create a hook. Does any one know how to create a maven archetype for Liferay hook? And how should I build it to create a war file out of it? Regards --------

  • Maven archetype for pure serverside war-packaged Java EE 6 application? 2011-07-04

    I'm new to Maven, but are looking for a maven-based Java EE 6 project. So far, I played around with the Java EE 6 maven archetypes provided from weld and knappsack. They seem to be quite good if you want to go fullstack (jsf, ejb, cdi, jpa). In my ca

  • Eclipse Maven project to Dynamic Web Project layout 2011-09-01

    I am used to the layout provided by the Dynamic Web project in eclipse where you have all your Java code under the src folder, your JSP files, etc under the WebContent folder and the WEB-INF resides right under the WebContent folder. Also, the Output

  • Maven Archetypes & Project Structure 2011-11-04

    Maven newmbie here. Been looking over the docs at the official Maven site and am trying to understand the difference between a Maven archetype and the actual directory structure of a Maven-based project. Does an archetype dictate the project director

  • Looking for maven archetype for objectify + gwtp 2012-01-11

    Looking for the maven archetype/template for google app engine Objectify + google web toolkit Platform. ( We don't need any Spring code. ) We need a version that can work immediately to build, compile, debug locally and to upload to app engine. It ne

  • Nexus Maven Archetype repository is not updated when deploying an archetype artefact 2012-01-17

    A custom Maven Archetype, developed to generate an application template for our team, is not recognised by Nexus 1.9.2 as a valid archetype. Running command mvn clean deploy properly installs the archetype locally (i.e. it updates the local ~/.m2/arc

  • Maven 3: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate 2012-02-07

    I'm trying to test maven using mvn archetype:generate -DgroupId=org.sonatype.mavenbook -DartifactId=quickstart -Dversion=1.0-SNAPSHOT -DpackageName=org.sonatype.mavenbook -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-arch

  • MAVEN Archetype choosing 2012-04-18

    Hi i am just new to maven. My requirement is to build a ear with 2 wars and also create a jar. I tried using some archetypes but few folder structure are missing. My maven folder structure should contain src/main/ java resource webapp test/java test/

  • vaadin-maven-archetype - Why does it generate three modules? 2014-12-23

    I used the vaadin maven archetype and it generated a project with three sub modules, myproject-production myproject-ui and myproject-widgetset. I am not sure the purpose of each project. For example myproject-production myproject-ui both are war proj

  • Eclipse Maven Plugin fails to create groovy-maven-archetype project 2009-03-04

    I have installed the Maven for Eclipse plugin from Sonatype. (update site: http://m2eclipse.sonatype.org/update/) I am creating a Maven project, and choosing to use the groovy-maven-archetype as my starting point. However, halfway through, I am seein

  • Is there a ICEfaces Maven archetype for NetBeans or Eclipse? 2009-06-05

    The NetBeans IDE still seems to offer Maven Archetypes only for Apache MyFaces or the "deprecated" WoodStock JSF framework. For future development or migration of existing Woodstock projects, Sun is officially endorsing ICEfaces as the replacement te

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.170 (s). 11 q(s)