8

Does anybody know if Adobe has a maven repository to download the latest BlazeDS artifacts from? I only can find the "older" versions of BlazeDS in the central mvn repository.

The other option is to deploy the downloaded BlazeDS jar files from the Adobe website into my local repository but it would be nice when Adobe provides the artifacts via a maven repository.

Tim
  • 109
  • 1
  • 1
  • 5

7 Answers7

6

Spring's maven external repository does not contain these artifacts anymore (licencing issue?).

You should download the desired release from adobe, unzip and jar -x the contained war file and at last you must drop all the flex* jars into your local repo with:

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

or upload each in your private maven repository (i.e. artifactory or nexus).

Note: replace the version with the one you've downloaded

thanks to pledge's post in flex forum

lrkwz
  • 6,105
  • 3
  • 36
  • 59
5

https://src.springsource.org/svn/spring-flex/tags/spring-flex-1.5.0.RELEASE/local-repo/ seems to be working.

Add this repo to your pom.xml or 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>

This repository does not include checksums, so you will need to run Maven with the --lax-checksums option if you use this repository.

Kkkev
  • 4,716
  • 5
  • 27
  • 43
srini
  • 51
  • 1
  • 1
  • 1
    This is the Spring's integration library for BlazeDS, not the BlazeDS code by Adobe. – Ben Neill Feb 27 '13 at 07:06
  • @BenNeill I thought so too, initially, but they actually packaged up the Adobe jars inside their own local repository (note the `local-repo` at the end of the URL), probably because the [BlazeDS Installation Guide](http://sourceforge.net/adobe/blazeds/wiki/BlazeDS%204.0%20Installation%20Guide/) is such a joke. – superEb Jan 31 '14 at 19:55
3

No, Adobe does not have a maven repository for BlazeDS. This thread can help. You can find BlazeDS 4 in the Spring maven repository: http://s3browse.springsource.com/browse/maven.springframework.org/external/com/adobe/blazeds/

Cornel Creanga
  • 5,311
  • 1
  • 22
  • 28
2

After lot of searching, i have figured out proper maven repository for Blazeds-4.x.x.

<repository>
<id>spring-milestones</id>
<url>http://repo.spring.io/libs-milestone/</url>

This worked for me!!!

Pradeep M
  • 871
  • 1
  • 6
  • 9
0

I was missing blazeds-opt-4.0.0.14931, since it wasn't in the spring repository that srini posted. The following nexus repository provided the jar I needed:

<repository>
  <id>NexusThirdParty</id>
  <name>Nexus third party components</name>
  <url>http://zcode.sunji.net/nexus/content/repositories/thirdparty/</url>
</repository>
Mariano
  • 1,357
  • 3
  • 17
  • 30
0

https://src.springsource.org/svn/spring-flex/tags/spring-flex-1.5.2.RELEASE/local-repo/ seems to be working.

Add this repo to your pom.xml or settings.xml :

<repository>
   <id>SpringFlex</id>
   <name>SpringFlex Source Repo</name>
   <url>https://src.springsource.org/svn/spring-flex/tags/spring-flex-1.5.2.RELEASE/local-repo/</url>
</repository>
user1553728
  • 790
  • 7
  • 6
0

Thanks Cornel. I added the following snippet to my pom.

<repositories>
   <repository>
      <id>spring-maven-external</id>
      <name>Springframework Maven External Repository</name>
      <url>http://maven.springframework.org/external</url>
   </repository>
</repositories>
Tim
  • 109
  • 1
  • 1
  • 5