Results 1 to 3 of 3
  1. #1
    braindump is offline Member
    Join Date
    Aug 2013
    Posts
    8
    Rep Power
    0

    Default Setting up webapp as maven project with jee7 and glassfish

    Hello,

    I want to set up my first "Hello World" web application as maven project. Someone knows a good introduction?
    I have problems with creating such a project in eclipse because of archetypes and errors in projects I create.

    e.g.:Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-dependency-plugin:2.6:copy (execution: default,
    phase: validate)
    What that mean, what I have to do?

    Best regards,
    braindump

  2. #2
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,871
    Rep Power
    5

    Default Re: Setting up webapp as maven project with jee7 and glassfish

    Weird, I've never seen that error before. I've seen similar ones and it means that the plugin does not support a specific plugin setup in the POM, but I've never seen one relating to the dependency plugin. I suggest you copy paste the error "Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-dependency-plugin:2.6:copy (execution: default, phase: validate)" into Google, you're not the first one that is running into it.

    Maven is quite complex, I highly suggest you get a good book on it. The best I can offer you are my own articles on Maven:

    Java Enterprise Stuff: maven2 - a copy pastable template

    Java Enterprise Stuff: Using Maven in Eclipse

    And this is an excellent article on setting up JSF 2 on Glassfish in Eclipse:

    The BalusC Code: JSF 2.0 tutorial with Eclipse and Glassfish
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    novarse is offline Member
    Join Date
    Dec 2013
    Posts
    1
    Rep Power
    0

    Default Re: Setting up webapp as maven project with jee7 and glassfish

    Hi braindump
    Did you resolve this as I have the exact same error?

    Thanks

Similar Threads

  1. Replies: 1
    Last Post: 08-06-2013, 10:17 AM
  2. Setting up glassfish on mac
    By wdh321 in forum Java Servlet
    Replies: 1
    Last Post: 11-12-2012, 10:51 PM
  3. setting java.library.path through eclipse and maven
    By shivamfet in forum New To Java
    Replies: 0
    Last Post: 12-19-2011, 07:24 AM
  4. How to convert from Ant project to maven project?
    By jiapei100 in forum New To Java
    Replies: 0
    Last Post: 06-08-2011, 10:01 AM
  5. Setting up proxy for Maven mojo doesn't work
    By zdenek.zikan in forum Advanced Java
    Replies: 1
    Last Post: 01-12-2010, 12:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •