2011-08-30 30 views
10

現在,由於Birt 3.7有一個更簡單的方法來使用運行時(僅部署jar),爲什麼沒有Maven倉庫?爲什麼沒有Eclipse Birt的Maven倉庫3.7 => Birt 4.2有一個4.2

Birt包含超過50個依賴關係,這很荒謬。

你如何解決這個問題?

更新:
一些更多的幫助,就在那裏(我們並不孤單): https://dev.c-ware.de/confluence/display/PUBLIC/Embeding+Birt+into+Application+built+with+Maven

更新11. 2012年2月
在鏈接伯特 - 交流論壇有一些進展:

<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> 

我have't測試自己。

更新23. 2012年4月
一些更加運動(此時在Eclipse上側)
http://www.eclipse.org/forums/index.php/m/845370/
=>展望六月,也許這一次。

更新11. 2012年7月
仍鏈接的地方
對於一些你這個沒有有用的新信息:http://hartmann-schneevoigt.com/2012/04/04/eclipse-birt-3-7-2-with-maven/可能的幫助。 (從日食到artifactory的/承上啓下部署罐子,用少得多的efford)

這裏可能是解決辦法:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=258911(滾動到底)

<repository> 
    <id>sonatype-nexus-releases</id> 
    <name>Sonatype Nexus Releases</name> 
    <url>https://oss.sonatype.org/content/repositories/releases/</url> 
</repository> 

最後更新
這是官方在這裏Birt 4.2(查找段落'Maven Support') http://www.eclipse.org/birt/phoenix/project/notable4.2.php

+1

也許你可以在這裏找到一個解決辦法:http://stackoverflow.com/questions/3570512/maven-repository-for-birt-2-6-0 – sprelacart

+0

有到存儲庫的鏈接有許多日食文物,由於某種原因,只有Birt 2.6.2。沒有一點3.7 ... – user85155

+0

這裏有一些不協調的運動:http://www.eclipse.org/forums/index.php/mv/msg/261821/757516/和那裏http://www.birt-exchange .org/org/forum/index.php/topic/24196-mavenizing-birt-3-7-1/page__p__91521&#entry91521__s__6ec86cf585c0a19a34b13cfe1834eacb – user85155

回答

0

請注意,在Maven的中央存在的工件(http://mvnrepository.com/artifact/org.ow2.orchestra.eclipse.birt )不完整:例如,它們缺少PDF發射器。

這意味着您無法生成PDF,這是報告引擎IMO的一個嚴重缺陷。

1

您可以在這裏找到另一個解決辦法:http://hartmann-schneevoigt.com/2012/04/04/eclipse-birt-3-7-2-with-maven/

基本上,這個解決方案/變通方法birt文物被上傳到使用maven-eclipse-plugin本地神器代理,然後正常使用Maven依賴關係,因爲你會一般做。

提供了所有必需的pom片段和命令,因此這應該是一項短期任務。

0

下面的maven依賴關係爲我完美工作。

<repositories> 
    <repository> 
     <id>sonatype-nexus-releases</id> 
     <name>Sonatype Nexus Releases</name> 
     <url>https://oss.sonatype.org/content/repositories/releases/</url> 
    </repository> 
</repositories> 
+2

刪除了您不必要的自我推銷鏈接。 –