maven

How can I include a set of jar's as a single dependency in Maven?


I'm new to Maven.

I have a Mavenized project, with separate subfolders for my source code and my JUnit tests.

My problem is that the JUnit tests need a bunch of Axis2 libraries (axis2-1.6.2/lib contains 67 .jar files).

How do I "import" these .jar's into my Maven build? Must I physically download them to our Maven repository (and possibly create Maven metadata for each .jar)?

Is there any way I can group all the Axis2 .jars together as one entry in my pom.xml, or will I need to add 67 separate <dependency> stanzas?


Solution

  • Just use the Axis2 maven artifacts: Axis2 maven repo, although I don't know which you have to specify as direct dependents.