有人知道奥多比有没有maven库可以下载最新的BlazeDS工件吗?我只能在中央mvn存储库中找到BlazeDS的“旧”版本。
另一种选择是将从BlazeDS网站下载的maven jar文件部署到我的本地存储库中,但如果Adobe通过maven存储库提供工件,那就更好了。
发布于 2011-01-23 02:15:41
不,Adobe没有针对BlazeDS的maven存储库。此thread可以提供帮助。您可以在Spring maven存储库中找到BlazeDS 4:http://s3browse.springsource.com/browse/maven.springframework.org/external/com/adobe/blazeds/
发布于 2011-11-29 17:55:49
Spring的maven外部存储库不再包含这些工件(许可问题?)。
您应该从adobe下载所需的发行版,解压缩并对包含的war文件执行jar -x操作,最后必须使用以下命令将所有flex* jars文件放入本地存储库:
mvn install:install-file -Dpackaging=jar -DgroupId=com.adobe.blazeds -Dversion=4.0.0.14931 -DartifactId=blazeds-common -Dfile=flex-messaging-common.jar
mvn install:install-file -Dpackaging=jar -DgroupId=com.adobe.blazeds -Dversion=4.0.0.14931 -DartifactId=blazeds-core -Dfile=flex-messaging-core.jar
mvn install:install-file -Dpackaging=jar -DgroupId=com.adobe.blazeds -Dversion=4.0.0.14931 -DartifactId=blazeds-opt -Dfile=flex-messaging-opt.jar
mvn install:install-file -Dpackaging=jar -DgroupId=com.adobe.blazeds -Dversion=4.0.0.14931 -DartifactId=blazeds-proxy -Dfile=flex-messaging-proxy.jar
mvn install:install-file -Dpackaging=jar -DgroupId=com.adobe.blazeds -Dversion=4.0.0.14931 -DartifactId=blazeds-remoting -Dfile=flex-messaging-remoting.jar
mvn install:install-file -Dpackaging=jar -DgroupId=com.adobe.blazeds -Dversion=4.0.0.14931 -DartifactId=blazeds-rds-server -Dfile=flex-rds-server.jar或者将它们上传到您的私有maven存储库中(例如artifactory或nexus)。
备注:用您下载的版本替换
多亏了pledge的post in flex forum
发布于 2012-03-18 00:31:14
https://src.springsource.org/svn/spring-flex/tags/spring-flex-1.5.0.RELEASE/local-repo/似乎起作用了。
将此存储库添加到您的pom.xml或settings.xml:
<repository>
<id>SpringFlex</id>
<name>SpringFlex Source Repo</name>
<url>https://src.springsource.org/svn/spring-flex/tags/spring-flex-1.5.0.RELEASE/local-repo/</url>
</repository>此存储库不包括校验和,因此如果您使用此存储库,则需要使用--lax-checksums选项运行maven.
https://stackoverflow.com/questions/4769574
复制相似问题