Need help setting up dev environment

Help
2011-08-02
2012-10-10
  • Bahman Movaqar
    Bahman Movaqar
    2011-08-02

    Hi,

    I decided to checkout the source code and play with it to see if I can speed
    up the bug fixes.

    When building the project I get

    Failed to execute goal on project jasperreports-jsf: Could not resolve dependencies for project net.sf.jasperreports.jsf:jasperreports-jsf:jar:1.0-beta-4: The following artifacts could not be resolved: javax.faces:jsf-api:jar:1.2_12, javax.faces:jsf-impl:jar:1.2_12: Could not find artifact javax.faces:jsf-api:jar:1.2_12 in maven2-repository.dev.java.net ([url]http://download.java.net/maven/2)[/url]
    

    How are you folks dealing with this issue?

    --
    Bahman

     
  • That dependency is available at
    http://download.java.net/maven/1/
    instead, it's a Maven 1 legacy repository, you should configure it in the POM
    inside the "build" folder (the parent POM).

    Maven 3 will complain about using a Maven 1 legacy repository but the
    dependency will get downloaded anyway.

     
  • Forgot to mention but I assumed in the previous post that you checked out the
    "1.0-beta-4" branch from SVN. Since there were a lot of issues adressed to
    that release I was waiting to merge those changes with the trunk.