Feb 28th, 2011, 12:59 AM
Maven missing artifact: spring-flex-core
I was pulled off my work on the Roo-Flex work I chimed in a while back. Glad to hear of the progress made by others in this area. I am using the following environment:
Mac OS X 10.6.6
Per post on Feb 4 by Jeremy, I tried tweaking the pom.xml file, yet I continue to get the following:
2/27/11 10:18:30 PM PST: Missing artifact org.springframework.flex:spring-flex-core:jar:1.5.0.BUILD-SNAPSHOT:compile
2/27/11 10:18:30 PM PST: Missing artifact org.springframework.flex.roo.addon:org.springframe work.flex.roo.annotations:jar:1.0.0.BUILD-SNAPSHOT:compile
Is this an environment setup I am missing or is this a missing dependency in my pom.xml file?
Mar 30th, 2011, 03:08 PM
Hi, I'm having exact;y the same issue. Did you ever find a resolution?
Mar 30th, 2011, 03:17 PM
spring-foo-flex setup on STS 2.5.2
geordieracer, I was pulled off again, but left the project in an unstable condition. Though I was able to pull off an initial full build from scratch, I could not replicate the setup more than once. I believe in the build, tear down, build again paradigm so that I can show others what was done. Unfortunately, when we use bleeding edge libraries, we are going to come across this. I hope to get back at the use of the STS-spring-roo-flex setup tomorrow. Let us (the general community) if you find yourself in a state that can be published for general consumption.... Cheers!
Mar 31st, 2011, 03:21 AM
amercado, the wuick solution for me was to add the folopwing repository to the roo project pom.xml to pick up the snapshot builds
<name>Spring Maven Snapshot Repository</name>
The project now build correectly. My only remaining issue is that I can't deploy it to the Springsource tc server! See post below
Apr 14th, 2011, 08:19 PM
Can anybody tell me what is the latest stable known configuration that works with STS 2.6?
I cannot get to work STS 2.6 with Spring Roo and the snapshot build of flex plugin...
May 16th, 2011, 11:15 AM
I've personally given up on the roo flex addon ever becoming a stable usable product that's kept inline with the roo releases.
Perhaps now roo has CI the addon can be brought back into the fold?
May 17th, 2011, 09:59 AM
1.1.4 was released today, seems like the perfect time to update to flex plugin non?
Anyways I've created a thread with a poll:
May 31st, 2011, 01:11 PM
Further changes were required to bring the addon into line with Spring Roo 1.1.1.RELEASE. These changes are available as of tonight's snapshot (http://maven.springframework.org/sna...075648-225.jar) and going forward. Many thanks to Thomas Fowler for supplying a patch that served as the foundation for this update.
I found there is some problem with this patch with Spring Roo 1.1.1.Release. My persistence layer is using Oracle with Hibernate.
First problem, pom.xml is using spring-flex-core.1.5.0.BUILD-SNAPSHOT, and it will complain the jar is missing, so I have to change it back to spring-flex-core.1.5.0.M1.
Second problem, I found I could not be able to add a new record from GUI. Got "org.hibernate.PersistentObjectException: detached entity passed to persist:" error.
but I don't the same problems with flex addon 1.0.0.M1 with Spring Roo 1.1.0.M1.
Does anyone has the same problem, or I missed something?
May 31st, 2011, 02:34 PM
Ok, I resolved my problem.
I need add
<name>Springframework Maven SNAPSHOT Repository</name>
to pom.xml, this resolved all the problems.
Jun 4th, 2011, 03:10 PM
Originally Posted by xiongfeng17
Thank you very much for the kind words. I'm very glad I could help with the patch and I would be happy to continue contributing to the development of the flex add-on.