0

I am using Eclipse Maven, and I created a Maven project. I need some JAR files. I tried to specify them as dependencies in my POM.XML file. I also searched for the dependencies in the Internet, but I wasn't able to get any Maven dependency information.

Maven dependency JARs I searched for are:

  • wink-1.4.jar maven dependency

  • commons-logging-api-1.1.3.jar

  • commons-logging-adapters-1.1.3.jar

Can you please help me find these these dependency JARs?

jamesmortensen
  • 33,636
  • 11
  • 99
  • 120
user3619128
  • 285
  • 1
  • 5
  • 12
  • possible duplicate of [Maven - How to find correct groupId/artifactId to include dependency in POM](http://stackoverflow.com/questions/3565889/maven-how-to-find-correct-groupid-artifactid-to-include-dependency-in-pom) – Joe Jun 18 '14 at 10:07

1 Answers1

1

Use site like http://search.maven.org/ or http://mvnrepository.com

<dependency>
    <groupId>org.apache.wink</groupId>
    <artifactId>wink-client</artifactId>
    <version>1.4</version>
</dependency>

All wink artifacts: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.wink%22

<dependency>
    <groupId>commons-logging</groupId>
    <artifactId>commons-logging</artifactId>
    <version>1.1.3</version>
</dependency>

Some artifact are not available, like commons-logging-api-1.1.3 in repository. Download artifact and install locally.

Sample command

mvn install:install-file -Dfile=commons-logging-api-1.1.3.jar -DgroupId=commons-logging -DartifactId=commons-logging-api -Dversion=1.1.3 -Dpackaging=jar 
Community
  • 1
  • 1
MariuszS
  • 30,646
  • 12
  • 114
  • 155
  • There's also http://findjar.com/index.x, which I used back when I still drank the Java kool-aid. :) – jamesmortensen Jun 18 '14 at 07:29
  • What is specified wink-client is only about 55KB size but i need the wink-1.4 which is 1.0MB size can please send the artifact – user3619128 Jun 18 '14 at 09:51
  • k but what i am trying to do is specify all the dependent jars in POM.XML and i would like to generate a war file and i would like to run it in tomcat in another system if i install it as locally how the other system can access it. – user3619128 Jun 18 '14 at 10:02