niken
niken

Reputation: 2611

Maven custom dependency types

Lets say I have my own java bootstrap framework written in Perl. Lets say there are different versions of it, upon which different Java projects depend.

Is there anyway to add such a thing as a dependency in maven and have be treated as a... custom dependency type?

I'm running maven from an ant build script.

(So basically just using maven for dependency management.)

Example:

javaprojectroot/

  lib/

  bin/

  perllib/

Where perllib is a special kind of dependency also managed by maven...

Upvotes: 1

Views: 1233

Answers (1)

SpaceTrucker
SpaceTrucker

Reputation: 13556

You need to install these libs in your maven repository. You can specify any type of packaging you want, for example zip or dll. Then you can reference these libs as a normal dependency. You should have a look at the documentation of the assembly-plugin, so you can create a correct package with those kinds of dependencies.

Upvotes: 1

Related Questions