0

I am new to Maven and I'm trying to convert a web project to Maven build-able. My project has a dependency on the eclipse's BIRT reporting engine 2.6. I cannot find a public repository with a satisfactory BIRT pom, which is very sad because BIRT has TONS of dependencies (see this question, and my comment under the answer for more details). Is there some way that I can create a maven project that contains all of the BIRT .jars, and at build-time will output a pom, in which I can declare as a dependency in my web project?

Community
  • 1
  • 1
Frank Henard
  • 3,638
  • 3
  • 28
  • 41

1 Answers1

2

You could create a pom similar to this one, which would list all the BIRT dependencies you need, but have the packaging as 'pom'. Then you declare a dependency on this pom and you will get those dependencies.

Paul Grime
  • 14,970
  • 4
  • 36
  • 58
  • thanks for your help with this. Would I need to `mvn install:install-file` all of the files to my local repository. Would it be better to setup a repository manager such as nexus, to install them to? – Frank Henard Nov 22 '11 at 23:01
  • You shouldn't need to. Provided your Maven settings point to a repo holding the BIRT artifacts, any build that uses a BIRT artifact should trigger a download of the BIRT artifact to your local repo. – Paul Grime Nov 25 '11 at 16:49