spodxx
Jun 11th, 2009, 03:51 AM
After changing into the testdrive directory and running 'mvn install' I'm getting the following errors:
[INFO] ------------------------------------------------------------------------
[INFO] Building Spring BlazeDS Integration Test Drive Web Application
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://repository.sonatype.org/content/groups/public/org/springframework/flex/spring-flex/1.0.0.RELEASE/spring-flex-1.0.0.RELEASE.pom
Downloading: http://maven.ow2.org/maven2//org/springframework/flex/spring-flex/1.0.0.RELEASE/spring-flex-1.0.0.RELEASE.pom
Downloading: http://repo1.maven.org/maven2/org/springframework/flex/spring-flex/1.0.0.RELEASE/spring-flex-1.0.0.RELEASE.pom
Downloading: http://repository.sonatype.org/content/groups/public/org/springframework/flex/spring-flex/1.0.0.RELEASE/spring-flex-1.0.0.RELEASE.jar
Downloading: http://maven.ow2.org/maven2//org/springframework/flex/spring-flex/1.0.0.RELEASE/spring-flex-1.0.0.RELEASE.jar
Downloading: http://repo1.maven.org/maven2/org/springframework/flex/spring-flex/1.0.0.RELEASE/spring-flex-1.0.0.RELEASE.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.springframework.flex:spring-flex:jar:1.0.0.RELEASE
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.springframework.flex -DartifactId=spring-flex -Dversion=1.0.0.RELEASE -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.springframework.flex -DartifactId=spring-flex -Dversion=1.0.0.RELEASE -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.springframework.flex.samples:testdrive:war:1.0 .0.RELEASE
2) org.springframework.flex:spring-flex:jar:1.0.0.RELEASE
----------
1 required artifact is missing.
for artifact:
org.springframework.flex.samples:testdrive:war:1.0 .0.RELEASE
from the specified remote repositories:
flex-mojos-repository (http://repository.sonatype.org/content/groups/public),
central (http://repo1.maven.org/maven2),
ObjectWEB (http://maven.ow2.org/maven2/)
Following these instructions I manually installed the org.springframework.flex.jar file from the dist directory, but ran into another compile error afterwards about some unresolvable blazeds classes.
So I decided to build the main project hoping that maven would pull in all blazeds dependencies. In the directory
spring-flex-1.0.0.RELEASE/projects/org.springframework.flex
I ran 'maven install' and got tons of errors about 1.3 source compliance and annotations, e.g.:
/home/spod/frameworks/spring-flex-1.0.0.RELEASE/projects/org.springframework.flex/src/main/java/org/springframework/flex/core/EndpointConfigProcessor.java:[48,39] generics are not supported in -source 1.3
(use -source 5 or higher to enable generics)
public EndpointConfigProcessor(List<EndpointAdvisor> advisors) {
Any ideas how to get this running would be appreciated.
[INFO] ------------------------------------------------------------------------
[INFO] Building Spring BlazeDS Integration Test Drive Web Application
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://repository.sonatype.org/content/groups/public/org/springframework/flex/spring-flex/1.0.0.RELEASE/spring-flex-1.0.0.RELEASE.pom
Downloading: http://maven.ow2.org/maven2//org/springframework/flex/spring-flex/1.0.0.RELEASE/spring-flex-1.0.0.RELEASE.pom
Downloading: http://repo1.maven.org/maven2/org/springframework/flex/spring-flex/1.0.0.RELEASE/spring-flex-1.0.0.RELEASE.pom
Downloading: http://repository.sonatype.org/content/groups/public/org/springframework/flex/spring-flex/1.0.0.RELEASE/spring-flex-1.0.0.RELEASE.jar
Downloading: http://maven.ow2.org/maven2//org/springframework/flex/spring-flex/1.0.0.RELEASE/spring-flex-1.0.0.RELEASE.jar
Downloading: http://repo1.maven.org/maven2/org/springframework/flex/spring-flex/1.0.0.RELEASE/spring-flex-1.0.0.RELEASE.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.springframework.flex:spring-flex:jar:1.0.0.RELEASE
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.springframework.flex -DartifactId=spring-flex -Dversion=1.0.0.RELEASE -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.springframework.flex -DartifactId=spring-flex -Dversion=1.0.0.RELEASE -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.springframework.flex.samples:testdrive:war:1.0 .0.RELEASE
2) org.springframework.flex:spring-flex:jar:1.0.0.RELEASE
----------
1 required artifact is missing.
for artifact:
org.springframework.flex.samples:testdrive:war:1.0 .0.RELEASE
from the specified remote repositories:
flex-mojos-repository (http://repository.sonatype.org/content/groups/public),
central (http://repo1.maven.org/maven2),
ObjectWEB (http://maven.ow2.org/maven2/)
Following these instructions I manually installed the org.springframework.flex.jar file from the dist directory, but ran into another compile error afterwards about some unresolvable blazeds classes.
So I decided to build the main project hoping that maven would pull in all blazeds dependencies. In the directory
spring-flex-1.0.0.RELEASE/projects/org.springframework.flex
I ran 'maven install' and got tons of errors about 1.3 source compliance and annotations, e.g.:
/home/spod/frameworks/spring-flex-1.0.0.RELEASE/projects/org.springframework.flex/src/main/java/org/springframework/flex/core/EndpointConfigProcessor.java:[48,39] generics are not supported in -source 1.3
(use -source 5 or higher to enable generics)
public EndpointConfigProcessor(List<EndpointAdvisor> advisors) {
Any ideas how to get this running would be appreciated.