问题
Now, since Birt 3.7 has an easier way to use the runtime (just deploy the jars), why is there no maven repository?
Birt contains over 50 dependencies, it's ridiculous.
How do you work around this issue?
Update:
Some more help is out there (we are not alone):
https://dev.c-ware.de/confluence/display/PUBLIC/Embeding+Birt+into+Application+built+with+Maven
Update 11. Feb. 2012
In the linked Birt-Exchange Forum there is some progress:
<repositories>
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
<dependency>
<groupId>org.eclipse.birt.runtime</groupId>
<artifactId>org.eclipse.birt.runtime</artifactId>
<version>3.7.1-SNAPSHOT</version>
</dependency>
I have't tested myself.
Update 23. Apr. 2012
Some more movement (this time on Eclipse side)
http://www.eclipse.org/forums/index.php/m/845370/
=> Looking forward to June, maybe this time.
Update 11. July 2012
Still no useful new information from the linked places
For some of you this: http://hartmann-schneevoigt.com/2012/04/04/eclipse-birt-3-7-2-with-maven/ might help. (deploys jar from eclipse to artifactory / nexus, with much less efford)
Here might be the solution:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=258911 (Scroll to bottom)
<repository>
<id>sonatype-nexus-releases</id>
<name>Sonatype Nexus Releases</name>
<url>https://oss.sonatype.org/content/repositories/releases/</url>
</repository>
Final Update
It's official here in Birt 4.2 (Find paragraph 'Maven Support')
http://www.eclipse.org/birt/phoenix/project/notable4.2.php
回答1:
http://wiki.eclipse.org/Maven_Tools_4_Eclipse might help.
There is this: maven.eclipse.org The official maven repository from eclipse, it even uses dependencies from maven central.
Now it narrows down to: Why is BIRT 3.7 not in eclipse 3.7?
回答2:
You can find another workaround here: http://hartmann-schneevoigt.com/2012/04/04/eclipse-birt-3-7-2-with-maven/
Basically, in this solution / workaround the birt
artifacts were uploaded to a local artifact proxy using maven-eclipse-plugin
and then used as normal maven dependencies, as you would do in general.
All necessary pom snippets and commands are provided, so this should be a short task.
回答3:
It looks like someone took the burden:
http://mvnrepository.com/artifact/org.ow2.orchestra.eclipse.birt
回答4:
Please note that the artifacts present in Maven Central (http://mvnrepository.com/artifact/org.ow2.orchestra.eclipse.birt) are incomplete: for example, they are missing the PDF emitter.
That means you cannot produce PDF, a serious drawback for a reporting engine, IMO.
回答5:
Below maven dependency worked for me perfectly.
<repositories>
<repository>
<id>sonatype-nexus-releases</id>
<name>Sonatype Nexus Releases</name>
<url>https://oss.sonatype.org/content/repositories/releases/</url>
</repository>
</repositories>
来源:https://stackoverflow.com/questions/7245565/why-is-there-no-maven-repository-for-eclipse-birt-3-7-there-is-one-for-birt-4