8 Comments

  1. Eloise Carey
    November 12, 2008 @ 6:49 pm

    taddwmejezzs7jsk

    Reply

  2. Radhi
    February 3, 2011 @ 2:50 pm

    I have one problem,

    I have followed the steps as above
    But when I am trying to install maven ..the below error came
    Downloading: http://maven.springframework.org/milestone/com/cisco/social/socialsignonframework/1.0/socialsignonframework-1.0.jar
    [INFO] Unable to find resource ‘com.cisco.social:socialsignonframework:jar:1.0’ in repository org.springframework.maven.milestone (http://maven.springframework.org/milestone)
    Downloading: http://mrepo.happyfern.com/maven2-snapshot//com/cisco/social/socialsignonframework/1.0/socialsignonframework-1.0.jar
    [INFO] Unable to find resource ‘com.cisco.social:socialsignonframework:jar:1.0’ in repository mrepo-happyfern-snapshot (http://mrepo.happyfern.com/maven2-snapshot/)
    Downloading: http://repo1.maven.org/maven2/com/cisco/social/socialsignonframework/1.0/socialsignonframework-1.0.jar
    [INFO] Unable to find resource ‘com.cisco.social:socialsignonframework:jar:1.0’ in repository central (http://repo1.maven.org/maven2)
    [INFO] ————————————————————————
    [ERROR] BUILD ERROR
    [INFO] ————————————————————————
    [INFO] Failed to resolve artifact.

    Missing:

    Since my custom jar file is not available in maven repository Its giving error
    Any help is appreciated

    Reply

  3. Marjan
    August 12, 2011 @ 2:30 am

    Maven is useful when you are setting up project and it stops right there

    For two days I am trying to convince maven to automate project deployment so I could simply run excutable jar. I cannot, because it cannot find external JARs because they are not there.

    I hate using external tools that use external tools that use external tools that use external tools to build one simple f…ing project with maven.

    Reply

  4. Tejas
    November 30, 2011 @ 1:45 am

    Hey buddies,

    Maven is quite powerful if you have a lots of libraries.
    It;s not only about the library, but the other powerful features to customize the build process to a great extent.

    In case when this error comes “Failed to resolve artifact.” Please see that you may have to add a repository in your pom.xml; or as an option, manually install the jar files into the local maven repository as per the article.

    Or you can still be with managing libraries, the old school way, add library and manage them in a directory lol ! Actually, if you are doing a small project like assignment or something, maven is not suitable for the environment.

    Reply

  5. Basil
    February 18, 2012 @ 2:31 pm

    If the amount of external jar files is large, it may be painful to install each of them to the repository manually.
    The addjars-maven-plugin can handle this problem: it automatically installs the jar files to local repository and adds the corresponding artifacts to the list of dependencies. Refer to http://code.google.com/p/addjars-maven-plugin for more information

    Reply

  6. Define Dependencies in POM XML | PHP Developer Resource
    May 28, 2012 @ 2:21 pm

    […] this article on how to add jars to the local repository and set up the dependencies for the project. Note that […]

    Reply

  7. Oscar
    December 19, 2012 @ 3:22 am

    Might be nice if the tags showed up in the code examples… (FF 16.0.2 on Vista).

    Reply

  8. Lalit
    January 22, 2013 @ 6:39 am

    Check out the blog post the create in-project Maven repository for the Jar files which does not have online maven repositories.

    http://automatethebox.blogspot.com/2013/01/how-to-create-maven-in-project.html

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

I accept that my given data and my IP address is sent to a server in the USA only for the purpose of spam prevention through the Akismet program.More information on Akismet and GDPR.

This site uses Akismet to reduce spam. Learn how your comment data is processed.