facebook

Maven problems

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #317618 Reply

    Smitht19
    Member

    I have tried to scaffold a new Maven spring project on several computers and I keep getting missing jar files for maven. Please some advise if I should have to manually install these jars

    6/20/11 7:43:23 AM EDT: Missing artifact javax.faces:jsf-api:jar:1.2_04:provided
    6/20/11 7:43:23 AM EDT: Missing artifact javax.servlet:jstl:jar:1.2:provided
    6/20/11 7:43:23 AM EDT: Missing artifact javax.faces:jsf-impl:jar:1.2_04:provided
    6/20/11 7:43:23 AM EDT: Missing artifact javax.faces:jsf-api:jar:1.2_04:provided
    6/20/11 7:43:23 AM EDT: Missing artifact javax.servlet:jstl:jar:1.2:provided
    6/20/11 7:43:23 AM EDT: Missing artifact javax.faces:jsf-impl:jar:1.2_04:provided
    6/20/11 7:43:23 AM EDT: Refreshing [/Todd/pom.xml]
    6/20/11 7:43:23 AM EDT: [INFO] Installing C:\Java\Genuitec\MyEclipse for Spring 9\configuration\org.eclipse.osgi\bundles\92\1\.cp\data\2.0\lib\toplink\toplink-api.jar to C:\Documents and Settings\smitht19\.m2\repository\com\oracle\toplink\toplink\10.1.3\toplink-10.1.3.jar
    6/20/11 7:43:24 AM EDT: Maven Builder: FULL_BUILD
    6/20/11 7:43:24 AM EDT: Build errors for Todd; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project Todd: Missing:
    ———-
    1) javax.servlet:jstl:jar:1.2

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=javax.servlet -DartifactId=jstl -Dversion=1.2 -Dpackaging=jar -Dfile=/path/to/file

    Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=javax.servlet -DartifactId=jstl -Dversion=1.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

    Path to dependency:
    1) Todd:Todd:pom:pom:0.0.1-SNAPSHOT
    2) javax.servlet:jstl:jar:1.2

    2) javax.faces:jsf-impl:jar:1.2_04

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=javax.faces -DartifactId=jsf-impl -Dversion=1.2_04 -Dpackaging=jar -Dfile=/path/to/file

    Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=javax.faces -DartifactId=jsf-impl -Dversion=1.2_04 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

    Path to dependency:
    1) Todd:Todd:pom:pom:0.0.1-SNAPSHOT
    2) javax.faces:jsf-impl:jar:1.2_04

    3) javax.faces:jsf-api:jar:1.2_04

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=javax.faces -DartifactId=jsf-api -Dversion=1.2_04 -Dpackaging=jar -Dfile=/path/to/file

    Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=javax.faces -DartifactId=jsf-api -Dversion=1.2_04 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

    Path to dependency:
    1) Todd:Todd:pom:pom:0.0.1-SNAPSHOT
    2) javax.faces:jsf-api:jar:1.2_04

    ———-
    3 required artifacts are missing.

    for artifact:
    Todd:Todd:pom:0.0.1-SNAPSHOT

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
    6/20/11 7:43:24 AM EDT: Missing artifact javax.faces:jsf-api:jar:1.2_04:provided
    6/20/11 7:43:24 AM EDT: Missing artifact javax.servlet:jstl:jar:1.2:provided
    6/20/11 7:43:24 AM EDT: Missing artifact javax.faces:jsf-impl:jar:1.2_04:provided
    6/20/11 7:45:26 AM EDT: Missing artifact javax.servlet:jstl:jar:1.2:provided

    #317620 Reply

    support-joy
    Member
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Maven problems

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

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