PDA

View Full Version : Maven usage



jettro
Dec 17th, 2008, 02:39 PM
Any plans for using maven? There are some very nice plugins? Hope the release will at least be added to a maven repository.

jeremyg484
Dec 17th, 2008, 03:06 PM
There are no plans to use Maven directly for building Spring BlazeDS Integration, but we do publish Maven artifacts for all of our releases. M1 is available in the SpringSource bundle repository:

http://s3browse.com/explore/repository.springsource.com/maven/bundles/milestone/org/springframework/flex/org.springframework.flex/1.0.0.M1/

jettro
Dec 17th, 2008, 05:05 PM
good enough, for now ... :-)

duncan
Dec 30th, 2008, 05:31 PM
What is the correct pom file entry for spring-blazeds? Here is what I am using.

<dependency>
<groupId>org.springframework.flex</groupId>
<artifactId>org.springframework.flex</artifactId>
<version>1.0.0.M1</version>
</dependency>

This does not seem to work. Maven complains that the artifact cannot be found. I know its not the repository, because the following entry for blazeds works:

<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>com.springsource.flex.messaging</artifactId>
<version>${springSourceBlazeDs}</version>
</dependency>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>com.springsource.flex.messaging.common</artifactId>
<version>${springSourceBlazeDs}</version>
</dependency>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>com.springsource.flex.messaging.services.http</artifactId>
<version>${springSourceBlazeDs}</version>
</dependency>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>com.springsource.flex.messaging.services.remoting</artifactId>
<version>${springSourceBlazeDs}</version>
</dependency>

Thanks,

Duncan

duncan
Dec 30th, 2008, 05:46 PM
In order to grab all the required files you will need the following repositories.

<repository>
<id>com.springsource.repository.bundles.release</id>
<name>SpringSource Enterprise Bundle Repository - Release Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/release</url>
</repository>
<repository>
<id>com.springsource.repository.bundles.milestone</id>
<name>SpringSource Enterprise Bundle Repository - Milestone Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/milestone</url>
</repository>
<repository>
<id>com.springsource.repository.bundles.external</id>
<name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
</repository>


DKD