facebook

cannot create simple web project with maven4eclipse

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #313556 Reply

    miguelq
    Member

    Hi Support,

    I have MyEclipse 8.6.1.
    I cannot create a simple web app project using maven4eclipse.
    steps:
    using maven 3.0
    manually create maven project:
    C:\Workspaces\MyEclipse 8.6\webapptest1>mvn archetype:create -DgroupId=migweb
    -DartifactId=webapptest1 -DarchetypeArtifactId=maven-archetype-webapp

    then import project by importing POM.

    I get this error below. There are other ways of reproducing this. I am not renewing my subscription until this works.

    Could not calculate build plan
    Plugin org.apache.maven.plugins:maven-war-plugin:2.1-alpha-1 or one of its dependencies could not be resolved: Missing:
    ———-
    1) org.apache.maven.plugins:maven-war-plugin:maven-plugin:2.1-alpha-1

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-war-plugin -Dversion=2.1-alpha-1 -Dpackaging=maven-plugin -Dfile=/path/to/file

    Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-war-plugin -Dversion=2.1-alpha-1 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

    ———-
    1 required artifact is missing.

    for artifact:
    org.apache.maven.plugins:maven-war-plugin:maven-plugin:2.1-alpha-1

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2, releases=true, snapshots=false)

Viewing 1 post (of 1 total)
Reply To: cannot create simple web project with maven4eclipse

You must be logged in to post in the forum log in